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.18 by root, Wed Sep 20 21:53:50 2006 UTC vs.
Revision 1.20 by root, Sat Dec 9 16:11:09 2006 UTC

118 maptile *loading; /* When entering a map in progress of loading, not really used */ 118 maptile *loading; /* When entering a map in progress of loading, not really used */
119 rangetype shoottype; /* Which range-attack is being used by player */ 119 rangetype shoottype; /* Which range-attack is being used by player */
120 bowtype_t bowtype; /* which firemode? */ 120 bowtype_t bowtype; /* which firemode? */
121 petmode_t petmode; /* which petmode? */ 121 petmode_t petmode; /* which petmode? */
122 object_ptr ranges[range_size]; /* object for each range. Set up in fix player. Note */ 122 object_ptr ranges[range_size]; /* object for each range. Set up in fix player. Note */
123 /* That not all are used, it is just nice to map this 1:1 */ 123 /* That not all are used, it is just nice to map this 1:1 */
124 /* With the range names */ 124 /* With the range names */
125 uint32 ACC (RW, golem_count); /* To track the golem */
126 usekeytype usekeys; /* Method for finding keys for doors */ 125 usekeytype usekeys; /* Method for finding keys for doors */
127 unapplymode unapply; /* Method for auto unapply */ 126 unapplymode unapply; /* Method for auto unapply */
128 uint32 ACC (RW, count); /* Any numbers typed before a command */ 127 uint32 ACC (RW, count); /* Any numbers typed before a command */
129 uint32 ACC (RW, mode); /* Mode of player for pickup. */ 128 uint32 ACC (RW, mode); /* Mode of player for pickup. */
130 129
175 char ACC (RW, maplevel)[MAX_BUF]; /* On which level is the player? */ 174 char ACC (RW, maplevel)[MAX_BUF]; /* On which level is the player? */
176 char ACC (RW, spellparam)[MAX_BUF]; /* What param to add to spells */ 175 char ACC (RW, spellparam)[MAX_BUF]; /* What param to add to spells */
177 176
178 char ACC (RW, own_title)[MAX_NAME]; /* Title the player has chosen for themself */ 177 char ACC (RW, own_title)[MAX_NAME]; /* Title the player has chosen for themself */
179 /* Note that for dragon players, this is filled in for them */ 178 /* Note that for dragon players, this is filled in for them */
180 char ACC (RW, title)[BIG_NAME]; /* Default title, like fighter, wizard, etc */ 179 char ACC (RW, title)[64]; /* Default title, like fighter, wizard, etc */
181 180
182 sint8 levhp[11]; /* What the player gained on that level */ 181 sint8 levhp[11]; /* What the player gained on that level */
183 sint8 levsp[11]; /* Same for sp */ 182 sint8 levsp[11]; /* Same for sp */
184 sint8 levgrace[11]; /* And same for grace */ 183 sint8 levgrace[11]; /* And same for grace */
185 184
186 char ACC (RW, killer)[BIG_NAME]; /* Who killed this player. */ 185 char ACC (RW, killer)[64]; /* Who killed this player. */
187 186
188 char write_buf[MAX_BUF]; /* Holds arbitrary input from client */ 187 char write_buf[MAX_BUF]; /* Holds arbitrary input from client */
189 char input_buf[MAX_BUF]; /* Holds command to run */ 188 char input_buf[MAX_BUF]; /* Holds command to run */
190 char ACC (RW, password)[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */ 189 char ACC (RW, password)[16]; /* 2 (seed) + 11 (crypted) + 1 (EOS) + 2 (safety) = 16 */
191 190

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines