aboutsummaryrefslogtreecommitdiff
path: root/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'map.h')
-rw-r--r--map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/map.h b/map.h
index 35e97f2..5b79195 100644
--- a/map.h
+++ b/map.h
@@ -4,6 +4,8 @@
#include "game_config.h"
#include "render.h"
+struct World;
+
typedef struct {
Colour pixels[
map_width *
@@ -13,7 +15,7 @@ typedef struct {
];
} Map;
-void init_map(Map* map);
+void init_map(Map* map, struct World* world);
void render_map(Map* map, int cx, int cy);
#endif