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.55 by root, Thu May 17 14:14:55 2007 UTC vs.
Revision 1.58 by root, Sat May 26 15:44:05 2007 UTC

118 bool ACC (RW, braced); /* Will not move if braced, only attack */ 118 bool ACC (RW, braced); /* Will not move if braced, only attack */
119 bool ACC (RW, tmp_invis); /* Will invis go away when we attack ? */ 119 bool ACC (RW, tmp_invis); /* Will invis go away when we attack ? */
120 bool ACC (RW, do_los); /* If true, need to call update_los() in draw(), and clear */ 120 bool ACC (RW, do_los); /* If true, need to call update_los() in draw(), and clear */
121 bool ACC (RW, fire_on); /* Player should fire object, not move */ 121 bool ACC (RW, fire_on); /* Player should fire object, not move */
122 bool ACC (RW, run_on); /* Player should keep moving in dir until run is off */ 122 bool ACC (RW, run_on); /* Player should keep moving in dir until run is off */
123 bool ACC (RW, has_hit); /* If set, weapon_sp instead of speed will count */
124 bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */ 123 bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */
125 bool ACC (RW, hidden); /* If True, player (DM) is hidden from view */ 124 bool ACC (RW, hidden); /* If True, player (DM) is hidden from view */
126 125
127 float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ 126 float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */
127 float ACC (RW, weapon_sp_left); // same as speed_left, but for attacks
128 living ACC (RO, orig_stats); /* Permanent real stats of player */ 128 living ACC (RO, orig_stats); /* Permanent real stats of player */
129 object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ 129 object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */
130 object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ 130 object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */
131 131
132 object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks 132 object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks
168 /* the player can see. For maps smaller than */ 168 /* the player can see. For maps smaller than */
169 /* MAP_CLIENT_.., the upper left is used */ 169 /* MAP_CLIENT_.., the upper left is used */
170 170
171 shstr ACC (RW, invis_race); /* What race invisible to? */ 171 shstr ACC (RW, invis_race); /* What race invisible to? */
172 172
173 MTH float weapon_speed () const;
174
175 MTH static player *create (); 173 MTH static player *create ();
176 174
177 static player *load_pl (object_thawer &thawer); 175 static player *load_pl (object_thawer &thawer);
178 MTH static player *load_pl (const char *path); 176 MTH static player *load_pl (const char *path);
179 177
191 MTH void disconnect (); 189 MTH void disconnect ();
192 190
193 MTH void activate (); 191 MTH void activate ();
194 MTH void deactivate (); 192 MTH void deactivate ();
195 193
196 // enters the initial map, after login or creation
197 MTH void enter_map ();
198
199 MTH void chargen_race_done (); 194 MTH void chargen_race_done ();
200 MTH void chargen_race_next (); 195 MTH void chargen_race_next ();
201 196
202 ~player (); 197 ~player ();
203 198

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines