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.7 by root, Sun Aug 27 16:15:12 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.7 2006/08/27 16:15:12 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
216typedef struct pl : extendable<struct pl>, player_memset 216typedef struct pl : player_memset, extendable<struct pl>
217{ 217{
218 data_type get_dt () const { 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 */
222} player; 222} player;
223 223

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines