diff options
| author | Léo Lam <leo@leolam.fr> | 2026-09-28 03:39:30 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2026-10-06 03:19:38 +0200 |
| commit | d8da4fc5f2f159f2ea3386d7018e61629759bc09 (patch) | |
| tree | 832823a30fbddda2c605dd3e99fc31a42b85ec3c /src/KingSystem/System/GameConfig.h | |
| parent | 34e57daf613053d248c65d22bd93bf60b245c0dd (diff) | |
Actor: PlayerInfo/PlayerBase are game, GameConfig ksys
Every decomp user of PlayerInfo is game code, and PlayerBase sits right
above Player. GameConfig.h models the engine base that
links at GameConfig's slot in KingSystem/System.
(AI assisted using Claude Fable 5.1 and Claude Opus 5.5)
Diffstat (limited to 'src/KingSystem/System/GameConfig.h')
| -rw-r--r-- | src/KingSystem/System/GameConfig.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/KingSystem/System/GameConfig.h b/src/KingSystem/System/GameConfig.h new file mode 100644 index 00000000..0c57bbda --- /dev/null +++ b/src/KingSystem/System/GameConfig.h @@ -0,0 +1,21 @@ +#pragma once + +#include <prim/seadSafeString.h> + +namespace ksys { + +class GameConfig { +public: + static GameConfig* getInstance() { return sInstancePtr; } + + char _0[0x3dd]; + bool _3dd; + char _3de[0x3b]; + bool _419; + sead::SafeString mPatrolFeatures; + +private: + static GameConfig* sInstancePtr; +}; + +} // namespace ksys |
