Crossfire Server, Branches 1.12
R18729
|
Macros | |
#define | AB_NO_PASS 0x04 |
#define | P_BLOCKSVIEW 0x01 |
#define | P_IS_ALIVE 0x10 |
#define | P_NEED_UPDATE 0x40 |
#define | P_NEW_MAP 0x200 |
#define | P_NO_CLERIC 0x20 |
#define | P_NO_ERROR 0x80 |
#define | P_NO_MAGIC 0x02 |
#define | P_OUT_OF_MAP 0x100 |
#define | P_PLAYER 0x08 |
These are used in the MapLook flags element. They are not used in in the object flags structure.
#define AB_NO_PASS 0x04 |
Definition at line 256 of file map.h.
Referenced by find_free_spot(), and ob_blocked().
#define P_BLOCKSVIEW 0x01 |
This spot blocks the player's view.
Definition at line 247 of file map.h.
Referenced by can_see_monsterP(), check_wall(), dimension_door(), expand_sight(), hideability(), magic_mapping_mark(), magic_mapping_mark_recursive(), pick_arrow_target(), spell_find_dir(), update_object(), and update_position().
#define P_IS_ALIVE 0x10 |
Something alive is on this space.
Definition at line 258 of file map.h.
Referenced by blocked_link(), cast_cause_disease(), cast_destruction(), cast_light(), cast_transfer(), check_bullet(), check_infection(), common_process_projectile(), dimension_door(), find_closest_monster(), find_dir(), find_monster_in_room_recursive(), find_nearest_living_creature(), get_pet_enemy(), get_pointed_target(), magic_wall(), mood_change(), move_ball_spell(), move_bolt(), move_missile(), npc_call_help(), ob_blocked(), path_to_player(), pick_arrow_target(), probe(), remove_adjacent_doors(), roll_ob(), singing(), skill_attack(), steal(), update_object(), update_position(), and use_oratory().
#define P_NEED_UPDATE 0x40 |
This space is out of date.
Definition at line 260 of file map.h.
Referenced by cfapi_object_set_property(), do_turn(), draw_client_map(), insert_ob_in_ob(), remove_ob(), update_object(), and update_position().
#define P_NEW_MAP 0x200 |
Coordinates passed result in a new tiled map.
Definition at line 273 of file map.h.
Referenced by draw_client_map(), and get_map_flags().
#define P_NO_CLERIC 0x20 |
No clerical spells cast here.
Definition at line 259 of file map.h.
Referenced by cast_spell(), command_save(), execute_word_of_recall(), get_pointed_target(), process_players1(), update_object(), and update_position().
#define P_NO_ERROR 0x80 |
Purely temporary - if set, update_position does not complain if the flags are different.
Definition at line 261 of file map.h.
Referenced by update_object(), and update_position().
#define P_NO_MAGIC 0x02 |
Spells (some) can't pass this object
Definition at line 248 of file map.h.
Referenced by alchemy(), armour_improver_type_apply(), cast_polymorph(), cast_spell(), dimension_door(), get_pointed_target(), probe(), spell_failure(), update_object(), update_position(), and weapon_improver_type_apply().
#define P_OUT_OF_MAP 0x100 |
This space is outside the map.
Definition at line 272 of file map.h.
Referenced by alchemy(), animate_weapon(), attempt_jump(), can_see_monsterP(), cast_cause_disease(), cast_cone(), cast_create_obj(), cast_destruction(), cast_detection(), cast_earth_to_dust(), cast_light(), cast_polymorph(), cast_raise_dead_spell(), cast_transfer(), cfapi_map_get_object_at(), check_infection(), check_wall(), common_process_projectile(), communicate(), counterspell(), create_bomb(), dimension_door(), dispel_rune(), do_harvest(), do_skill_ident(), do_throw(), draw_client_map(), expand_lighted_sight(), expand_sight(), find_dir(), find_multi_free_spot_within_radius(), find_nearest_living_creature(), find_target_for_friendly_spell(), find_traps(), fire_arch_from_position(), fire_bolt(), fire_bow(), fire_bullet(), forklightning(), get_map_flags(), get_pet_enemy(), get_pointed_target(), hideability(), hit_map(), magic_mapping_mark(), magic_mapping_mark_recursive(), magic_wall(), Map_Check(), mood_change(), move_aura(), move_ball_spell(), move_bolt(), move_bullet(), move_golem(), move_missile(), move_ob(), move_player_mover(), move_swarm_spell(), move_to(), npc_call_help(), ob_blocked(), ok_to_put_more(), path_to_player(), pet_move(), pick_arrow_target(), probe(), remove_adjacent_doors(), remove_trap(), roll_ob(), singing(), skill_attack(), spell_find_dir(), stand_in_light(), stand_near_hostile(), steal(), teleport(), try_fit(), and use_oratory().
#define P_PLAYER 0x08 |
There is a player on this space
Definition at line 257 of file map.h.
Referenced by update_object(), and update_position().