version 1.38 | | version 1.39 |
---|
| | |
/* | | /* |
* static char *rcsid_player_h = | | * static char *rcsid_player_h = |
* "$Id: player.h,v 1.38 2005/07/16 19:03:02 qal21 Exp $"; | | * "$Id: player.h,v 1.39 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
#define NUM_OUTPUT_BUFS 5 | | #define NUM_OUTPUT_BUFS 5 |
typedef struct { | | typedef struct { |
char *buf; /* Actual string pointer */ | | const char *buf; /* Actual string pointer */ |
uint32 first_update; /* First time this message was stored */ | | uint32 first_update; /* First time this message was stored */ |
uint16 count; /* How many times we got this message */ | | uint16 count; /* How many times we got this message */ |
} Output_Buf; | | } Output_Buf; |
| | |
/* Try to put all the bitfields together - saves some small amount of memory */ | | /* Try to put all the bitfields together - saves some small amount of memory */ |
uint32 braced:1; /* Will not move if braced, only attack */ | | uint32 braced:1; /* Will not move if braced, only attack */ |
uint32 tmp_invis:1; /* Will invis go away when we attack ? */ | | uint32 tmp_invis:1; /* Will invis go away when we attack ? */ |
char *invis_race; /* What race invisible to? */ | | const char *invis_race;/* What race invisible to? */ |
uint32 do_los:1; /* If true, need to call update_los() in draw(), and clear */ | | uint32 do_los:1; /* If true, need to call update_los() in draw(), and clear */ |
uint32 fire_on:1; /* Player should fire object, not move */ | | uint32 fire_on:1; /* Player should fire object, not move */ |
uint32 run_on:1; /* Player should keep moving in dir until run is off */ | | uint32 run_on:1; /* Player should keep moving in dir until run is off */ |