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.32 by root, Sat Dec 23 06:21:02 2006 UTC vs.
Revision 1.33 by root, Sat Dec 23 13:56:25 2006 UTC

106#endif 106#endif
107 sint64 total_exp; 107 sint64 total_exp;
108 uint32 kills; 108 uint32 kills;
109}; 109};
110 110
111#define for_all_players(var) for (player *var = first_player; var; var = var->next)
112
111ACC_CLASS (player) 113ACC_CLASS (player)
112
113struct player : zero_initialised, refcounted, attachable<player> 114struct player : zero_initialised, refcounted, attachable<player>
114{ 115{
115 player *ACC (RW, next); /* Pointer to next player, NULL if this is last */ 116 player *ACC (RW, next); /* Pointer to next player, NULL if this is last */
116 client *ACC (RO, ns); /* Socket information for this player */ 117 client *ACC (RO, ns); /* Socket information for this player */
117 object_ptr ACC (RW, ob); /* The object representing the player */ 118 object_ptr ACC (RW, ob); /* The object representing the player */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines