ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/player.h
(Generate patch)

Comparing deliantra/server/include/player.h (file contents):
Revision 1.6 by root, Sat Aug 26 08:44:06 2006 UTC vs.
Revision 1.9 by root, Tue Aug 29 07:33:58 2006 UTC

1/* 1/*
2 * static char *rcsid_player_h = 2 * static char *rcsid_player_h =
3 * "$Id: player.h,v 1.6 2006/08/26 08:44:06 root Exp $"; 3 * "$Id: player.h,v 1.9 2006/08/29 07:33:58 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
205 Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */ 205 Output_Buf outputs[NUM_OUTPUT_BUFS]; /* holds output strings to client */
206 uint16 outputs_sync; /* How often to print, no matter what */ 206 uint16 outputs_sync; /* How often to print, no matter what */
207 uint16 outputs_count; /* Print if this count is exceeded */ 207 uint16 outputs_count; /* Print if this count is exceeded */
208 object *mark; /* marked object */ 208 object *mark; /* marked object */
209 uint32 mark_count; /* count of mark object */ 209 uint32 mark_count; /* count of mark object */
210 object *transport; /* transport the player is in */
211 /* Special DM fields */ 210 /* Special DM fields */
212 tag_t* stack_items; /* Item stack for patch/dump/... commands */ 211 tag_t* stack_items; /* Item stack for patch/dump/... commands */
213 int stack_position; /* Current stack position, 0 for no item */ 212 int stack_position; /* Current stack position, 0 for no item */
214}; 213};
215 214
216typedef struct pl : extendable<struct pl>, player_memset 215typedef struct pl : player_memset, attachable<struct pl>
217{ 216{
218 data_type get_dt () const { return DT_PLAYER; } 217 static data_type get_dt () { return DT_PLAYER; }
219 218
220 struct pl *next; /* Pointer to next player, NULL if this is last */ 219 struct pl *next; /* Pointer to next player, NULL if this is last */
221 NewSocket socket; /* Socket information for this player */ 220 NewSocket socket; /* Socket information for this player */
222} player; 221} player;
223 222

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines