Lines Matching refs:rogue
56 #include "rogue.h"
389 rogue.row = rogue.col = -1;
757 rogue.row = row;
758 rogue.col = col;
760 if (dungeon[rogue.row][rogue.col] & TUNNEL) {
768 light_passage(rogue.row, rogue.col);
770 rn = get_room_number(rogue.row, rogue.col);
771 wake_room(rn, 1, rogue.row, rogue.col);
776 mvaddch(rogue.row, rogue.col, rogue.fchar);
785 if (dungeon[rogue.row][rogue.col] & STAIRS) {
800 if (!(dungeon[rogue.row][rogue.col] & STAIRS)) {
825 rogue.exp_points += e;
827 if (rogue.exp_points >= level_points[rogue.exp-1]) {
828 new_exp = get_exp_level(rogue.exp_points);
829 if (rogue.exp_points > MAX_EXP) {
830 rogue.exp_points = MAX_EXP + 1;
832 for (i = rogue.exp+1; i <= new_exp; i++) {
836 rogue.hp_current += hp;
837 rogue.hp_max += hp;
839 rogue.exp = i;
875 if (rogue.exp == 1) {
879 ((rogue.hp_max - extra_hp - INIT_HP) + less_hp) / (rogue.exp - 1);
880 effective_average = (float)(rogue.hp_max - INIT_HP) / (rogue.exp - 1);