Home
last modified time | relevance | path

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

/netbsd-src/games/hunt/huntd/
H A Dexpl.c73 if (pp->p_maze[y][x] == type) in showexpl()
75 pp->p_maze[y][x] = type; in showexpl()
81 if (pp->p_maze[y][x] == type) in showexpl()
83 pp->p_maze[y][x] = type; in showexpl()
128 if (pp->p_maze[y][x] == ep->e_char) { in rollexpl()
129 pp->p_maze[y][x] = c; in rollexpl()
H A Ddraw.c54 outstr(pp, pp->p_maze[0], WIDTH); in drawmaze()
56 endp = &pp->p_maze[y][WIDTH]; in drawmaze()
57 for (x = 0, sp = pp->p_maze[y]; sp < endp; x++, sp++) in drawmaze()
69 outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH); in drawmaze()
271 if (ch != ((char *) pp->p_maze)[indx]) { in check()
280 ((char *) rpp->p_maze)[indx] = ch; in check()
H A Danswer.c229 memcpy(pp->p_maze, Maze, sizeof Maze); in stmonitor()
262 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
265 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
267 newpp->p_maze[y][x] = SPACE; in stplayer()
269 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
273 newpp->p_maze[y][x] = Maze[y][x]; in stplayer()
H A Dhunt.h103 char p_maze[HEIGHT][WIDTH2]; member