|
Crossfire Server
1.75.0
|
These are flags passed to object_insert_in_map() and object_insert_in_ob(). 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... | |
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.
| #define INS_ABOVE_FLOOR_ONLY 0x0002 |
Put object immediatly above the floor.
Definition at line 583 of file object.h.
Referenced by apply_builder_item(), apply_builder_wall(), apply_builder_window(), change_object(), find_insert_pos(), fix_walls(), load_objects(), object_fix_multipart(), and object_free().
| #define INS_BELOW_ORIGINATOR 0x0010 |
Insert new object immediately below originator.
Definition at line 586 of file object.h.
Referenced by apply_builder_floor(), apply_handle_yield(), cast_consecrate(), cast_create_obj(), do_harvest(), drop_object(), identify_object_with_skill(), move_creator(), object_insert_in_map(), object_replace_insert_in_map(), place_alchemy_objects(), treasure_type_apply(), and write_mark().
| #define INS_MAP_LOAD 0x0020 |
Disable lots of checkings.
Definition at line 587 of file object.h.
Referenced by load_objects(), and object_insert_in_map().
| #define INS_NO_MERGE 0x0001 |
Don't try to merge with other items.
Definition at line 582 of file object.h.
Referenced by apply_container(), change_object(), explode_bullet(), hit_with_arrow(), include_map_in_map(), load_objects(), make_map_floor(), make_map_walls(), object_fix_multipart(), object_insert_in_map(), pick_up(), place_monsters(), polymorph_item(), put_floor(), put_treasure(), and retrofit_joined_wall().
| #define INS_NO_WALK_ON 0x0004 |
Don't call check_walk_on against the originator.
Definition at line 584 of file object.h.
Referenced by apply_auto(), change_object(), enter_map(), explode_bullet(), hit_with_arrow(), include_map_in_map(), load_objects(), make_map_floor(), make_map_walls(), object_fix_multipart(), object_insert_in_map(), place_monsters(), polymorph_item(), put_floor(), put_treasure(), and retrofit_joined_wall().
| #define INS_ON_TOP 0x0008 |
Always put object on top.
Definition at line 585 of file object.h.
Referenced by apply_builder_floor(), cast_bless(), cast_change_ability(), cast_curse(), cast_heal(), eat_special_food(), find_insert_pos(), load_objects(), and potion_type_apply().