aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-24 15:47:25 +0000
committernathan <nathansmith@disroot.org>2025-11-24 15:47:25 +0000
commit05624b044e59e70d10b786538f55e77c19cc3c8c (patch)
treeb51187d58403bcb2c00fc24fbca7643f176d7961 /src/map.h
parenteff6d7308d69ece8b89fe22e529b815f67a893e2 (diff)
downloadFindThings-05624b044e59e70d10b786538f55e77c19cc3c8c.tar.gz
FindThings-05624b044e59e70d10b786538f55e77c19cc3c8c.tar.bz2
FindThings-05624b044e59e70d10b786538f55e77c19cc3c8c.zip
Improved map
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map.h b/src/map.h
index 23faebe..9a1d41e 100644
--- a/src/map.h
+++ b/src/map.h
@@ -4,21 +4,20 @@
#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;
Vector2 playerPosition;
- float playerRotation;
-
bool isEnabled;
bool isFullSize;
} Map;
void initMap(Map* map, const Settings* settings);
void updateMap(Map* map, Game* game);
+void closeMap(Map* map);
#endif