Atrinik Server  4.0
Macros
Object insertion flags.

Macros

#define INS_NO_MERGE   1
 
#define INS_NO_WALK_ON   2
 
#define INS_FALL_THROUGH   4
 

Detailed Description

These are flags passed to object_insert_map() and object_insert_into(). Note that all flags may not be meaningful for both functions.

Macro Definition Documentation

#define INS_FALL_THROUGH   4

Fall through to the bottommost map. Will also take care of updating the object's sub-layer to be that of the floor tile with the highest Z.

Definition at line 575 of file object.h.

#define INS_NO_MERGE   1

Don't try to merge inserted object with ones already on space.

Definition at line 564 of file object.h.

#define INS_NO_WALK_ON   2

Don't call check_walk_on against the originator - saves CPU time if you know the inserted object is not meaningful in terms of having an effect.

Definition at line 570 of file object.h.