From a168b93bbcf603816bf718962fc4d706b5fc772d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 28 Sep 2026 03:39:30 +0200 Subject: snd: move sound actions and AIs to KingSystem/Sound They link with KingSystem/Sound (0x7100fe8b54-0x7101060ed4) as sorted Action/AI passes of their own. The three area tag actions keep their game base AreaTagAction, which links in the Game/Actor/Area block. (AI assisted using Claude Fable 5.1 and Claude Opus 5.5) --- .../Action/actionSceneSoundSetStartProcAction.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.cpp (limited to 'src/KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.cpp') diff --git a/src/KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.cpp b/src/KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.cpp new file mode 100644 index 00000000..8e3d47c5 --- /dev/null +++ b/src/KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.cpp @@ -0,0 +1,19 @@ +#include "KingSystem/Sound/Actor/Action/actionSceneSoundSetStartProcAction.h" + +namespace ksys::snd { + +SceneSoundSetStartProcAction::SceneSoundSetStartProcAction(const InitArg& arg) + : ksys::act::ai::Action(arg) {} + +SceneSoundSetStartProcAction::~SceneSoundSetStartProcAction() = default; + +bool SceneSoundSetStartProcAction::init_(sead::Heap* heap) { + return ksys::act::ai::Action::init_(heap); +} + +void SceneSoundSetStartProcAction::loadParams_() { + getDynamicParam(&mBgmCtrlType_d, "BgmCtrlType"); + getDynamicParam(&mSeCtrlType_d, "SeCtrlType"); +} + +} // namespace ksys::snd -- cgit v1.2.3