Lines Matching refs:typ
429 if ((num = lev->typ) == 0) in doread()
432 lev->typ = CORR; in doread()
435 lev->typ = DOOR; in doread()
553 if (u.uswallow || !xdnstair || levl[u.ux][u.uy].typ == CORR || in litroom()
572 if (levl[u.ux][u.uy].typ == CORR) { in litroom()
589 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
590 if (IS_ROOM(levl[u.ux][u.uy + 1].typ)) in litroom()
592 else if (IS_ROOM(levl[u.ux][u.uy - 1].typ)) in litroom()
596 if (IS_ROOM(levl[u.ux + 1][u.uy].typ)) in litroom()
598 else if (IS_ROOM(levl[u.ux - 1][u.uy].typ)) in litroom()
606 for (seelx = u.ux; (num = levl[seelx - 1][zy].typ) != CORR && num != 0; in litroom()
608 for (seehx = u.ux; (num = levl[seehx + 1][zy].typ) != CORR && num != 0; in litroom()
610 for (seely = u.uy; (num = levl[zx][seely - 1].typ) != CORR && num != 0; in litroom()
612 for (seehy = u.uy; (num = levl[zx][seehy + 1].typ) != CORR && num != 0; in litroom()