Maintenance: Resubmission of 15134 without the 12 struct/type renames (their new names changed mangled symbols in 17 functions). Rena

Batch #15141 by ragnarok-clanker: no function's compiled code changes; checked with 537 compiled unit(s), including every includer of Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Replay.h, Source/Client/Session.h, Source/Contents/AchievementMgr.h, Source/Contents/Actors/CharacterRender.h, Source/Contents/Actors/EffectActors.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/EnchantMgr.h, Source/Contents/GuildInfo.h, Source/Contents/Messenger/MessengerWindows.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/Sound/SoundMgr.h, Source/Contents/SpriteLayerDrawing.h, Source/Contents/TableMng.h, Source/Contents/World/SkyBox.h, Source/UI/Chat/UINewChatWnd.h, Source/UI/Text/CreateLineInfo.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/Window/UINewSelectCharWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIWindowMgr.h, Source/UI/Window/UIWindowMgr.inl.
This commit is contained in:
ragnarok-clanker 2026-11-09 12:21:09 +00:00
commit c932ad6499
150 changed files with 2713 additions and 2713 deletions

View file

@ -241,8 +241,8 @@ bool CNavigationManager::BuildRoute(int startX, int startY, int destX, int destY
}
}
if (g_windowMgr.window_4F174 != nullptr) {
g_windowMgr.window_4F174->Invalidate();
if (g_windowMgr.navigationWnd != nullptr) {
g_windowMgr.navigationWnd->Invalidate();
}
return found;
}
@ -688,11 +688,11 @@ bool CNavigationManager::StartNavigation(std::string name, int type, unsigned ch
}
this->displayMode = 1;
if (g_windowMgr.window_4F174) {
if (g_windowMgr.navigationWnd) {
this->hideWindow = false;
}
if (g_windowMgr.window_4F174) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->RefreshLayout();
if (g_windowMgr.navigationWnd) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.navigationWnd)->RefreshLayout();
} else if (!this->hideWindow) {
g_windowMgr.EnsureWindow(WID_NAVIGATIONV4WND);
}
@ -730,16 +730,16 @@ bool CNavigationManager::SearchNavigation(std::string name, int type, bool flag)
g_navigationManager.UpdateSearchResults();
if (!this->hideWindow) {
if (g_windowMgr.window_4F174 == nullptr) {
if (g_windowMgr.navigationWnd == nullptr) {
g_windowMgr.EnsureWindow(WID_NAVIGATIONV4WND);
} else {
g_windowMgr.window_4F174->SendMsg(nullptr, UM_COMMAND, ID_BASE, 0, 0, 0);
g_windowMgr.navigationWnd->SendMsg(nullptr, UM_COMMAND, ID_BASE, 0, 0, 0);
if (g_windowMgr.modal != nullptr) {
static_cast<UINavigationWnd*>(g_windowMgr.modal)->RefreshWorldMapLevels();
}
}
g_windowMgr.Promote(g_windowMgr.window_4F174);
g_windowMgr.Promote(g_windowMgr.navigationWnd);
}
return true;
@ -1178,8 +1178,8 @@ CNavi_Object* CNaviData::FindMobByTitle(std::string title) {
// OFFSET: 0x00B9C6B0
// FUNCTION: fn_19621
void CNavigationManager::RefreshSearch() {
if (this->data.Search(this->searchText, this->searchType, this->states) && g_windowMgr.window_4F174) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->FillRouteGroups();
if (this->data.Search(this->searchText, this->searchType, this->states) && g_windowMgr.navigationWnd) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.navigationWnd)->FillRouteGroups();
}
}
@ -1315,13 +1315,13 @@ bool CNavigationManager::SetDestinationMap(std::string mapName, int x, int y) {
this->LoadTargetPreview();
g_windowMgr.EnsureWindow(WID_NAVIGATIONV4WND);
if (g_windowMgr.window_4F174) {
UIWindow* window = g_windowMgr.window_4F174;
if (g_windowMgr.navigationWnd) {
UIWindow* window = g_windowMgr.navigationWnd;
window->geometry.targetAlpha = 255;
window->geometry.alphaStart = timeGetTime();
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->RefreshLayout();
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->LayoutWithDetails();
g_windowMgr.window_4F174->Invalidate();
static_cast<UINavigationV4Wnd*>(g_windowMgr.navigationWnd)->RefreshLayout();
static_cast<UINavigationV4Wnd*>(g_windowMgr.navigationWnd)->LayoutWithDetails();
g_windowMgr.navigationWnd->Invalidate();
}
if (g_windowMgr.modal) {
@ -1667,8 +1667,8 @@ void CNavigationManager::CancelRoute() {
this->displayMode = 0;
if (!this->hideWindow) {
this->viewMode = 1;
if (g_windowMgr.window_4F174 != nullptr) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.window_4F174)->RefreshLayout();
if (g_windowMgr.navigationWnd != nullptr) {
static_cast<UINavigationV4Wnd*>(g_windowMgr.navigationWnd)->RefreshLayout();
}
}
g_windowMgr.SendNotice(UIM_PUSHINTOCHATHISTORY, reinterpret_cast<std::intptr_t>(LookupMessage(MSI_NAVIGATION_RS_POSTMAP_SUCCESS)), 0x62B0FF, 0, 0, 0);