Home | History | Annotate | Download | only in rogue

Lines Matching defs:row

71 	short dir, d, row, col;
102 row = rogue.row; col = rogue.col;
104 bounce((short)wand->which_kind, d, row, col, 0);
106 monster = get_zapped_monster(d, &row, &col);
121 get_zapped_monster(short dir, short *row, short *col)
126 orow = *row; ocol = *col;
127 get_dir_rc(dir, row, col, 0);
128 if (((*row == orow) && (*col == ocol)) ||
129 (dungeon[*row][*col] & (HORWALL | VERTWALL)) ||
130 (dungeon[*row][*col] == NOTHING)) {
133 if (dungeon[*row][*col] & MONSTER) {
134 if (!imitating(*row, *col)) {
135 return(object_at(&level_monsters, *row, *col));
144 short row, col;
148 row = monster->row;
180 monster->row = row;
210 short row, col;
215 gr_row_col(&row, &col, (FLOOR | TUNNEL | STAIRS | OBJECT));
216 mvaddch(monster->row, monster->col, monster->trail_char);
217 dungeon[monster->row][monster->col] &= ~MONSTER;
218 monster->row = row; monster->col = col;
219 dungeon[row][col] |= MONSTER;
220 monster->trail_char = mvinch(row, col);
221 if (detect_monster || rogue_can_see(row, col)) {
222 mvaddch(row, col, gmc(monster));
263 if (get_room_number(lmon->row, lmon->col) == cur_room) {
280 bounce(short ball, short dir, short row, short col, short r)
301 orow = row;
313 ((orow == rogue.row) && (ocol == rogue.col))));
317 orow = row;
319 ch = mvinch(row, col);
320 mvaddch(row, col, ch);
321 get_dir_rc(dir, &row, &col, 1);
324 (dungeon[row][col] == NOTHING) ||
325 (dungeon[row][col] & MONSTER) ||
326 (dungeon[row][col] & (HORWALL | VERTWALL)) ||
327 ((row == rogue.row) && (col == rogue.col))));
329 if (dungeon[row][col] & MONSTER) {
332 monster = object_at(&level_monsters, row, col);
374 } else if ((row == rogue.row) && (col == rogue.col)) {