Couldn't debug the map size crash so just did this small change until I can.
This commit is contained in:
parent
67cacd5dcd
commit
c1d43694b0
2 changed files with 3 additions and 2 deletions
3
map.hpp
3
map.hpp
|
@ -13,6 +13,9 @@
|
||||||
#define WALL_VALUE 1
|
#define WALL_VALUE 1
|
||||||
#define SPACE_VALUE 0
|
#define SPACE_VALUE 0
|
||||||
|
|
||||||
|
constexpr int GAME_MAP_X = 90;
|
||||||
|
constexpr int GAME_MAP_Y = 90;
|
||||||
|
|
||||||
struct Room {
|
struct Room {
|
||||||
size_t x = 0;
|
size_t x = 0;
|
||||||
size_t y = 0;
|
size_t y = 0;
|
||||||
|
|
|
@ -18,8 +18,6 @@ constexpr int VIDEO_X = 1600;
|
||||||
constexpr int VIDEO_Y = 900;
|
constexpr int VIDEO_Y = 900;
|
||||||
constexpr int MIN_FONT_SIZE = 20;
|
constexpr int MIN_FONT_SIZE = 20;
|
||||||
constexpr int MAX_FONT_SIZE = 140;
|
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 GAME_MAP_POS = 600;
|
||||||
constexpr int UI_FONT_SIZE=30;
|
constexpr int UI_FONT_SIZE=30;
|
||||||
constexpr int BASE_MAP_FONT_SIZE=90;
|
constexpr int BASE_MAP_FONT_SIZE=90;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue