aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map.h b/src/map.h
index 23faebe..b897a07 100644
--- a/src/map.h
+++ b/src/map.h
@@ -4,21 +4,21 @@
#ifndef MAP_H
#define MAP_H
-#define MAP_ZOOM_MIN 1.0
+#define MAP_ZOOM_MIN 2.0
#define MAP_ZOOM_MAX 30.0
typedef struct {
Rectangle rect;
- Rectangle heightmapRect;
- float zoom;
+ RenderTexture render;
+ Camera2D camera;
+ Texture heightmap;
Vector2 playerPosition;
- float playerRotation;
-
bool isEnabled;
bool isFullSize;
} Map;
-void initMap(Map* map, const Settings* settings);
+void initMap(Map* map, const World* world, const Settings* settings);
void updateMap(Map* map, Game* game);
+void closeMap(Map* map);
#endif