From 20960b596fdc288ac4f4672bddba06c245987fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 15 Mar 2021 00:14:30 +0100 Subject: [PATCH] ksys/act: Add ActorSystem stub --- src/KingSystem/ActorSystem/CMakeLists.txt | 2 ++ src/KingSystem/ActorSystem/actActorSystem.cpp | 7 +++++++ src/KingSystem/ActorSystem/actActorSystem.h | 16 ++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 src/KingSystem/ActorSystem/actActorSystem.cpp create mode 100644 src/KingSystem/ActorSystem/actActorSystem.h 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 + +namespace ksys::act { + +// TODO: incomplete +class ActorSystem { + SEAD_SINGLETON_DISPOSER(ActorSystem) + ActorSystem(); + +public: + void onBaseProcMgrCalc(); +}; + +} // namespace ksys::act