mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Add support for Unicode rendering (#47)
This uses utfcpp combined with a custom font, in the form of a PNG and text file. By default, the game acts exactly as it did before; custom fonts can be provided by third parties.
This commit is contained in:
@@ -179,7 +179,7 @@ bool FILESYSTEM_loadTiXmlDocument(const char *name, TiXmlDocument *doc)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
doc->Parse((const char*)mem);
|
||||
doc->Parse((const char*)mem, NULL, TIXML_ENCODING_UTF8);
|
||||
FILESYSTEM_freeMemory(&mem);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user