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.74 by root, Thu Nov 8 19:43:24 2007 UTC vs.
Revision 1.76 by root, Wed Apr 23 07:25:54 2008 UTC

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, peaceful); /* If set, won't attack friendly creatures */ 123 bool ACC (RW, peaceful); /* If set, won't attack friendly creatures */
124 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 */
125 bool ACC (RW, dirty); // set if player is dirty (not reliable yet!)
125 126
126 float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ 127 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 float ACC (RW, weapon_sp_left); // same as speed_left, but for attacks
128 living ACC (RO, orig_stats); /* Permanent real stats of player */ 129 living ACC (RO, orig_stats); /* Permanent real stats of player */
129 object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ 130 object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */
210 } 211 }
211 212
212 // a prominent box that can easily be escaped away or so 213 // a prominent box that can easily be escaped away or so
213 // should be used for informative output such as who, maps etc. 214 // should be used for informative output such as who, maps etc.
214 // will stay on-screen 215 // will stay on-screen
215 void infobox (const char *title, const char *msg, int color = NDI_BLACK); 216 MTH void infobox (const char *title, const char *msg, int color = NDI_BLACK);
216 217
217 // a prominent msg that signifies some important event, 218 // a prominent msg that signifies some important event,
218 // an improvement potion effect potion. should not be long. 219 // an improvement potion effect potion. should not be long.
219 // might time out after a while 220 // might time out after a while
220 void statusmsg (const char *msg, int color = NDI_BLACK); 221 MTH void statusmsg (const char *msg, int color = NDI_BLACK);
221 222
222 // a prominent box that signifies some error such as a failed 223 // a prominent box that signifies some error such as a failed
223 // improvement potion. should not be long. 224 // improvement potion. should not be long.
224 void failmsg (const char *msg, int color = NDI_RED); 225 MTH void failmsg (const char *msg, int color = NDI_RED);
225 226
226 ~player (); 227 ~player ();
227 228
228private: 229private:
229 void set_object (object *op); 230 void set_object (object *op);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines