refactor: nuke all widestrings and widechars everywhere

This commit is contained in:
Tropical
2026-04-07 23:20:09 -05:00
parent f1f1d116b3
commit 2912e9ae2e
1323 changed files with 23207 additions and 23399 deletions

View File

@@ -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) {