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/Game/Actor/Player/actPlayerBase.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/Game/Actor/Player/actPlayerBase.h')
| -rw-r--r-- | src/Game/Actor/Player/actPlayerBase.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Game/Actor/Player/actPlayerBase.h b/src/Game/Actor/Player/actPlayerBase.h new file mode 100644 index 00000000..8ff7b867 --- /dev/null +++ b/src/Game/Actor/Player/actPlayerBase.h @@ -0,0 +1,19 @@ +#pragma once + +#include <prim/seadSafeString.h> +#include "KingSystem/ActorSystem/actActor.h" + +namespace uking::act { + +// TODO +class PlayerBase : public ksys::act::Actor { +public: + // FIXME: name for x and name+type for y + void switchEquipment(const sead::SafeString& slot, int frames, int x = -1, + const uintptr_t& y = {}); + + // FIXME: name for x + void setExtraLife(s32 extra_life, f32 x); +}; + +} // namespace uking::act |
