1 | /* |
1 | /* |
2 | * static char *rcsid_player_h = |
2 | * static char *rcsid_player_h = |
3 | * "$Id: player.h,v 1.7 2006/08/27 16:15:12 root Exp $"; |
3 | * "$Id: player.h,v 1.8 2006/08/27 17:59:26 root Exp $"; |
4 | */ |
4 | */ |
5 | |
5 | |
6 | /* |
6 | /* |
7 | CrossFire, A Multiplayer game for X-windows |
7 | CrossFire, A Multiplayer game for X-windows |
8 | |
8 | |
… | |
… | |
211 | /* Special DM fields */ |
211 | /* Special DM fields */ |
212 | tag_t* stack_items; /* Item stack for patch/dump/... commands */ |
212 | tag_t* stack_items; /* Item stack for patch/dump/... commands */ |
213 | int stack_position; /* Current stack position, 0 for no item */ |
213 | int stack_position; /* Current stack position, 0 for no item */ |
214 | }; |
214 | }; |
215 | |
215 | |
216 | typedef struct pl : player_memset, extendable<struct pl> |
216 | typedef struct pl : player_memset, attachable<struct pl> |
217 | { |
217 | { |
218 | static data_type get_dt () { return DT_PLAYER; } |
218 | static data_type get_dt () { return DT_PLAYER; } |
219 | |
219 | |
220 | struct pl *next; /* Pointer to next player, NULL if this is last */ |
220 | struct pl *next; /* Pointer to next player, NULL if this is last */ |
221 | NewSocket socket; /* Socket information for this player */ |
221 | NewSocket socket; /* Socket information for this player */ |