Maintenance: Resubmission of the alias fold (10419 returned: it changed compiled code of fn_24380, fn_09591, fn_12755). The 7 aliases

Batch #10430 by ragnarok-clanker: no function's compiled code changes; checked with 530 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Contents/AchievementMgr.h, Source/Contents/Actors/RenderObject.h, Source/Contents/ClientState.h, Source/Contents/Effects/MsgEffect.h, Source/Contents/Messenger/MessengerMember.h, Source/UI/Dialogs/UIMemorialDunWnd.h, Source/UI/Exchange/UIExchangeUI.h, Source/UI/UIBartermarketWnd.h, Source/UI/Window/UISelCharForUServerWnd.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 23:00:04 +00:00
commit 6a2a80e18e
45 changed files with 129 additions and 213 deletions

View file

@ -1,6 +1,7 @@
#include "Contents/MapSkyMgr.h"
#include "Client/Mode/CGameMode.h"
#include "Client/Mode/ModeMgr.h"
#include "Client/Session.h"
#include "Contents/Configuration/ServiceOptions.h"
#include "Contents/Effects/EffectActor.h"
#include "Contents/Effects/EffectLists.h"
@ -42,8 +43,6 @@ CWeatherEffect g_weatherEffect;
// GLOBAL: gl_24633
float g_depthAverageHalf = 0.5f;
// GLOBAL: gl_25254
std::vector<std::string> g_registeredLowercaseNames;
static_assert(sizeof(std::vector<std::string>) == 12);
@ -488,11 +487,11 @@ void RegisterLowercaseName(const char* name) {
character = static_cast<char>(std::tolower(static_cast<unsigned char>(character)));
}
for (const std::string& entry : g_registeredLowercaseNames) {
for (const std::string& entry : g_session.unknown_80A8) {
if (entry == lowered) {
return;
}
}
g_registeredLowercaseNames.push_back(lowered.c_str());
g_session.unknown_80A8.push_back(lowered.c_str());
}