summaryrefslogtreecommitdiffstats
path: root/src/maze.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/maze.h')
-rw-r--r--src/maze.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/maze.h b/src/maze.h
index c584c35..04868a0 100644
--- a/src/maze.h
+++ b/src/maze.h
@@ -20,6 +20,8 @@
#ifndef MF_MAZE_H_
#define MF_MAZE_H_
+#include <SDL.h>
+
struct mf_maze;
void
@@ -32,6 +34,9 @@ mf_maze_is_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);
+int
+mf_maze_render(struct mf_maze *m, SDL_Renderer *renderer, int cw);
+
void
mf_maze_destroy(struct mf_maze **m_p);