diff options
Diffstat (limited to 'src/KingSystem')
| -rw-r--r-- | src/KingSystem/ActorSystem/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/Profiles/actPlayerBase.cpp | 1 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/Profiles/actPlayerBase.h | 15 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/actPlayerInfo.cpp | 1 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/actPlayerInfo.h | 19 |
5 files changed, 40 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/CMakeLists.txt b/src/KingSystem/ActorSystem/CMakeLists.txt index abc4c10f..911a3277 100644 --- a/src/KingSystem/ActorSystem/CMakeLists.txt +++ b/src/KingSystem/ActorSystem/CMakeLists.txt @@ -1,4 +1,6 @@ target_sources(uking PRIVATE + Profiles/actPlayerBase.cpp + Profiles/actPlayerBase.h Profiles/actRopeBase.cpp Profiles/actRopeBase.h @@ -69,6 +71,8 @@ target_sources(uking PRIVATE actInstParamPack.cpp actInstParamPack.h actLifeRecoveryInfo.h + actPlayerInfo.cpp + actPlayerInfo.h actTag.h actionDummyAction.cpp diff --git a/src/KingSystem/ActorSystem/Profiles/actPlayerBase.cpp b/src/KingSystem/ActorSystem/Profiles/actPlayerBase.cpp new file mode 100644 index 00000000..abc059cd --- /dev/null +++ b/src/KingSystem/ActorSystem/Profiles/actPlayerBase.cpp @@ -0,0 +1 @@ +#include "KingSystem/ActorSystem/Profiles/actPlayerBase.h" diff --git a/src/KingSystem/ActorSystem/Profiles/actPlayerBase.h b/src/KingSystem/ActorSystem/Profiles/actPlayerBase.h new file mode 100644 index 00000000..47c9cace --- /dev/null +++ b/src/KingSystem/ActorSystem/Profiles/actPlayerBase.h @@ -0,0 +1,15 @@ +#pragma once + +#include <prim/seadSafeString.h> + +namespace ksys::act { + +// TODO +class PlayerBase { +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 = {}); +}; + +} // namespace ksys::act diff --git a/src/KingSystem/ActorSystem/actPlayerInfo.cpp b/src/KingSystem/ActorSystem/actPlayerInfo.cpp new file mode 100644 index 00000000..fca8b658 --- /dev/null +++ b/src/KingSystem/ActorSystem/actPlayerInfo.cpp @@ -0,0 +1 @@ +#include "KingSystem/ActorSystem/actPlayerInfo.h" diff --git a/src/KingSystem/ActorSystem/actPlayerInfo.h b/src/KingSystem/ActorSystem/actPlayerInfo.h new file mode 100644 index 00000000..9ceb53b2 --- /dev/null +++ b/src/KingSystem/ActorSystem/actPlayerInfo.h @@ -0,0 +1,19 @@ +#pragma once + +#include <heap/seadDisposer.h> + +namespace ksys::act { + +class PlayerBase; + +// TODO +class PlayerInfo { + SEAD_SINGLETON_DISPOSER(PlayerInfo) + PlayerInfo(); + virtual ~PlayerInfo(); + +public: + PlayerBase* getPlayer() const; +}; + +} // namespace ksys::act |
