Searched refs:IS_DOOR (Results 1 - 25 of 54) sorted by relevance

123

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h81 #define IS_DOOR(typ) ((typ) == DOOR) macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h81 #define IS_DOOR(typ) ((typ) == DOOR) macro
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dlock.c376 if(!IS_DOOR(door->typ)) {
532 if(!IS_DOOR(door->typ)) {
643 if(!IS_DOOR(door->typ)) {
H A Dmklev.c96 if(IS_DOOR(levl[x][y].typ) || levl[x][y].typ == SDOOR)
1125 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1129 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1133 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1137 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
H A Ddig.c401 if(IS_DOOR(lev->typ) && (lev->doormask & D_TRAPPED)) {
421 IS_DOOR(lev->typ) ? "door" : "wall", verb);
530 shopdoor = IS_DOOR(lev->typ) && *in_rooms(x, y, SHOPBASE);
1045 if (IS_DOOR(lev->typ))
H A Dmkmaze.c36 return (IS_WALL(type) || IS_DOOR(type) ||
50 return (type == STONE || IS_WALL(type) || IS_DOOR(type) ||
676 if(!IS_DOOR(levl[x][y].typ)) {
716 if(!IS_DOOR(levl[x][y].typ)) {
H A Dengrave.c173 IS_WALL(lev->typ) || IS_DOOR(lev->typ) || lev->typ == SDOOR)
200 IS_WALL(lev->typ) || IS_DOOR(lev->typ) || lev->typ == SDOOR)
H A Dshk.c1755 IS_DOOR(levl[u.ux][u.uy].typ) ||
2926 if (IS_DOOR(levl[x][y].typ)) {
3012 else if (IS_DOOR(levl[x][y].typ))
3101 if(IS_DOOR(tmp_dam->typ)) {
3116 (!IS_DOOR(tmp_dam->typ) || (levl[x][y].doormask > D_BROKEN)))
3163 if(IS_DOOR(tmp_dam->typ)) {
3975 if(!IS_DOOR(levl[x][y].typ)) return(FALSE);
4007 if(!(IS_DOOR(levl[u.ux][u.uy].typ) &&
H A Dhack.c93 (!IS_DOOR(levl[rx][ry].typ) || !(u.dx && u.dy) || (
406 } else if (IS_DOOR(lev->typ)) {
584 } else if (IS_DOOR(tmpr->typ)) {
666 && (IS_DOOR(ust->typ) && ((ust->doormask & ~D_BROKEN)
1371 if (IS_DOOR(tmpr->typ) || IS_ROCK(tmpr->typ) ||
H A Dmon.c1064 if(IS_DOOR(ntyp) && !amorphous(mdat) &&
1070 ((IS_DOOR(nowtyp) &&
1072 (IS_DOOR(ntyp) &&
1075 ((IS_DOOR(nowtyp) && (levl[x][y].doormask & ~D_BROKEN)) ||
1076 (IS_DOOR(ntyp) && (levl[nx][ny].doormask & ~D_BROKEN)))
H A Ddokick.c602 else if (IS_DOOR(maploc->typ)) what = "a door";
721 !IS_DOOR(levl[xx][yy].typ) &&
789 if(!IS_DOOR(maploc->typ)) {
H A Dmonmove.c57 if(picking_lock(&x, &y) && IS_DOOR(levl[x][y].typ) &&
1056 if(IS_DOOR(levl[mtmp->mx][mtmp->my].typ)
1224 return((boolean)(IS_DOOR(levl[x][y].typ) &&
H A Dmkmap.c193 IS_DOOR(levl[ii][jj].typ))) {
H A Ddisplay.c527 if (IS_ROCK(lev->typ) || (IS_DOOR(lev->typ) &&
532 } else if (IS_DOOR(lev->typ)) {
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dlock.c376 if(!IS_DOOR(door->typ)) {
532 if(!IS_DOOR(door->typ)) {
643 if(!IS_DOOR(door->typ)) {
H A Dmklev.c96 if(IS_DOOR(levl[x][y].typ) || levl[x][y].typ == SDOOR)
1125 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1129 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1133 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
1137 if (IS_DOOR(typ) || typ == SDOOR) return TRUE;
H A Ddig.c401 if(IS_DOOR(lev->typ) && (lev->doormask & D_TRAPPED)) {
421 IS_DOOR(lev->typ) ? "door" : "wall", verb);
530 shopdoor = IS_DOOR(lev->typ) && *in_rooms(x, y, SHOPBASE);
1045 if (IS_DOOR(lev->typ))
H A Dmkmaze.c36 return (IS_WALL(type) || IS_DOOR(type) ||
50 return (type == STONE || IS_WALL(type) || IS_DOOR(type) ||
676 if(!IS_DOOR(levl[x][y].typ)) {
716 if(!IS_DOOR(levl[x][y].typ)) {
H A Dengrave.c173 IS_WALL(lev->typ) || IS_DOOR(lev->typ) || lev->typ == SDOOR)
200 IS_WALL(lev->typ) || IS_DOOR(lev->typ) || lev->typ == SDOOR)
H A Dshk.c1755 IS_DOOR(levl[u.ux][u.uy].typ) ||
2926 if (IS_DOOR(levl[x][y].typ)) {
3012 else if (IS_DOOR(levl[x][y].typ))
3101 if(IS_DOOR(tmp_dam->typ)) {
3116 (!IS_DOOR(tmp_dam->typ) || (levl[x][y].doormask > D_BROKEN)))
3163 if(IS_DOOR(tmp_dam->typ)) {
3975 if(!IS_DOOR(levl[x][y].typ)) return(FALSE);
4007 if(!(IS_DOOR(levl[u.ux][u.uy].typ) &&
H A Dhack.c93 (!IS_DOOR(levl[rx][ry].typ) || !(u.dx && u.dy) || (
406 } else if (IS_DOOR(lev->typ)) {
584 } else if (IS_DOOR(tmpr->typ)) {
666 && (IS_DOOR(ust->typ) && ((ust->doormask & ~D_BROKEN)
1371 if (IS_DOOR(tmpr->typ) || IS_ROCK(tmpr->typ) ||
H A Dmon.c1064 if(IS_DOOR(ntyp) && !amorphous(mdat) &&
1070 ((IS_DOOR(nowtyp) &&
1072 (IS_DOOR(ntyp) &&
1075 ((IS_DOOR(nowtyp) && (levl[x][y].doormask & ~D_BROKEN)) ||
1076 (IS_DOOR(ntyp) && (levl[nx][ny].doormask & ~D_BROKEN)))
H A Ddokick.c602 else if (IS_DOOR(maploc->typ)) what = "a door";
721 !IS_DOOR(levl[xx][yy].typ) &&
789 if(!IS_DOOR(maploc->typ)) {
H A Dmonmove.c57 if(picking_lock(&x, &y) && IS_DOOR(levl[x][y].typ) &&
1056 if(IS_DOOR(levl[mtmp->mx][mtmp->my].typ)
1224 return((boolean)(IS_DOOR(levl[x][y].typ) &&
H A Dmkmap.c193 IS_DOOR(levl[ii][jj].typ))) {

Completed in 130 milliseconds

123