Lines Matching refs:col
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)
142 j_end = (col < (DCOLS-1)) ? 1 : 0;
145 for (j = ((col > 0) ? -1 : 0); j <= j_end; j++) {
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)));
269 *col = c;
289 short n, N, row, col;
292 row = col = 0;
303 col = get_rand(rooms[rn].left_col+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)
325 (col >= rooms[i].left_col) && (col <= rooms[i].right_col)) {
422 dr_course(object *monster, boolean entering, short row, short col)
428 monster->col = col;
430 if (mon_sees(monster, rogue.row, rogue.col)) {
434 rn = get_room_number(row, col);
449 (monster->tcol == col)) {
461 if ((i != monster->row) && (j != monster->col) &&
486 if (rn == NO_ROOM || !get_oth_room(rn, &row, &col)) {
490 monster->tcol = col;
496 get_oth_room(short rn, short *row, short *col)
504 } else if (*col == rooms[rn].left_col) {
506 } else if (*col == rooms[rn].right_col) {
511 *col = rooms[rn].doors[d].oth_col;