Atrinik Server  4.0
Macros
Terrain type flags

Macros

#define TERRAIN_NOTHING   0
 
#define TERRAIN_AIRBREATH   1
 
#define TERRAIN_WATERWALK   2
 
#define TERRAIN_WATERBREATH   4
 
#define TERRAIN_FIREWALK   8
 
#define TERRAIN_FIREBREATH   16
 
#define TERRAIN_CLOUDWALK   32
 
#define TERRAIN_WATER_SHALLOW   64
 
#define TERRAIN_ALL   0xffff
 

Detailed Description

Terrain type flags These values are used from terrain_type and terrain_flag Arches without terrain flags become AIRBREATH as default. These values also define the environment of the map tile position

Macro Definition Documentation

#define TERRAIN_AIRBREATH   1

Walk on earth.

Definition at line 678 of file define.h.

#define TERRAIN_ALL   0xffff

Used in blocked() when we only want know about blocked by something.

Definition at line 692 of file define.h.

#define TERRAIN_CLOUDWALK   32

Move "on clouds" in the air - not flying.

Definition at line 688 of file define.h.

#define TERRAIN_FIREBREATH   16

You can move in fire environment (fire elemental dimension, hell, ...)

Definition at line 686 of file define.h.

#define TERRAIN_FIREWALK   8

Walk over lava or fire,

Definition at line 684 of file define.h.

#define TERRAIN_NOTHING   0

No terrain.

Definition at line 676 of file define.h.

#define TERRAIN_WATER_SHALLOW   64

Shallow water.

Definition at line 690 of file define.h.

#define TERRAIN_WATERBREATH   4

You can move underwater and on land.

Definition at line 682 of file define.h.

#define TERRAIN_WATERWALK   2

Walk on water - deep water too.

Definition at line 680 of file define.h.