aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-24 13:47:58 +0000
committernathan <nathansmith@disroot.org>2025-11-24 13:47:58 +0000
commiteff6d7308d69ece8b89fe22e529b815f67a893e2 (patch)
treecd996e8d664d69580a9c126657612a6cb1384110 /src/map.h
parent6db246171bcc0a7472624b2bf6c74898c43b9248 (diff)
downloadFindThings-eff6d7308d69ece8b89fe22e529b815f67a893e2.tar.gz
FindThings-eff6d7308d69ece8b89fe22e529b815f67a893e2.tar.bz2
FindThings-eff6d7308d69ece8b89fe22e529b815f67a893e2.zip
Map zoom working
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 9e94190..23faebe 100644
--- a/src/map.h
+++ b/src/map.h
@@ -4,12 +4,16 @@
#ifndef MAP_H
#define MAP_H
+#define MAP_ZOOM_MIN 1.0
+#define MAP_ZOOM_MAX 30.0
+
typedef struct {
Rectangle rect;
Rectangle heightmapRect;
float zoom;
Vector2 playerPosition;
float playerRotation;
+
bool isEnabled;
bool isFullSize;
} Map;