Lines Matching refs:rogue
59 #include "rogue.h"
134 move(rogue.row, rogue.col);
262 if (rogue.gold > MAX_GOLD) {
263 rogue.gold = MAX_GOLD;
265 mvprintw(row, 16, "%-6ld", rogue.gold);
271 if (rogue.hp_max > MAX_HP) {
272 rogue.hp_current -= (rogue.hp_max - MAX_HP);
273 rogue.hp_max = MAX_HP;
276 rogue.hp_current, rogue.hp_max);
283 if (rogue.str_max > MAX_STRENGTH) {
284 rogue.str_current -= (rogue.str_max - MAX_STRENGTH);
285 rogue.str_max = MAX_STRENGTH;
288 (rogue.str_current + add_strength), rogue.str_max);
295 if (rogue.armor && (rogue.armor->d_enchant > MAX_ARMOR)) {
296 rogue.armor->d_enchant = MAX_ARMOR;
298 mvprintw(row, 53, "%-2d", get_armor_class(rogue.armor));
304 if (rogue.exp_points > MAX_EXP) {
305 rogue.exp_points = MAX_EXP;
307 if (rogue.exp > MAX_EXP_LEVEL) {
308 rogue.exp = MAX_EXP_LEVEL;
311 rogue.exp, (unsigned long)rogue.exp_points);