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:
parent
47c6bfd531
commit
72951f308f
17 changed files with 156 additions and 162 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue