Searched refs:IS_ROOM (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/games/hack/
H A Ddef.rm.h87 #define IS_ROOM(typ) ((typ) >= ROOM) /* ROOM or STAIRS */ macro
H A Dhack.read.c590 if (IS_ROOM(levl[u.ux][u.uy + 1].typ))
592 else if (IS_ROOM(levl[u.ux][u.uy - 1].typ))
596 if (IS_ROOM(levl[u.ux + 1][u.uy].typ))
598 else if (IS_ROOM(levl[u.ux - 1][u.uy].typ))
H A Dhack.zap.c623 (IS_ROOM(rmn) || ZAP_POS(levl[sx + dx][sy - dy].typ)))
626 (IS_ROOM(rmn) || ZAP_POS(levl[sx - dx][sy + dy].typ)))
H A Dhack.dog.c329 if (!IS_ROOM(levl[u.ux][u.uy].typ) || !rn2(4) ||
H A Dhack.c741 return (IS_ROOM(levl[u.ux + x][u.uy + y].typ));

Completed in 101 milliseconds