Home | History | Annotate | Download | only in rogue

Lines Matching refs:row

120 						dungeon[monster->row][monster->col] &= (~MONSTER);
122 get_dungeon_char(monster->row, monster->col);
123 dungeon[monster->row][monster->col] |= MONSTER;
129 mvaddch(rogue.row, rogue.col, rogue.fchar);
134 light_passage(int row, int col)
141 i_end = (row < (DROWS-2)) ? 1 : 0;
144 for (i = ((row > MIN_ROW) ? -1 : 0); i <= i_end; i++) {
146 if (can_move(row, col, row+i, col+j)) {
147 mvaddch(row+i, col+j, get_dungeon_char(row+i, col+j));
178 get_dungeon_char(short row, short col)
180 unsigned short mask = dungeon[row][col];
183 return(gmc_row_col(row, col));
188 obj = object_at(&level_objects, row, col);
203 if (!(dungeon[row][col] & HIDDEN)) {
211 if (((col > 0) && (dungeon[row][col-1] & HORWALL)) ||
212 ((col < (DCOLS-1)) && (dungeon[row][col+1] & HORWALL))) {
253 gr_row_col(short *row, short *col, unsigned short mask)
266 ((r == rogue.row) && (c == rogue.col)));
268 *row = r;
289 short n, N, row, col;
292 row = col = 0;
301 row = get_rand(rooms[rn].top_row+1,
305 if ((dungeon[row][col] == FLOOR) || (dungeon[row][col] == TUNNEL)) {
311 place_at(obj, row, col);
319 get_room_number(int row, int col)
324 if ((row >= rooms[i].top_row) && (row <= rooms[i].bottom_row) &&
422 dr_course(object *monster, boolean entering, short row, short col)
427 monster->row = row;
430 if (mon_sees(monster, rogue.row, rogue.col)) {
434 rn = get_room_number(row, col);
448 if ((monster->trow == row) &&
461 if ((i != monster->row) && (j != monster->col) &&
486 if (rn == NO_ROOM || !get_oth_room(rn, &row, &col)) {
489 monster->trow = row;
496 get_oth_room(short rn, short *row, short *col)
500 if (*row == rooms[rn].top_row) {
502 } else if (*row == rooms[rn].bottom_row) {
510 *row = rooms[rn].doors[d].oth_row;