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.95 by root, Thu Nov 5 15:57:16 2009 UTC vs.
Revision 1.97 by root, Mon Nov 9 18:47:56 2009 UTC

88 sint64 ACC (RW, total_exp); 88 sint64 ACC (RW, total_exp);
89 uint32 ACC (RW, kills); 89 uint32 ACC (RW, kills);
90}; 90};
91 91
92// used for pet monster logic etc. 92// used for pet monster logic etc.
93static bool 93static inline bool
94same_party (partylist *a, partylist *b) 94same_party (partylist *a, partylist *b)
95{ 95{
96 return a == b && a; 96 return a == b && a;
97} 97}
98 98
260 260
261 // a prominent box that signifies some error such as a failed 261 // a prominent box that signifies some error such as a failed
262 // improvement potion. should not be long. 262 // improvement potion. should not be long.
263 MTH void failmsg (const char *msg, int color = NDI_RED); 263 MTH void failmsg (const char *msg, int color = NDI_RED);
264 264
265 MTH void update_spells () const
266 {
267 if (ns)
268 ns->update_spells = true;
269 }
270
265 ~player (); 271 ~player ();
266 272
267private: 273private:
268 void set_object (object *op); 274 void set_object (object *op);
269 player (); 275 player ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines