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:
parent
2b57552152
commit
2e79cf8781
11 changed files with 70 additions and 71 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue