Crossfire Server, Trunk  1.75.0
Object insertion flags.

These are flags passed to object_insert_in_map() and object_insert_in_ob(). Note that all flags may not be meaningful for both functions. Most are fairly explanatory: More...

Macros

#define INS_ABOVE_FLOOR_ONLY   0x0002
 Put object immediatly above the floor. More...
 
#define INS_BELOW_ORIGINATOR   0x0010
 Insert new object immediately below originator. More...
 
#define INS_MAP_LOAD   0x0020
 Disable lots of checkings. More...
 
#define INS_NO_MERGE   0x0001
 Don't try to merge with other items. More...
 
#define INS_NO_WALK_ON   0x0004
 Don't call check_walk_on against the originator. More...
 
#define INS_ON_TOP   0x0008
 Always put object on top. More...
 

Detailed Description

These are flags passed to object_insert_in_map() and object_insert_in_ob(). Note that all flags may not be meaningful for both functions. Most are fairly explanatory:

Note that INS_BELOW_ORIGINATOR, INS_ON_TOP, INS_ABOVE_FLOOR_ONLY are mutually exclusive. The behaviour for passing more than one should be considered undefined - while you may notice what happens right now if you pass more than one, that could very well change in future revisions of the code.

Macro Definition Documentation

◆ INS_ABOVE_FLOOR_ONLY

#define INS_ABOVE_FLOOR_ONLY   0x0002

Put object immediatly above the floor.

Definition at line 581 of file object.h.

◆ INS_BELOW_ORIGINATOR

#define INS_BELOW_ORIGINATOR   0x0010

Insert new object immediately below originator.

Definition at line 584 of file object.h.

◆ INS_MAP_LOAD

#define INS_MAP_LOAD   0x0020

Disable lots of checkings.

Definition at line 585 of file object.h.

◆ INS_NO_MERGE

#define INS_NO_MERGE   0x0001

Don't try to merge with other items.

Definition at line 580 of file object.h.

◆ INS_NO_WALK_ON

#define INS_NO_WALK_ON   0x0004

Don't call check_walk_on against the originator.

Definition at line 582 of file object.h.

◆ INS_ON_TOP

#define INS_ON_TOP   0x0008

Always put object on top.

Definition at line 583 of file object.h.