… | |
… | |
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. |
93 | static bool |
93 | static inline bool |
94 | same_party (partylist *a, partylist *b) |
94 | same_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 | |
267 | private: |
273 | private: |
268 | void set_object (object *op); |
274 | void set_object (object *op); |
269 | player (); |
275 | player (); |