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:
parent
71559e0fc0
commit
858265cc69
159 changed files with 5409 additions and 3560 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "Client/Mode/CGameMode.h"
|
||||
#include "Contents/Skills/SkillId.h"
|
||||
#include "Client/Mode/ModeMgr.h"
|
||||
#include "Client/Session.h"
|
||||
#include "Contents/Actors/GameActor.h"
|
||||
|
|
@ -11,18 +12,18 @@
|
|||
// FUNCTION: fn_23850
|
||||
int CSession::IsState291To303(int state) const {
|
||||
switch (state) {
|
||||
case 291:
|
||||
case 292:
|
||||
case 293:
|
||||
case 294:
|
||||
case 295:
|
||||
case 297:
|
||||
case 298:
|
||||
case 299:
|
||||
case 300:
|
||||
case 301:
|
||||
case 302:
|
||||
case 303:
|
||||
case SA_MONOCELL:
|
||||
case SA_CLASSCHANGE:
|
||||
case SA_SUMMONMONSTER:
|
||||
case SA_REVERSEORCISH:
|
||||
case SA_DEATH:
|
||||
case SA_TAMINGMONSTER:
|
||||
case SA_QUESTION:
|
||||
case SA_GRAVITY:
|
||||
case SA_LEVELUP:
|
||||
case SA_INSTANTDEATH:
|
||||
case SA_FULLRECOVERY:
|
||||
case SA_COMA:
|
||||
return 1;
|
||||
default:
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue