Map is way better and components::Tile is _vastly_ improved by switching to a wchar_t on display and letting nlohmann::json auto convert it for me.

This commit is contained in:
Zed A. Shaw 2025-03-22 02:10:56 -04:00
parent 2b57552152
commit 2e79cf8781
11 changed files with 70 additions and 71 deletions

View file

@ -30,7 +30,7 @@ namespace components {
};
struct Tile {
std::string display;
wchar_t display;
std::array<uint8_t, 3> foreground;
std::array<uint8_t, 3> background;
};