Maintenance: Second pass: name remaining numeric switch case labels (identifier-only; no code change). ~3,500 more labels across 150

Batch #14936 by ragnarok-clanker: no function's compiled code changes; checked with 158 compiled unit(s), including every includer of Source/Client/Mode/GameModeEnums.h, Source/Client/Mode/ModeMessage.h, Source/Contents/Actors/ActorEnums.h, Source/Contents/Actors/PetEnums.h, Source/Contents/Combat/CombatTypes.h, Source/Contents/Configuration/ServiceEnums.h, Source/Contents/Effects/EffectPrimId.h, Source/Contents/Hotkeys/InterfaceHotkey.h, Source/Contents/Items/ItemId.h, Source/Contents/Items/ItemType.h, Source/Network/Packets/ModeResultEnums.h, Source/Network/Packets/NoticeEnums.h, Source/Network/Packets/PacketId.h, Source/UI/Window/UIEnums.h, Source/UI/Window/WindowId.h.
This commit is contained in:
ragnarok-clanker 2026-11-08 12:37:46 +00:00
commit 858265cc69
159 changed files with 5409 additions and 3560 deletions

View file

@ -1,4 +1,5 @@
#include "UI/Guild/UIGuild_Storage_Log.h"
#include "UI/Window/UIEnums.h"
#include "Contents/MessageTable.h"
#include "Resource/Bitmap/BitmapResource.h"
#include "Resource/ResourceMgr.h"
@ -41,13 +42,13 @@ UIGuild_Storage_Log::UIGuild_Storage_Log() : UIFrameWnd(0) {
// FUNCTION: fn_12941
int UIGuild_Storage_Log::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) {
switch (message) {
case 6:
case UM_COMMAND:
switch (a) {
case 184:
case ID_OK:
g_windowMgr.CloseWindow(253);
break;
case 218: {
case ID_NEXT: {
const unsigned page = this->m_page;
if (this->m_category == 0) {
if (page >= this->m_pageCounts[0]) {
@ -69,7 +70,7 @@ int UIGuild_Storage_Log::SendMsg(UIWindow* sender, int message, std::intptr_t a,
return 0;
}
case 246: {
case ID_PREV: {
const unsigned page = this->m_page;
if (page > 1) {
const int state = this->m_state;
@ -95,7 +96,7 @@ int UIGuild_Storage_Log::SendMsg(UIWindow* sender, int message, std::intptr_t a,
return 0;
case 22:
case UM_TAB:
this->m_category = static_cast<int>(a);
this->m_page = 1;
this->m_state = 1;
@ -105,7 +106,7 @@ int UIGuild_Storage_Log::SendMsg(UIWindow* sender, int message, std::intptr_t a,
this->SendMsg(this, 60, 0, 0, 0, 0);
return 0;
case 60:
case UM_REFRESH:
for (int i = 0; i < 10; ++i) {
this->m_dateTexts[i]->SetText("", 0);
this->m_nameTexts[i]->SetText("", 0);