Home
last modified time | relevance | path

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

12

/dflybsd-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.c391 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 Dhack.vault.c256 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 Dhack.c220 (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 Dhack.search.c86 levl[zx][zy].typ = DOOR; in findit()
129 levl[x][y].typ = DOOR; in dosearch()
H A Dhack.apply.c375 lev->typ = xdnstair ? DOOR : ROOM; in dig()
481 if (lev->typ == DOOR) in use_pick_axe()
H A Dhack.read.c430 lev->typ = DOOR; in doread()
584 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
H A Dhack.mkshop.c329 if ((lev = &levl[sx + dx][sy + dy])->typ == DOOR || in nexttodoor()
H A Dhack.mon.c594 if (!(nx != x && ny != y && (nowtyp == DOOR || ntyp == DOOR))) in mfndpos()
/dflybsd-src/games/rogue/
H A Dmove.c103 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 Droom.c186 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 Dmonster.c358 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 Dthrow.c205 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 Dspec_hit.c290 (dungeon[row][col] & (TUNNEL | FLOOR | DOOR))) { in try_to_cough()
/dflybsd-src/games/hunt/huntd/
H A Dmakemaze.c59 *sp++ = DOOR; in makemaze()
165 *sp = DOOR; in remap()
H A Dexpl.c93 case DOOR: in showexpl()
219 Maze[r->r_y][r->r_x] = DOOR; in remove_wall()
H A Dhunt.h83 # define DOOR '#' macro
H A Dshots.c319 case DOOR: in move_normal_shot()
709 case DOOR: in move_flyer()
853 case DOOR: in chkslime()
1058 case DOOR: in iswall()
H A Dexecute.c228 case DOOR: in move_player()
/dflybsd-src/games/battlestar/
H A Dcommand6.c242 && wordvalue[wordnumber] == DOOR) { in dooropen()
H A Dextern.h179 #define DOOR 1045 macro
H A Dcommand3.c238 case DOOR: in shoot()
H A Dwords.c177 { "door", DOOR, NOUNS, NULL },
H A Dcommand2.c43 wordtype[wordnumber] == NOUNS) && wordvalue[wordnumber] != DOOR) { in wearit()
H A Dcommand4.c321 if (wordtype[wordnumber] == NOUNS && value == DOOR) { in drop()

12