Mostly working now, just had to manually calculate the grid. Needs a cleanup but I'm moving on for now.

This commit is contained in:
Zed A. Shaw 2024-11-17 12:37:07 -05:00
parent 89a70f398a
commit 34c84343db
4 changed files with 65 additions and 56 deletions

View file

@ -13,15 +13,16 @@
using ftxui::Canvas, ftxui::Screen;
#define BG_TILE L'█'
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_POS = 600;
constexpr int UI_FONT_SIZE=30;
constexpr int BASE_MAP_FONT_SIZE=90;
const int VIDEO_X = 1600;
const int VIDEO_Y = 900;
const int MIN_FONT_SIZE = 20;
const int MAX_FONT_SIZE = 140;
const int GAME_MAP_POS = 600;
const int UI_FONT_SIZE=30;
const int BASE_MAP_FONT_SIZE=90;
const wchar_t BG_TILE = L'';
const wchar_t UI_BASE_CHAR = L'';
const int BG_BOX_OFFSET=5;
enum class Value {
BLACK=0, DARK_DARK, DARK_MID,