Home
last modified time | relevance | path

Searched refs:DOOR (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/games/hack/
H A Ddef.rm.h74 #define DOOR 7 macro
86 #define ACCESSIBLE(typ) ((typ) >= DOOR) /* good position */
88 #define ZAP_POS(typ) ((typ) > DOOR)
H A Dhack.mklev.c396 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 Dhack.vault.c261 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 Dhack.c225 (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 Dhack.search.c91 levl[zx][zy].typ = DOOR; in findit()
134 levl[x][y].typ = DOOR; in dosearch()
H A Dhack.apply.c380 lev->typ = xdnstair ? DOOR : ROOM; in dig()
486 if (lev->typ == DOOR) in use_pick_axe()
H A Dhack.read.c435 lev->typ = DOOR; in doread()
589 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
H A Dhack.mkshop.c334 if ((lev = &levl[sx + dx][sy + dy])->typ == DOOR || in nexttodoor()
H A Dhack.mon.c599 if (!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR))) in mfndpos()
/netbsd-src/games/rogue/
H A Dmove.c111 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 Droom.c191 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 Dmonster.c368 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 Dthrow.c215 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 Drogue.h56 #define DOOR ((unsigned short) 040) macro
/netbsd-src/games/hunt/huntd/
H A Dmakemaze.c198 *sp = DOOR; in remap()
223 *sp++ = DOOR; in makemaze()
H A Dexpl.c93 case DOOR: in showexpl()
213 Maze[r->r_y][r->r_x] = DOOR; in remove_wall()
H A Dshots.c271 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 Dexecute.c222 case DOOR: in move_player()
/netbsd-src/games/hunt/include/
H A Dhunt_common.h120 #define DOOR '#' macro
/netbsd-src/games/battlestar/
H A Dcommand6.c250 && wordvalue[wordnumber] == DOOR) { in dooropen()
H A Dextern.h179 #define DOOR 1045 macro
H A Dcommand3.c246 case DOOR: in shoot()
H A Dcommand2.c51 wordtype[wordnumber] == NOUNS) && wordvalue[wordnumber] != DOOR) { in wearit()
H A Dwords.c185 { "door", DOOR, NOUNS, NULL },
H A Dcommand4.c329 if (wordtype[wordnumber] == NOUNS && value == DOOR) { in drop()

12