version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_player_h = | | * static char *rcsid_player_h = |
* "$Id: player.h,v 1.5 1999/09/18 07:39:02 damn Exp $"; | | * "$Id: player.h,v 1.6 2000/04/22 07:16:40 cvs Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#endif | | #endif |
} rangetype; | | } rangetype; |
| | |
| | |
| | typedef enum usekeytype { |
| | key_inventory=0, |
| | keyrings=1, |
| | containers=2, |
| | } usekeytype; |
| | |
| | |
typedef struct pl { | | typedef struct pl { |
struct pl *next; /* Pointer to next player, NULL if this is last */ | | struct pl *next; /* Pointer to next player, NULL if this is last */ |
NewSocket socket; /* Socket information for this player */ | | NewSocket socket; /* Socket information for this player */ |
| | |
unsigned last_known_spell:1;/* What was last updated with draw_stats() */ | | unsigned last_known_spell:1;/* What was last updated with draw_stats() */ |
rangetype shoottype; /* Which range-attack is being used by player */ | | rangetype shoottype; /* Which range-attack is being used by player */ |
rangetype last_shoot; /* What was last updated with draw_stats() */ | | rangetype last_shoot; /* What was last updated with draw_stats() */ |
| | usekeytype usekeys; /* Method for finding keys for doors */ |
sint16 chosen_spell; /* Type of readied spell */ | | sint16 chosen_spell; /* Type of readied spell */ |
sint16 last_spell; /* What spell draw_stats() last displayed */ | | sint16 last_spell; /* What spell draw_stats() last displayed */ |
sint16 chosen_item_spell; /* Type of spell that the item fires */ | | sint16 chosen_item_spell; /* Type of spell that the item fires */ |