| /dflybsd-src/games/hack/ |
| H A D | def.rm.h | 74 #define DOOR 7 macro 86 #define ACCESSIBLE(typ) ((typ) >= DOOR) /* good position */ 88 #define ZAP_POS(typ) ((typ) > DOOR)
|
| H A D | hack.mklev.c | 391 if (levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR) in finddpos() 406 if (levl[x - 1][y].typ == DOOR || levl[x + 1][y].typ == DOOR || in okdoor() 407 levl[x][y + 1].typ == DOOR || levl[x][y - 1].typ == DOOR || in okdoor() 425 dosdoor(x, y, aroom, rn2(8) ? DOOR : SDOOR); in dodoor() 435 type = DOOR; in dosdoor() 437 if (type == DOOR) in dosdoor() 759 dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR); in makeniche()
|
| H A D | hack.vault.c | 256 levl[x][y].typ = DOOR; in invault() 302 crm->typ = (typ == SCORR) ? CORR : DOOR; in gd_move() 326 crm->typ = DOOR; in gd_move() 341 crm->typ = DOOR; in gd_move()
|
| H A D | hack.c | 220 (u.dx && u.dy && (tmpr->typ == DOOR || ust->typ == DOOR))) { in domove() 230 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) && in domove() 324 if (tmpr->typ == DOOR || in domove() 344 if (tmpr->typ == DOOR) in domove() 346 else if (ust->typ == DOOR) in domove() 357 if (tmpr->typ == DOOR) { in domove()
|
| H A D | hack.search.c | 86 levl[zx][zy].typ = DOOR; in findit() 129 levl[x][y].typ = DOOR; in dosearch()
|
| H A D | hack.apply.c | 375 lev->typ = xdnstair ? DOOR : ROOM; in dig() 481 if (lev->typ == DOOR) in use_pick_axe()
|
| H A D | hack.read.c | 430 lev->typ = DOOR; in doread() 584 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
|
| H A D | hack.mkshop.c | 329 if ((lev = &levl[sx + dx][sy + dy])->typ == DOOR || in nexttodoor()
|
| H A D | hack.mon.c | 594 if (!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR))) in mfndpos()
|
| /dflybsd-src/games/rogue/ |
| H A D | move.c | 103 if (dungeon[row][col] & DOOR) { in one_move_rogue() 113 } else if ((dungeon[rogue.row][rogue.col] & DOOR) && in one_move_rogue() 163 if (dungeon[row][col] & (DOOR | STAIRS | TRAP)) { in one_move_rogue() 234 return(dungeon[row][col] & (FLOOR | TUNNEL | DOOR | STAIRS | TRAP)); in is_passable() 290 if ((s & DOOR) && ((i == 0) || (j == 0))) { in next_to_something() 305 if ((dungeon[row1][col1] & DOOR) || (dungeon[row2][col2] & DOOR)) { in can_move()
|
| H A D | room.c | 186 if (mask & (TUNNEL | STAIRS | HORWALL | VERTWALL | FLOOR | DOOR)) { in get_dungeon_char() 204 if (mask & DOOR) { in get_dungeon_char() 370 unsigned short mask = (HORWALL | VERTWALL | DOOR | TUNNEL | TRAP | STAIRS | in draw_magic_map() 386 } else if (s & DOOR) { in draw_magic_map() 454 (dungeon[i][j] & DOOR)) { in dr_course()
|
| H A D | monster.c | 358 if ((dungeon[row][monster->col] & DOOR) && in mv_1_monster() 367 if ((dungeon[monster->row][col] & DOOR) && in mv_1_monster() 481 if ((dungeon[row][col] & DOOR) && in move_mon_to() 486 if (dungeon[row][col] & DOOR) { in move_mon_to() 515 if ((monster->row!=row)&&(monster->col!=col)&&((dungeon[row][col]&DOOR) || in mon_can_go() 516 (dungeon[monster->row][monster->col]&DOOR))) { in mon_can_go() 678 (dungeon[row][col] & (FLOOR|TUNNEL|STAIRS|DOOR))) { in create_monster()
|
| H A D | throw.c | 205 while ((i < 9) && dungeon[row][col] & ~(FLOOR | TUNNEL | DOOR | MONSTER)) { in flop_weapon() 209 (dungeon[row][col] & ~(FLOOR | TUNNEL | DOOR | MONSTER))) { in flop_weapon()
|
| H A D | spec_hit.c | 290 (dungeon[row][col] & (TUNNEL | FLOOR | DOOR))) { in try_to_cough()
|
| /dflybsd-src/games/hunt/huntd/ |
| H A D | makemaze.c | 59 *sp++ = DOOR; in makemaze() 165 *sp = DOOR; in remap()
|
| H A D | expl.c | 93 case DOOR: in showexpl() 219 Maze[r->r_y][r->r_x] = DOOR; in remove_wall()
|
| H A D | hunt.h | 83 # define DOOR '#' macro
|
| H A D | shots.c | 319 case DOOR: in move_normal_shot() 709 case DOOR: in move_flyer() 853 case DOOR: in chkslime() 1058 case DOOR: in iswall()
|
| H A D | execute.c | 228 case DOOR: in move_player()
|
| /dflybsd-src/games/battlestar/ |
| H A D | command6.c | 242 && wordvalue[wordnumber] == DOOR) { in dooropen()
|
| H A D | extern.h | 179 #define DOOR 1045 macro
|
| H A D | command3.c | 238 case DOOR: in shoot()
|
| H A D | words.c | 177 { "door", DOOR, NOUNS, NULL },
|
| H A D | command2.c | 43 wordtype[wordnumber] == NOUNS) && wordvalue[wordnumber] != DOOR) { in wearit()
|
| H A D | command4.c | 321 if (wordtype[wordnumber] == NOUNS && value == DOOR) { in drop()
|