diff options
author | P. J. McDermott <pj@pehjota.net> | 2021-08-08 16:59:35 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2021-08-08 17:00:19 (EDT) |
commit | 1af3d32d9c0e44c770de442be8dad7be05ae02d4 (patch) | |
tree | fb3dc4408559bc96086b7a685df624053e7ccadc /src/maze.h | |
parent | c234b317843200c5059c57c16621fb722f579fb0 (diff) | |
download | mazefight-1af3d32d9c0e44c770de442be8dad7be05ae02d4.zip mazefight-1af3d32d9c0e44c770de442be8dad7be05ae02d4.tar.gz mazefight-1af3d32d9c0e44c770de442be8dad7be05ae02d4.tar.bz2 |
maze: Optionally hide unseen walls
Diffstat (limited to 'src/maze.h')
-rw-r--r-- | src/maze.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -31,8 +31,14 @@ int mf_maze_is_wall(struct mf_maze *m, int x, int y, int dx, int dy) __attribute__((__pure__)); +int +mf_maze_is_wall(struct mf_maze *m, int x, int y, int dx, int dy); + +void +mf_maze_reveal_wall(struct mf_maze *m, int x, int y, int dx, int dy); + struct mf_maze * -mf_maze_new(int s, int w, int h); +mf_maze_new(int s, int w, int h, int show_all); int mf_maze_render(struct mf_maze *m, SDL_Renderer *renderer, SDL_Color *color, |