Crossfire Server, Branch 1.12  R12190
Defines
Square flags.

These are used in the MapLook flags element. More...

Defines

#define AB_NO_PASS   0x04
#define P_BLOCKSVIEW   0x01
 This spot blocks the player's view.
#define P_IS_ALIVE   0x10
 Something alive is on this space.
#define P_NEED_UPDATE   0x40
 This space is out of date.
#define P_NEW_MAP   0x200
 Coordinates passed result in a new tiled map.
#define P_NO_CLERIC   0x20
 No clerical spells cast here.
#define P_NO_ERROR   0x80
 Purely temporary - if set, update_position does not complain if the flags are different.
#define P_NO_MAGIC   0x02
 Spells (some) can't pass this object.
#define P_OUT_OF_MAP   0x100
 This space is outside the map.
#define P_PLAYER   0x08
 There is a player on this space.

Detailed Description

These are used in the MapLook flags element.

They are not used in in the object flags structure.


Define Documentation

#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
#define P_IS_ALIVE   0x10
#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 271 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
#define P_OUT_OF_MAP   0x100
#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().