Atrinik Server  4.0
Macros
Player animation flags

Macros

#define PLAYER_AFLAG_FIGHT   1
 
#define PLAYER_AFLAG_ENEMY   2
 
#define PLAYER_AFLAG_ADDFRAME   4
 

Detailed Description

Macro Definition Documentation

#define PLAYER_AFLAG_ADDFRAME   4

Whether to add an extra frame to do one more swing animation.

Definition at line 85 of file player.h.

#define PLAYER_AFLAG_ENEMY   2

If set at the end of an animation, set fighting flag and clear this flag. It is set in attack_ob_simple() when the player swings at an enemy.

Definition at line 83 of file player.h.

#define PLAYER_AFLAG_FIGHT   1

If set, show fighting animation.

Definition at line 77 of file player.h.