version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_player_h = | | * static char *rcsid_player_h = |
* "$Id: player.h,v 1.7 2000/11/14 22:47:41 avogl Exp $"; | | * "$Id: player.h,v 1.8 2000/12/04 00:40:04 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#define WINLEFT (-5) | | #define WINLEFT (-5) |
#define WINRIGHT 5 | | #define WINRIGHT 5 |
| | |
#define MAX_NAME 16 /* Max length of character name */ | | /* this is already in define.h */ |
| | /*#define MAX_NAME 16*/ /* Max length of character name */ |
| | |
| | |
typedef enum rangetype { | | typedef enum rangetype { |
| | |
unsigned char has_hit; /* If set, weapon_sp instead of speed will count */ | | unsigned char has_hit; /* If set, weapon_sp instead of speed will count */ |
float weapon_sp; /* Penalties to speed when fighting w speed >ws/10*/ | | float weapon_sp; /* Penalties to speed when fighting w speed >ws/10*/ |
float last_weapon_sp; /* Last turn */ | | float last_weapon_sp; /* Last turn */ |
signed char last_armour; /* Last turn */ | | |
uint16 last_flags; /* fire/run on flags for last tick */ | | uint16 last_flags; /* fire/run on flags for last tick */ |
uint32 last_weight_limit; /* Last weight limit transmitted to client */ | | uint32 last_weight_limit; /* Last weight limit transmitted to client */ |
short shootstrength; /* Strength of spell */ | | short shootstrength; /* Strength of spell */ |
| | |
float last_speed; | | float last_speed; |
signed long last_value; /* Same usage as last_stats */ | | signed long last_value; /* Same usage as last_stats */ |
long last_weight; | | long last_weight; |
| | sint16 last_resist[NROFATTACKS]; /* last resist values sent to client */ |
| | |
#ifdef USE_SWAP_STATS | | #ifdef USE_SWAP_STATS |
int Swap_First; | | int Swap_First; |