Converted almost everything to use wstring so that it works better with SFML and the unicode/utf8 usage in the system.

This commit is contained in:
Zed A. Shaw 2025-03-28 12:40:46 -04:00
parent 47c6bfd531
commit 72951f308f
17 changed files with 156 additions and 162 deletions

View file

@ -13,8 +13,8 @@ namespace gui {
class MainUI {
public:
int $compass_dir = 0;
std::array<std::string, 8> $compass{
"E", "SE", "S", "SW", "W", "NW", "N", "NE"
std::array<std::wstring, 8> $compass{
L"E", L"SE", L"S", L"SW", L"W", L"NW", L"N", L"NE"
};
bool $show_level = false;
bool $needs_render = true;