Atrinik Server  4.0
Macros
move_apply() function call flags

Macros

#define MOVE_APPLY_DEFAULT   0
 
#define MOVE_APPLY_WALK_ON   1
 
#define MOVE_APPLY_FLY_ON   2
 
#define MOVE_APPLY_WALK_OFF   4
 
#define MOVE_APPLY_FLY_OFF   8
 
#define MOVE_APPLY_MOVE   16
 
#define MOVE_APPLY_VANISHED   32
 
#define MOVE_APPLY_SAVING   64
 

Detailed Description

Macro Definition Documentation

#define MOVE_APPLY_MOVE   16

Our object makes a step in/out of this tile

Definition at line 54 of file object.h.

#define MOVE_APPLY_SAVING   64

move_apply() called from saving function

Definition at line 64 of file object.h.

#define MOVE_APPLY_VANISHED   32

When a player logs out, the player char not "move" out of a tile but it "turns to nothing on the spot". This sounds senseless but for example a move out can trigger a teleporter action. This flag prevents a logging out/exploding object is teleported after removing it from the spot.

Definition at line 62 of file object.h.