From 1af3d32d9c0e44c770de442be8dad7be05ae02d4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Aug 2021 16:59:35 -0400 Subject: maze: Optionally hide unseen walls --- (limited to 'src/maze.h') diff --git a/src/maze.h b/src/maze.h index 895e94e..4482f67 100644 --- a/src/maze.h +++ b/src/maze.h @@ -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, -- cgit v0.9.1