Home
last modified time | relevance | path

Searched refs:p_maze (Results 1 – 4 of 4) sorted by relevance

/openbsd/games/hunt/huntd/
H A Dexpl.c76 if (pp->p_maze[y][x] == type) in showexpl()
78 pp->p_maze[y][x] = type; in showexpl()
83 if (pp->p_maze[y][x] == type) in showexpl()
85 pp->p_maze[y][x] = type; in showexpl()
125 if (pp->p_maze[y][x] == ep->e_char) { in rollexpl()
126 pp->p_maze[y][x] = c; in rollexpl()
H A Ddraw.c61 outstr(pp, pp->p_maze[0], WIDTH); in drawmaze()
63 endp = &pp->p_maze[y][WIDTH]; in drawmaze()
64 for (x = 0, sp = pp->p_maze[y]; sp < endp; x++, sp++) in drawmaze()
79 outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH); in drawmaze()
241 if (ch != ((char *) pp->p_maze)[index]) { in check()
250 ((char *) rpp->p_maze)[index] = ch; in check()
H A Danswer.c277 memcpy(pp->p_maze, Maze, sizeof pp->p_maze); in stmonitor()
304 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
307 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
309 newpp->p_maze[y][x] = SPACE; in stplayer()
311 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
315 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
H A Dserver.h161 char p_maze[HEIGHT][WIDTH2]; member