Lines Matching refs:dungeon
268 if ((!(dungeon[row][col] & MONSTER)) &&
269 (dungeon[row][col] & (FLOOR | TUNNEL))) {
379 if ((dungeon[row][monster->col] & DOOR) &&
388 if ((dungeon[monster->row][col] & DOOR) &&
476 dungeon[mrow][mcol] &= ~MONSTER;
477 dungeon[row][col] |= MONSTER;
502 if ((dungeon[row][col] & DOOR) &&
504 (dungeon[mrow][mcol] == FLOOR) && !blind) {
507 if (dungeon[row][col] & DOOR) {
508 dr_course(monster, ((dungeon[mrow][mcol] & TUNNEL) ? 1 : 0),
530 if ((!dungeon[monster->row][col]) || (!dungeon[row][monster->col])) {
533 if ((!is_passable(row, col)) || (dungeon[row][col] & MONSTER)) {
536 if ((monster->row!=row)&&(monster->col!=col)&&((dungeon[row][col]&DOOR) ||
537 (dungeon[monster->row][monster->col]&DOOR))) {
547 if (dungeon[row][col] & OBJECT) {
700 if ((!(dungeon[row][col] & MONSTER)) &&
701 (dungeon[row][col] & (FLOOR|TUNNEL|STAIRS|DOOR))) {
723 dungeon[row][col] |= MONSTER;
836 if (!(dungeon[i][j] & MONSTER)) {