… | |
… | |
131 | bool ACC (RW, dirty); // set if player is dirty (not reliable yet!) |
131 | bool ACC (RW, dirty); // set if player is dirty (not reliable yet!) |
132 | |
132 | |
133 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
133 | float ACC (RW, weapon_sp); /* Penalties to speed when fighting w speed >ws/10 */ |
134 | float ACC (RW, weapon_sp_left); // same as speed_left, but for attacks |
134 | float ACC (RW, weapon_sp_left); // same as speed_left, but for attacks |
135 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
135 | living ACC (RO, orig_stats); /* Permanent real stats of player */ |
136 | object_ptr last_skill_ob[NUM_SKILLS]; /* the exp object */ |
136 | object_ptr last_skill_ob[CS_NUM_SKILLS]; /* the exp object */ |
137 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
137 | object_ptr ACC (RW, last_used); /* Pointer to object last picked or applied */ |
138 | |
138 | |
139 | object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks |
139 | object_ptr ACC (RW, combat_ob); // which weapon/bow/skill to use for direct attacks |
140 | object_ptr ACC (RW, ranged_ob); // which skill/item/spell to use for ranged attacks |
140 | object_ptr ACC (RW, ranged_ob); // which skill/item/spell to use for ranged attacks |
141 | object_ptr ACC (RW, golem); // the currently controlled golem |
141 | object_ptr ACC (RW, golem); // the currently controlled golem |
… | |
… | |
287 | MTH void statusmsg (const_utf8_string msg, int color = NDI_BLACK); |
287 | MTH void statusmsg (const_utf8_string msg, int color = NDI_BLACK); |
288 | |
288 | |
289 | // a prominent box that signifies some error such as a failed |
289 | // a prominent box that signifies some error such as a failed |
290 | // improvement potion. should not be long. |
290 | // improvement potion. should not be long. |
291 | MTH void failmsg (const_utf8_string msg, int color = NDI_RED); |
291 | MTH void failmsg (const_utf8_string msg, int color = NDI_RED); |
|
|
292 | void failmsgf (const_utf8_string format, ...); // always NDI_RED |
292 | |
293 | |
293 | MTH void update_spells () const |
294 | MTH void update_spells () const |
294 | { |
295 | { |
295 | if (ns) |
296 | if (ns) |
296 | ns->update_spells = true; |
297 | ns->update_spells = true; |