| /netbsd-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 | 396 if (levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR) in finddpos() 411 if (levl[x - 1][y].typ == DOOR || levl[x + 1][y].typ == DOOR || in okdoor() 412 levl[x][y + 1].typ == DOOR || levl[x][y - 1].typ == DOOR || in okdoor() 430 dosdoor(x, y, aroom, rn2(8) ? DOOR : SDOOR); in dodoor() 440 type = DOOR; in dosdoor() 442 if (type == DOOR) in dosdoor() 764 dosdoor(xx, yy, aroom, rn2(5) ? SDOOR : DOOR); in makeniche()
|
| H A D | hack.vault.c | 261 levl[x][y].typ = DOOR; in invault() 307 crm->typ = (typ == SCORR) ? CORR : DOOR; in gd_move() 331 crm->typ = DOOR; in gd_move() 346 crm->typ = DOOR; in gd_move()
|
| H A D | hack.c | 225 (u.dx && u.dy && (tmpr->typ == DOOR || ust->typ == DOOR))) { in domove() 235 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) && in domove() 329 if (tmpr->typ == DOOR || in domove() 349 if (tmpr->typ == DOOR) in domove() 351 else if (ust->typ == DOOR) in domove() 362 if (tmpr->typ == DOOR) { in domove()
|
| H A D | hack.search.c | 91 levl[zx][zy].typ = DOOR; in findit() 134 levl[x][y].typ = DOOR; in dosearch()
|
| H A D | hack.apply.c | 380 lev->typ = xdnstair ? DOOR : ROOM; in dig() 486 if (lev->typ == DOOR) in use_pick_axe()
|
| H A D | hack.read.c | 435 lev->typ = DOOR; in doread() 589 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
|
| H A D | hack.mkshop.c | 334 if ((lev = &levl[sx + dx][sy + dy])->typ == DOOR || in nexttodoor()
|
| H A D | hack.mon.c | 599 if (!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR))) in mfndpos()
|
| /netbsd-src/games/rogue/ |
| H A D | move.c | 111 if (dungeon[row][col] & DOOR) { in one_move_rogue() 121 } else if ((dungeon[rogue.row][rogue.col] & DOOR) && in one_move_rogue() 167 if (dungeon[row][col] & (DOOR | STAIRS | TRAP)) { in one_move_rogue() 238 return(dungeon[row][col] & (FLOOR | TUNNEL | DOOR | STAIRS | TRAP)); in is_passable() 294 if ((s & DOOR) && ((i == 0) || (j == 0))) { in next_to_something() 309 if ((dungeon[row1][col1] & DOOR) || (dungeon[row2][col2] & DOOR)) { in can_move()
|
| H A D | room.c | 191 if (mask & (TUNNEL | STAIRS | HORWALL | VERTWALL | FLOOR | DOOR)) { in get_dungeon_char() 209 if (mask & DOOR) { in get_dungeon_char() 375 unsigned short mask = (HORWALL | VERTWALL | DOOR | TUNNEL | TRAP | STAIRS | in draw_magic_map() 391 } else if (s & DOOR) { in draw_magic_map() 462 (dungeon[i][j] & DOOR)) { in dr_course()
|
| H A D | monster.c | 368 if ((dungeon[row][monster->col] & DOOR) && in mv_1_monster() 377 if ((dungeon[monster->row][col] & DOOR) && in mv_1_monster() 491 if ((dungeon[row][col] & DOOR) && in move_mon_to() 496 if (dungeon[row][col] & DOOR) { in move_mon_to() 525 if ((monster->row!=row)&&(monster->col!=col)&&((dungeon[row][col]&DOOR) || in mon_can_go() 526 (dungeon[monster->row][monster->col]&DOOR))) { in mon_can_go() 690 (dungeon[row][col] & (FLOOR|TUNNEL|STAIRS|DOOR))) { in create_monster()
|
| H A D | throw.c | 215 while ((i < 9) && dungeon[row][col] & ~(FLOOR | TUNNEL | DOOR | MONSTER)) { in flop_weapon() 219 (dungeon[row][col] & ~(FLOOR | TUNNEL | DOOR | MONSTER))) { in flop_weapon()
|
| H A D | rogue.h | 56 #define DOOR ((unsigned short) 040) macro
|
| /netbsd-src/games/hunt/huntd/ |
| H A D | makemaze.c | 198 *sp = DOOR; in remap() 223 *sp++ = DOOR; in makemaze()
|
| H A D | expl.c | 93 case DOOR: in showexpl() 213 Maze[r->r_y][r->r_x] = DOOR; in remove_wall()
|
| H A D | shots.c | 271 case DOOR: in move_normal_shot() 352 case DOOR: in move_normal_shot() 622 case DOOR: in move_flyer() 764 case DOOR: in chkslime() 967 case DOOR: in iswall()
|
| H A D | execute.c | 222 case DOOR: in move_player()
|
| /netbsd-src/games/hunt/include/ |
| H A D | hunt_common.h | 120 #define DOOR '#' macro
|
| /netbsd-src/games/battlestar/ |
| H A D | command6.c | 250 && wordvalue[wordnumber] == DOOR) { in dooropen()
|
| H A D | extern.h | 179 #define DOOR 1045 macro
|
| H A D | command3.c | 246 case DOOR: in shoot()
|
| H A D | command2.c | 51 wordtype[wordnumber] == NOUNS) && wordvalue[wordnumber] != DOOR) { in wearit()
|
| H A D | words.c | 185 { "door", DOOR, NOUNS, NULL },
|
| H A D | command4.c | 329 if (wordtype[wordnumber] == NOUNS && value == DOOR) { in drop()
|