Lines Matching refs:levl
100 lev = &levl[x][y]; in unsee()
127 levl[u.udisx][u.udisy].scrsym = news0(u.udisx, u.udisy); in seeoff()
139 lev = &levl[x][y]; in seeoff()
171 IS_ROCK(levl[u.ux + u.dx][u.uy + u.dy].typ)); in domove()
179 ust = &levl[u.ux][u.uy]; in domove()
223 tmpr = &levl[u.ux + u.dx][u.uy + u.dy]; in domove()
234 if (isok(rx, ry) && !IS_ROCK(levl[rx][ry].typ) && in domove()
235 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) && in domove()
255 if (levl[rx][ry].typ == POOL) { in domove()
256 levl[rx][ry].typ = ROOM; in domove()
286 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][u.uy + u.dy].typ) in domove()
287 && IS_ROCK(levl[u.ux + u.dx][u.uy].typ)))) { in domove()
294 if (u.dx && u.dy && IS_ROCK(levl[u.ux][u.uy + u.dy].typ) && in domove()
295 IS_ROCK(levl[u.ux + u.dx][u.uy].typ) && in domove()
571 if (flags.run == 1 && levl[u.ux][u.uy].typ == ROOM) in lookaround()
581 if (!levl[x][y].typ) in lookaround()
592 switch (levl[x][y].scrsym) { in lookaround()
707 if (!levl[x][y].lit) in cansee()
741 return (IS_ROOM(levl[u.ux + x][u.uy + y].typ)); in rroom()
753 if (levl[x][y].lit && seelx <= x && x <= seehx && seely <= y && in cansee()
794 if (!levl[u.ux][u.uy].lit) { in setsee()
800 for (seelx = u.ux; levl[seelx - 1][u.uy].lit; seelx--); in setsee()
801 for (seehx = u.ux; levl[seehx + 1][u.uy].lit; seehx++); in setsee()
802 for (seely = u.uy; levl[u.ux][seely - 1].lit; seely--); in setsee()
803 for (seehy = u.uy; levl[u.ux][seehy + 1].lit; seehy++); in setsee()
809 if (!levl[u.ux][u.uy].lit) in setsee()