Lines Matching refs:lit
77 * teleporting 3. when walking out of a lit room
101 if (!lev->lit && lev->scrsym == '.') {
140 if (!lev->lit && lev->scrsym == '.')
347 if (ust->lit) {
348 if (tmpr->lit) {
358 if (tmpr->lit)
707 if (!levl[x][y].lit)
753 if (levl[x][y].lit && seelx <= x && x <= seehx && seely <= y &&
794 if (!levl[u.ux][u.uy].lit) {
800 for (seelx = u.ux; levl[seelx - 1][u.uy].lit; seelx--);
801 for (seehx = u.ux; levl[seehx + 1][u.uy].lit; seehx++);
802 for (seely = u.uy; levl[u.ux][seely - 1].lit; seely--);
803 for (seehy = u.uy; levl[u.ux][seehy + 1].lit; seehy++);
809 if (!levl[u.ux][u.uy].lit)