Lines Matching refs:levl
428 lev = &(levl[zx][zy]); in doread()
462 levl[zx][zy].seen = 0; in doread()
553 if (u.uswallow || !xdnstair || levl[u.ux][u.uy].typ == CORR || in litroom()
554 !levl[u.ux][u.uy].lit) { in litroom()
572 if (levl[u.ux][u.uy].typ == CORR) { in litroom()
575 } else if (levl[u.ux][u.uy].lit) { in litroom()
587 if (levl[u.ux][u.uy].lit == on) 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()
616 levl[zx][zy].lit = on; in litroom()