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.76 by root, Wed Apr 23 07:25:54 2008 UTC vs.
Revision 1.77 by root, Wed Apr 30 06:40:28 2008 UTC

146 146
147 sint8 ACC (RW, levhp[11]); /* What the player gained on that level */ 147 sint8 ACC (RW, levhp[11]); /* What the player gained on that level */
148 sint8 ACC (RW, levsp[11]); /* Same for sp */ 148 sint8 ACC (RW, levsp[11]); /* Same for sp */
149 sint8 ACC (RW, levgrace[11]); /* And same for grace */ 149 sint8 ACC (RW, levgrace[11]); /* And same for grace */
150 150
151 char ACC (RW, killer)[64]; /* Who killed this player. */ 151 object_ptr ACC (RW, killer); /* Who last tried to kill this player (this object is usually destroyed) */
152 152
153 char write_buf[MAX_BUF]; /* Holds arbitrary input from client */ /* should go */ 153 char write_buf[MAX_BUF]; /* Holds arbitrary input from client */ /* should go */
154 char ACC (RW, password)[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */ 154 char ACC (RW, password)[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */
155 155
156 partylist *ACC (RW, party); /* Party this player is part of */ 156 partylist *ACC (RW, party); /* Party this player is part of */
170 /* the player can see. For maps smaller than */ 170 /* the player can see. For maps smaller than */
171 /* MAP_CLIENT_.., the upper left is used */ 171 /* MAP_CLIENT_.., the upper left is used */
172 172
173 shstr ACC (RW, invis_race); /* What race invisible to? */ 173 shstr ACC (RW, invis_race); /* What race invisible to? */
174 174
175 MTH const char *killer_name () const; // makes a string out of ->killer
176
175 MTH static player *create (); 177 MTH static player *create ();
176 static player *find (const_utf8_string name); 178 static player *find (const_utf8_string name);
177 179
178 static player *load_pl (object_thawer &thawer); 180 static player *load_pl (object_thawer &thawer);
179 MTH static player *load_pl (object_thawer *thawer) { return load_pl (*thawer); } 181 MTH static player *load_pl (object_thawer *thawer) { return load_pl (*thawer); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines