Crossfire Server, Trunk  R20513
Macros
Square flags.

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

Macros

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

Detailed Description

These are used in the MapLook flags element.

They are not used in in the object flags structure.

Macro Definition Documentation

#define AB_NO_PASS   0x04

Definition at line 235 of file map.h.

Referenced by ob_blocked(), and object_find_free_spot().

#define P_BLOCKSVIEW   0x01
#define P_IS_ALIVE   0x10
#define P_NEED_UPDATE   0x40

This space is out of date.

Definition at line 239 of file map.h.

Referenced by cfapi_object_set_property(), do_turn(), draw_client_map(), object_insert_in_ob(), object_remove(), object_update(), and update_position().

#define P_NEW_MAP   0x200

Coordinates passed result in a new tiled map.

Definition at line 252 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 238 of file map.h.

Referenced by cast_spell(), command_save(), execute_word_of_recall(), get_pointed_target(), object_update(), process_players1(), 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 240 of file map.h.

Referenced by object_update(), 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 236 of file map.h.

Referenced by object_update(), and update_position().