Home | History | Annotate | Download | only in huntd

Lines Matching refs:Maze

40 #define ISCLEAR(y,x)	(Maze[y][x] == SPACE)
104 Maze[y][x] = SPACE; /* Clear this spot */
129 Maze[y][x] = SPACE;
157 if (Maze[ty][tx] == SPACE)
159 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE;
173 sp = &Maze[y][x];
177 if (y - 1 >= 0 && Maze[y - 1][x] != SPACE)
179 if (y + 1 < HEIGHT && Maze[y + 1][x] != SPACE)
181 if (x + 1 < WIDTH && Maze[y][x + 1] != SPACE)
183 if (x - 1 >= 0 && Maze[y][x - 1] != SPACE)
209 memcpy(Orig_maze, Maze, sizeof Maze);
219 * fill maze with walls
221 sp = &Maze[0][0];
222 while (sp < &Maze[HEIGHT - 1][WIDTH])