aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-11-27 11:25:35 +0000
committernathan <nathansmith@disroot.org>2025-11-27 11:25:35 +0000
commit3b1165d172779c4663662e83cf5935f039fdad1b (patch)
tree13ca328d02a5044ba433e4a832172f6700a353e5 /src/map.h
parent73a98475757c34d6a8a485ac9c06185bdfdeea8c (diff)
downloadFindThings-3b1165d172779c4663662e83cf5935f039fdad1b.tar.gz
FindThings-3b1165d172779c4663662e83cf5935f039fdad1b.tar.bz2
FindThings-3b1165d172779c4663662e83cf5935f039fdad1b.zip
Working on map blackout
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 bd581ba..bb79355 100644
--- a/src/map.h
+++ b/src/map.h
@@ -7,9 +7,13 @@
#define MAP_ZOOM_MIN 0.5
#define MAP_ZOOM_MAX 30.0
+#define BLACKOUT_WIDTH 100
+#define BLACKOUT_HEIGHT 100
+
typedef struct {
Rectangle rect;
RenderTexture render;
+ RenderTexture blackout;
Camera2D camera;
Texture heightmap;
Vector2 playerPosition;