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

@ -444,19 +444,19 @@ CLanguageBase::CLanguageBase()
this->codePage = g_inlineCharset ? LanguageCodePage(this->language) : g_textCodePage;
switch (static_cast<std::uint16_t>(GetUserDefaultLangID() & 0x3FF)) {
case 7:
case LANG_GERMAN:
this->alternateLanguage = 7;
this->servicePrefix = "german\\";
break;
case 16:
case LANG_ITALIAN:
this->alternateLanguage = 16;
this->servicePrefix = "italian\\";
break;
case 22:
case LANG_PORTUGUESE:
this->alternateLanguage = 22;
this->servicePrefix = "portuguese\\";
break;
case 31:
case LANG_TURKISH:
this->alternateLanguage = 31;
this->servicePrefix = "turkish\\";
break;