Lines Matching refs:typ
171 IS_ROCK(levl[u.ux + u.dx][u.uy + u.dy].typ));
224 if (IS_ROCK(tmpr->typ) ||
225 (u.dx && u.dy && (tmpr->typ == DOOR || ust->typ == DOOR))) {
234 if (isok(rx, ry) && !IS_ROCK(levl[rx][ry].typ) &&
235 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) &&
255 if (levl[rx][ry].typ == POOL) {
256 levl[rx][ry].typ = ROOM;
286 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][u.uy + u.dy].typ)
287 && IS_ROCK(levl[u.ux + u.dx][u.uy].typ)))) {
294 if (u.dx && u.dy && IS_ROCK(levl[u.ux][u.uy + u.dy].typ) &&
295 IS_ROCK(levl[u.ux + u.dx][u.uy].typ) &&
329 if (tmpr->typ == DOOR ||
334 if (tmpr->typ == POOL && !Levitation)
349 if (tmpr->typ == DOOR)
351 else if (ust->typ == DOOR)
362 if (tmpr->typ == DOOR) {
571 if (flags.run == 1 && levl[u.ux][u.uy].typ == ROOM)
581 if (!levl[x][y].typ)
741 return (IS_ROOM(levl[u.ux + x][u.uy + y].typ));