Crossfire Server, Trunk  R20805
Map layers

Macros

#define MAP_LAYER_FLOOR   0
 
#define MAP_LAYER_FLY1   8
 
#define MAP_LAYER_FLY2   9
 
#define MAP_LAYER_ITEM1   3
 
#define MAP_LAYER_ITEM2   4
 
#define MAP_LAYER_ITEM3   5
 
#define MAP_LAYER_LIVING1   6
 
#define MAP_LAYER_LIVING2   7
 
#define MAP_LAYER_NO_PICK1   1
 
#define MAP_LAYER_NO_PICK2   2
 

Detailed Description

Macro Definition Documentation

◆ MAP_LAYER_FLOOR

#define MAP_LAYER_FLOOR   0

Definition at line 40 of file map.h.

Referenced by update_position().

◆ MAP_LAYER_FLY1

#define MAP_LAYER_FLY1   8

Flying objects - creatures, spells

Definition at line 48 of file map.h.

Referenced by update_position().

◆ MAP_LAYER_FLY2

#define MAP_LAYER_FLY2   9

Arrows, etc

Definition at line 49 of file map.h.

Referenced by check_probe(), and update_position().

◆ MAP_LAYER_ITEM1

#define MAP_LAYER_ITEM1   3

Items that can be picked up

Definition at line 43 of file map.h.

Referenced by update_position().

◆ MAP_LAYER_ITEM2

#define MAP_LAYER_ITEM2   4

Definition at line 44 of file map.h.

◆ MAP_LAYER_ITEM3

#define MAP_LAYER_ITEM3   5

Definition at line 45 of file map.h.

Referenced by update_position().

◆ MAP_LAYER_LIVING1

#define MAP_LAYER_LIVING1   6

Living creatures

Definition at line 46 of file map.h.

Referenced by draw_client_map2(), and update_position().

◆ MAP_LAYER_LIVING2

#define MAP_LAYER_LIVING2   7

Definition at line 47 of file map.h.

Referenced by draw_client_map2(), and update_position().

◆ MAP_LAYER_NO_PICK1

#define MAP_LAYER_NO_PICK1   1

Non pickable ground objects

Definition at line 41 of file map.h.

Referenced by update_position().

◆ MAP_LAYER_NO_PICK2

#define MAP_LAYER_NO_PICK2   2

Non pickable ground objects

Definition at line 42 of file map.h.

Referenced by update_position().