Atrinik Server  4.0
Macros
Layer types

Macros

#define LAYER_SYS   0
 
#define LAYER_FLOOR   1
 
#define LAYER_FMASK   2
 
#define LAYER_ITEM   3
 
#define LAYER_ITEM2   4
 
#define LAYER_WALL   5
 
#define LAYER_LIVING   6
 
#define LAYER_EFFECT   7
 

Detailed Description

The layer types used for different objects.

Macro Definition Documentation

#define LAYER_EFFECT   7

Spell effects.

Definition at line 61 of file map.h.

#define LAYER_FLOOR   1

Floor.

Definition at line 49 of file map.h.

#define LAYER_FMASK   2

Floor masks.

Definition at line 51 of file map.h.

#define LAYER_ITEM   3

Items: weapons, armour, books, etc.

Definition at line 53 of file map.h.

#define LAYER_ITEM2   4

Another layer for items, often decoration.

Definition at line 55 of file map.h.

#define LAYER_LIVING   6

Living objects like players and monsters.

Definition at line 59 of file map.h.

#define LAYER_SYS   0

System objects.

Definition at line 47 of file map.h.

#define LAYER_WALL   5

Walls.

Definition at line 57 of file map.h.