Crossfire Server, Branches 1.12
R18729
|
Macros | |
#define | INS_ABOVE_FLOOR_ONLY 0x0002 |
#define | INS_BELOW_ORIGINATOR 0x0010 |
#define | INS_MAP_LOAD 0x0020 |
#define | INS_NO_MERGE 0x0001 |
#define | INS_NO_WALK_ON 0x0004 |
#define | INS_ON_TOP 0x0008 |
These are flags passed to insert_ob_in_map() and insert_ob_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.
#define INS_ABOVE_FLOOR_ONLY 0x0002 |
Definition at line 395 of file object.h.
Referenced by apply_builder_item(), apply_builder_wall(), apply_builder_window(), fix_multipart_object(), fix_walls(), insert_ob_in_map(), load_objects(), and START_TEST().
#define INS_BELOW_ORIGINATOR 0x0010 |
Definition at line 398 of file object.h.
Referenced by apply_builder_floor(), cast_consecrate(), cast_create_obj(), handle_apply_yield(), insert_ob_in_map(), place_alchemy_objects(), replace_insert_ob_in_map(), START_TEST(), treasure_type_apply(), and write_mark().
#define INS_MAP_LOAD 0x0020 |
Definition at line 399 of file object.h.
Referenced by insert_ob_in_map(), and load_objects().
#define INS_NO_MERGE 0x0001 |
Definition at line 394 of file object.h.
Referenced by apply_container(), explode_bullet(), fix_multipart_object(), hit_with_arrow(), insert_multisquare_ob_in_map(), insert_ob_in_map(), load_objects(), make_map_floor(), make_map_walls(), pick_up(), polymorph_item(), put_floor(), put_treasure(), and retrofit_joined_wall().
#define INS_NO_WALK_ON 0x0004 |
Definition at line 396 of file object.h.
Referenced by enter_map(), explode_bullet(), fix_multipart_object(), hit_with_arrow(), insert_multisquare_ob_in_map(), insert_ob_in_map(), load_objects(), make_map_floor(), make_map_walls(), polymorph_item(), put_floor(), put_treasure(), and retrofit_joined_wall().
#define INS_ON_TOP 0x0008 |
Definition at line 397 of file object.h.
Referenced by apply_builder_floor(), and load_objects().