Lines Matching defs:row
78 trap_at(int row, int col)
83 if ((traps[i].trap_row == row) && (traps[i].trap_col == col)) {
91 trap_player(short row, short col)
95 if ((t = trap_at(row, col)) == NO_TRAP) {
98 dungeon[row][col] &= (~HIDDEN);
113 mvaddch(rogue.row, rogue.col, '^');
146 short row, col;
168 row = get_rand((rooms[party_room].top_row+1),
173 } while (((dungeon[row][col] & (OBJECT|STAIRS|TRAP|TUNNEL)) ||
174 (dungeon[row][col] == NOTHING)) && (tries < 15));
176 gr_row_col(&row, &col, (FLOOR | MONSTER));
179 gr_row_col(&row, &col, (FLOOR | MONSTER));
181 traps[i].trap_row = row;
183 dungeon[row][col] |= (TRAP | HIDDEN);
190 short dir, row, col, d, t;
202 row = rogue.row;
205 get_dir_rc(d, &row, &col, 0);
207 if ((dungeon[row][col] & TRAP) && (!(dungeon[row][col] & HIDDEN))) {
208 t = trap_at(row, col);
232 short s, i, j, row, col, t;
238 row = rogue.row + i;
240 if ((row < MIN_ROW) || (row >= (DROWS-1)) ||
244 if (dungeon[row][col] & HIDDEN) {
252 row = rogue.row + i;
254 if ((row < MIN_ROW) || (row >= (DROWS-1)) ||
258 if (dungeon[row][col] & HIDDEN) {
260 dungeon[row][col] &= (~HIDDEN);
261 if ((!blind) && ((row != rogue.row) ||
263 mvaddch(row, col, get_dungeon_char(row, col));
266 if (dungeon[row][col] & TRAP) {
267 t = trap_at(row, col);