aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
new file mode 100644
index 0000000..ce4e71e
--- /dev/null
+++ b/src/map.h
@@ -0,0 +1,16 @@
+#include "utils.h"
+#include "settings.h"
+
+#ifndef MAP_H
+#define MAP_H
+
+typedef struct {
+ Rectangle rect;
+ bool isEnabled;
+ bool isFullSize;
+} Map;
+
+void initMap(Map* map, const Settings* settings);
+void updateMap(Map* map, Game* game);
+
+#endif