diff options
| author | Léo Lam <leo@leolam.fr> | 2021-03-15 00:14:30 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-03-15 00:19:40 +0100 |
| commit | 20960b596fdc288ac4f4672bddba06c245987fb1 (patch) | |
| tree | 3a25063f68795efa38dfb073f59bfbc44c70e080 /src/KingSystem/ActorSystem | |
| parent | bec661fb728a684f144c0760486a3ae61adfc101 (diff) | |
ksys/act: Add ActorSystem stub
Diffstat (limited to 'src/KingSystem/ActorSystem')
| -rw-r--r-- | src/KingSystem/ActorSystem/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorSystem.cpp | 7 | ||||
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorSystem.h | 16 |
3 files changed, 25 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/CMakeLists.txt b/src/KingSystem/ActorSystem/CMakeLists.txt index b75e8817..ff71baf1 100644 --- a/src/KingSystem/ActorSystem/CMakeLists.txt +++ b/src/KingSystem/ActorSystem/CMakeLists.txt @@ -26,6 +26,8 @@ target_sources(uking PRIVATE actActorParam.h actActorParamMgr.cpp actActorParamMgr.h + actActorSystem.cpp + actActorSystem.h actActorTemplate.cpp actActorTemplate.h actActorUtil.cpp diff --git a/src/KingSystem/ActorSystem/actActorSystem.cpp b/src/KingSystem/ActorSystem/actActorSystem.cpp new file mode 100644 index 00000000..c6573571 --- /dev/null +++ b/src/KingSystem/ActorSystem/actActorSystem.cpp @@ -0,0 +1,7 @@ +#include "KingSystem/ActorSystem/actActorSystem.h" + +namespace ksys::act { + +SEAD_SINGLETON_DISPOSER_IMPL(ActorSystem) + +} // namespace ksys::act diff --git a/src/KingSystem/ActorSystem/actActorSystem.h b/src/KingSystem/ActorSystem/actActorSystem.h new file mode 100644 index 00000000..d1ea3c96 --- /dev/null +++ b/src/KingSystem/ActorSystem/actActorSystem.h @@ -0,0 +1,16 @@ +#pragma once + +#include <heap/seadDisposer.h> + +namespace ksys::act { + +// TODO: incomplete +class ActorSystem { + SEAD_SINGLETON_DISPOSER(ActorSystem) + ActorSystem(); + +public: + void onBaseProcMgrCalc(); +}; + +} // namespace ksys::act |
