refactor: nuke all widestrings and widechars everywhere

This commit is contained in:
Tropical committed 2026-04-07 23:23:31 -05:00
1 parent f1f1d116b3
commit 2912e9ae2e
1323 files changed
+23207 -23399

No files matched your search

@@ -37,15 +37,15 @@ void LevelRuleset::loadStringTable(StringTable* table) {
m_stringTable = table;
}
const wchar_t* LevelRuleset::getString(const std::wstring& key) {
const char* LevelRuleset::getString(const std::string& key) {
if (m_stringTable == nullptr) {
return L"";
return "";
} else {
return m_stringTable->getString(key);
}
}
AABB* LevelRuleset::getNamedArea(const std::wstring& areaName) {
AABB* LevelRuleset::getNamedArea(const std::string& areaName) {
AABB* area = nullptr;
for (auto it = m_areas.begin(); it != m_areas.end(); ++it) {
if ((*it)->getName().compare(areaName) == 0) {