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.37 by root, Sat Dec 30 21:15:59 2006 UTC vs.
Revision 1.38 by root, Sun Dec 31 10:28:36 2006 UTC

88 /* that need to be unapplied, there is no way for the player */ 88 /* that need to be unapplied, there is no way for the player */
89 /* to control which of these will be unapplied. */ 89 /* to control which of these will be unapplied. */
90}; 90};
91 91
92/* not really the player, but tied pretty closely */ 92/* not really the player, but tied pretty closely */
93INTERFACE_CLASS (partylist)
93struct partylist 94struct partylist
94{ 95{
95 char *partyleader; 96 char *ACC (RW, partyleader);
96 char passwd[9]; 97 char ACC (RW, passwd)[9];
97 partylist *next; 98 partylist *ACC (RW, next);
98 char *partyname; 99 char *ACC (RW, partyname);
99 100
100#ifdef PARTY_KILL_LOG
101 struct party_kill 101 struct party_kill
102 { 102 {
103 char killer[MAX_NAME + 1], dead[MAX_NAME + 1]; 103 char killer[MAX_NAME + 1], dead[MAX_NAME + 1];
104 sint64 exp; 104 sint64 exp;
105 } party_kills[PARTY_KILL_LOG]; 105 } party_kills[PARTY_KILL_LOG];
106#endif 106
107 sint64 total_exp; 107 sint64 ACC (RW, total_exp);
108 uint32 kills; 108 uint32 ACC (RW, kills);
109}; 109};
110 110
111#define for_all_players(var) for (player *var = first_player; var; var = var->next) 111#define for_all_players(var) for (player *var = first_player; var; var = var->next)
112 112
113INTERFACE_CLASS (player) 113INTERFACE_CLASS (player)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines