From c1d43694b0e0a5e25150412df7c7ab97f5b3e551 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 6 Nov 2024 23:38:01 -0500 Subject: [PATCH] Couldn't debug the map size crash so just did this small change until I can. --- map.hpp | 3 +++ render.hpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/map.hpp b/map.hpp index 6c127f6..b1ce269 100644 --- a/map.hpp +++ b/map.hpp @@ -13,6 +13,9 @@ #define WALL_VALUE 1 #define SPACE_VALUE 0 +constexpr int GAME_MAP_X = 90; +constexpr int GAME_MAP_Y = 90; + struct Room { size_t x = 0; size_t y = 0; diff --git a/render.hpp b/render.hpp index a229d6e..4ed3b55 100644 --- a/render.hpp +++ b/render.hpp @@ -18,8 +18,6 @@ constexpr int VIDEO_X = 1600; constexpr int VIDEO_Y = 900; constexpr int MIN_FONT_SIZE = 20; constexpr int MAX_FONT_SIZE = 140; -constexpr int GAME_MAP_X = 90; -constexpr int GAME_MAP_Y = 90; constexpr int GAME_MAP_POS = 600; constexpr int UI_FONT_SIZE=30; constexpr int BASE_MAP_FONT_SIZE=90;