Couldn't debug the map size crash so just did this small change until I can.

main
Zed A. Shaw 2 months ago
parent 67cacd5dcd
commit c1d43694b0
  1. 3
      map.hpp
  2. 2
      render.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;

@ -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;

Loading…
Cancel
Save