forked from oerkki/voxelands
style rectification
This commit is contained in:
parent
a988191ded
commit
91c624da27
76
src/player.h
76
src/player.h
|
@ -39,12 +39,12 @@
|
|||
#define PLAYERNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"
|
||||
#define PLAYER_DEFAULT_CHARDEF "M:10:10:fair:blue:brown:medium:human:green:blue:leather"
|
||||
|
||||
#define PLAYERANIM_STAND 0
|
||||
#define PLAYERANIM_WALK 1
|
||||
#define PLAYERANIM_DIG 2
|
||||
#define PLAYERANIM_STAND 0
|
||||
#define PLAYERANIM_WALK 1
|
||||
#define PLAYERANIM_DIG 2
|
||||
#define PLAYERANIM_WALKDIG 3
|
||||
#define PLAYERANIM_DIE 4
|
||||
#define PLAYERANIM_SIT 5
|
||||
#define PLAYERANIM_DIE 4
|
||||
#define PLAYERANIM_SIT 5
|
||||
|
||||
/*
|
||||
Animation Indices
|
||||
|
@ -56,44 +56,44 @@
|
|||
Dig/Walk 200-219
|
||||
*/
|
||||
|
||||
#define PLAYERFLAG_HOME -1
|
||||
#define PLAYERFLAG_WHITE 0
|
||||
#define PLAYERFLAG_BLUE 1
|
||||
#define PLAYERFLAG_GREEN 2
|
||||
#define PLAYERFLAG_HOME -1
|
||||
#define PLAYERFLAG_WHITE 0
|
||||
#define PLAYERFLAG_BLUE 1
|
||||
#define PLAYERFLAG_GREEN 2
|
||||
#define PLAYERFLAG_ORANGE 3
|
||||
#define PLAYERFLAG_PURPLE 4
|
||||
#define PLAYERFLAG_RED 5
|
||||
#define PLAYERFLAG_RED 5
|
||||
#define PLAYERFLAG_YELLOW 6
|
||||
#define PLAYERFLAG_BLACK 7
|
||||
#define PLAYERFLAG_COUNT 8
|
||||
#define PLAYERFLAG_JUMP PLAYERFLAG_COUNT
|
||||
#define PLAYERFLAG_BLACK 7
|
||||
#define PLAYERFLAG_COUNT 8
|
||||
#define PLAYERFLAG_JUMP PLAYERFLAG_COUNT
|
||||
|
||||
#define PLAYER_FEET 0x01
|
||||
#define PLAYER_LLEG 0x02
|
||||
#define PLAYER_RLEG 0x04
|
||||
#define PLAYER_TORSO 0x08
|
||||
#define PLAYER_HANDS 0x10
|
||||
#define PLAYER_LARM 0x20
|
||||
#define PLAYER_RARM 0x40
|
||||
#define PLAYER_HEAD 0x80
|
||||
#define PLAYER_ALL 0xFF
|
||||
#define PLAYER_FEET 0x01
|
||||
#define PLAYER_LLEG 0x02
|
||||
#define PLAYER_RLEG 0x04
|
||||
#define PLAYER_TORSO 0x08
|
||||
#define PLAYER_HANDS 0x10
|
||||
#define PLAYER_LARM 0x20
|
||||
#define PLAYER_RARM 0x40
|
||||
#define PLAYER_HEAD 0x80
|
||||
#define PLAYER_ALL 0xFF
|
||||
|
||||
#define DAMAGE_NONE 0x00
|
||||
#define DAMAGE_UNKNOWN 0x01
|
||||
#define DAMAGE_FALL 0x02
|
||||
#define DAMAGE_EXPOSURE 0x03
|
||||
#define DAMAGE_COLD 0x04
|
||||
#define DAMAGE_ATTACK 0x05
|
||||
#define DAMAGE_SPACE 0x06
|
||||
#define DAMAGE_HUNGER 0x07
|
||||
#define DAMAGE_AIR 0x08
|
||||
#define DAMAGE_LAVA 0x09
|
||||
#define DAMAGE_CACTUS 0x0A
|
||||
#define DAMAGE_FIRE 0x0B
|
||||
#define DAMAGE_TNT 0x0C
|
||||
#define DAMAGE_STEAM 0x0D
|
||||
#define DAMAGE_POISON 0x0E
|
||||
#define DAMAGE_SHADOW 0x0F
|
||||
#define DAMAGE_NONE 0x00
|
||||
#define DAMAGE_UNKNOWN 0x01
|
||||
#define DAMAGE_FALL 0x02
|
||||
#define DAMAGE_EXPOSURE 0x03
|
||||
#define DAMAGE_COLD 0x04
|
||||
#define DAMAGE_ATTACK 0x05
|
||||
#define DAMAGE_SPACE 0x06
|
||||
#define DAMAGE_HUNGER 0x07
|
||||
#define DAMAGE_AIR 0x08
|
||||
#define DAMAGE_LAVA 0x09
|
||||
#define DAMAGE_CACTUS 0x0A
|
||||
#define DAMAGE_FIRE 0x0B
|
||||
#define DAMAGE_TNT 0x0C
|
||||
#define DAMAGE_STEAM 0x0D
|
||||
#define DAMAGE_POISON 0x0E
|
||||
#define DAMAGE_SHADOW 0x0F
|
||||
|
||||
class Map;
|
||||
|
||||
|
|
Loading…
Reference in New Issue