Searched refs:IS_WALL (Results 1 - 25 of 42) sorted by relevance

12

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dextralev.c78 if (!IS_WALL(levl[fromx][fromy].typ))
98 if (!IS_WALL(levl[tox][toy].typ))
115 if (!IS_WALL(levl[fromx][fromy].typ))
135 if (!IS_WALL(levl[tox][toy].typ))
H A Ddig.c146 (!level.flags.arboreal || IS_WALL(levl[x][y].typ)) ?
346 } else if(IS_WALL(lev->typ)) {
418 if (IS_WALL(lev->typ) || dig_target == DIGTYP_DOOR) {
1026 IS_WALL(lev->typ) || IS_FOUNTAIN(lev->typ) || IS_TREE(lev->typ))) {
1101 (IS_WALL(here->typ) ? "wall" : "stone"),
1106 if (IS_WALL(here->typ)) {
1224 if (IS_WALL(room->typ)) {
1252 if (IS_WALL(room->typ) || room->typ == SDOOR) {
1268 } else { /* IS_ROCK but not IS_WALL or SDOOR */
H A Dmkmaze.c36 return (IS_WALL(type) || IS_DOOR(type) ||
50 return (type == STONE || IS_WALL(type) || IS_DOOR(type) ||
150 if (IS_WALL(type) && type != DBWALL) {
172 if ( !(IS_WALL(type) && type != DBWALL)) continue;
824 if(!IS_WALL(typ)) nonwall = TRUE;
838 if(!IS_WALL(typ)) nonwall = TRUE;
852 if(!IS_WALL(typ)) nonwall = TRUE;
865 if(!IS_WALL(typ)) nonwall = TRUE;
H A Dmkmap.c192 (IS_WALL(levl[ii][jj].typ) ||
353 (walled && IS_WALL(levl[i][j].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 Dvault.c321 if(IS_WALL(levl[x][y].typ))
388 if (!IS_WALL(levl[x][y].typ) && !in_fcorridor(grd, x, y)) {
666 /* in view of the above we must have IS_WALL(typ) or typ == POOL */
H A Ddbridge.c208 if (!IS_WALL(levl[x2][y2].typ))
H A Dmkroom.c620 if (IS_WALL(levl[c->x][c->y].typ))
H A Dpager.c252 else if (IS_WALL(levl[x][y].typ) || levl[x][y].typ == SDOOR)
H A Dshk.c3010 if (IS_WALL(levl[x][y].typ))
3104 } else if (IS_WALL(tmp_dam->typ)) {
3170 if (IS_WALL(tmp_dam->typ) && cansee(x, y)) {
H A Dtrap.c287 IS_DOOR(lev->typ) || IS_WALL(lev->typ)))
289 ((IS_DOOR(lev->typ) || IS_WALL(lev->typ))
301 else if (IS_WALL(lev->typ) || lev->typ == SDOOR)
H A Ddo.c1143 IS_WALL(levl[x][y].typ));
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dextralev.c78 if (!IS_WALL(levl[fromx][fromy].typ))
98 if (!IS_WALL(levl[tox][toy].typ))
115 if (!IS_WALL(levl[fromx][fromy].typ))
135 if (!IS_WALL(levl[tox][toy].typ))
H A Ddig.c146 (!level.flags.arboreal || IS_WALL(levl[x][y].typ)) ?
346 } else if(IS_WALL(lev->typ)) {
418 if (IS_WALL(lev->typ) || dig_target == DIGTYP_DOOR) {
1026 IS_WALL(lev->typ) || IS_FOUNTAIN(lev->typ) || IS_TREE(lev->typ))) {
1101 (IS_WALL(here->typ) ? "wall" : "stone"),
1106 if (IS_WALL(here->typ)) {
1224 if (IS_WALL(room->typ)) {
1252 if (IS_WALL(room->typ) || room->typ == SDOOR) {
1268 } else { /* IS_ROCK but not IS_WALL or SDOOR */
H A Dmkmaze.c36 return (IS_WALL(type) || IS_DOOR(type) ||
50 return (type == STONE || IS_WALL(type) || IS_DOOR(type) ||
150 if (IS_WALL(type) && type != DBWALL) {
172 if ( !(IS_WALL(type) && type != DBWALL)) continue;
824 if(!IS_WALL(typ)) nonwall = TRUE;
838 if(!IS_WALL(typ)) nonwall = TRUE;
852 if(!IS_WALL(typ)) nonwall = TRUE;
865 if(!IS_WALL(typ)) nonwall = TRUE;
H A Dmkmap.c192 (IS_WALL(levl[ii][jj].typ) ||
353 (walled && IS_WALL(levl[i][j].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 Dvault.c321 if(IS_WALL(levl[x][y].typ))
388 if (!IS_WALL(levl[x][y].typ) && !in_fcorridor(grd, x, y)) {
666 /* in view of the above we must have IS_WALL(typ) or typ == POOL */
H A Ddbridge.c208 if (!IS_WALL(levl[x2][y2].typ))
H A Dmkroom.c620 if (IS_WALL(levl[c->x][c->y].typ))
H A Dpager.c252 else if (IS_WALL(levl[x][y].typ) || levl[x][y].typ == SDOOR)
H A Dshk.c3010 if (IS_WALL(levl[x][y].typ))
3104 } else if (IS_WALL(tmp_dam->typ)) {
3170 if (IS_WALL(tmp_dam->typ) && cansee(x, y)) {
H A Dtrap.c287 IS_DOOR(lev->typ) || IS_WALL(lev->typ)))
289 ((IS_DOOR(lev->typ) || IS_WALL(lev->typ))
301 else if (IS_WALL(lev->typ) || lev->typ == SDOOR)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h78 #define IS_WALL(typ) ((typ) && (typ) <= DBWALL) macro
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Drm.h78 #define IS_WALL(typ) ((typ) && (typ) <= DBWALL) macro

Completed in 182 milliseconds

12