Maintenance: Rename placeholder sub_XXXXXX functions to evidence-based names (Lua registration strings, log/error strings, packet ids
Batch #13412 by ragnarok-clanker: no function's compiled code changes; checked with 592 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/CashEmotionMgr.h, Source/Contents/ClientItemLists.h, Source/Contents/ClientState.h, Source/Contents/Configuration/GameSettingsMgr.h, Source/Contents/Items/ItemInfo.h, Source/Contents/NavigationManager.h, Source/Contents/RenewQuestMgr.h, Source/Contents/ReputeMgr.h, Source/Contents/Schedule/TimeScheduler.h, Source/Contents/WorldView/WorldViewData.h, Source/UI/Buttons/UIDescriptRace.h, Source/UI/CashEmotion/UICashEmotionListWnd.h, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Edit/UIItemTagCtrl.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Items/UISwapEquipmentWnd.h, Source/UI/Lists/UIChatHisBox.h, Source/UI/Lists/UITagListBox.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/Text/UIAchWnd.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIMacroUserInfoWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UIRegisterMgr.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/Utility/JsonCppLoader.h.
This commit is contained in:
parent
7d09f47486
commit
f8d3e8622d
120 changed files with 991 additions and 993 deletions
|
|
@ -63,7 +63,7 @@ __forceinline void UITextViewer::Activate(UITextButton* button, int id) {
|
|||
}
|
||||
|
||||
name += map;
|
||||
g_navigationManager.sub_B995D0(name, type, 0);
|
||||
g_navigationManager.SearchNavigation(name, type, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
@ -85,9 +85,9 @@ __forceinline void UITextViewer::Activate(UITextButton* button, int id) {
|
|||
flag += 4;
|
||||
}
|
||||
|
||||
g_navigationManager.sub_B99030(map.c_str(), type, flag, option == 0, x, y, target);
|
||||
g_navigationManager.StartNavigation(map.c_str(), type, flag, option == 0, x, y, target);
|
||||
} else {
|
||||
g_navigationManager.sub_B99030(map.c_str(), 2, 5, false, x, y, 1002);
|
||||
g_navigationManager.StartNavigation(map.c_str(), 2, 5, false, x, y, 1002);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
@ -336,7 +336,7 @@ int UITextViewer::SendMsg(UIWindow* sender, int message, std::intptr_t argument1
|
|||
if (policy == -222) {
|
||||
std::string name = type == 3 ? "$$DB " : "";
|
||||
name += map;
|
||||
g_navigationManager.sub_B995D0(name, type, 0);
|
||||
g_navigationManager.SearchNavigation(name, type, 0);
|
||||
break;
|
||||
}
|
||||
const int option = std::atoi(button->GetLine(5).c_str());
|
||||
|
|
@ -345,9 +345,9 @@ int UITextViewer::SendMsg(UIWindow* sender, int message, std::intptr_t argument1
|
|||
if (policy >= 100) { flag = 1; policy -= 100; }
|
||||
if (policy >= 10) { flag += 2; policy -= 10; }
|
||||
if (policy >= 1) { flag += 4; }
|
||||
g_navigationManager.sub_B99030(map.c_str(), type, flag, option == 0, x, y, target);
|
||||
g_navigationManager.StartNavigation(map.c_str(), type, flag, option == 0, x, y, target);
|
||||
} else {
|
||||
g_navigationManager.sub_B99030(map.c_str(), 2, 5, false, x, y, 1002);
|
||||
g_navigationManager.StartNavigation(map.c_str(), 2, 5, false, x, y, 1002);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue