summaryrefslogtreecommitdiff
path: root/src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2026-09-28 03:39:30 +0200
committerLéo Lam <leo@leolam.fr>2026-10-06 03:19:38 +0200
commita168b93bbcf603816bf718962fc4d706b5fc772d (patch)
treead3af063d67313243431beef39f4f58b6e6ce2b3 /src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp
parent7bc225838a580adea925fd56421f520db4c5d393 (diff)
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)
Diffstat (limited to 'src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp')
-rw-r--r--src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp b/src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp
new file mode 100644
index 00000000..35ce1f95
--- /dev/null
+++ b/src/KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.cpp
@@ -0,0 +1,18 @@
+#include "KingSystem/Sound/Actor/Action/actionSceneSoundStartDuckingAction.h"
+
+namespace ksys::snd {
+
+SceneSoundStartDuckingAction::SceneSoundStartDuckingAction(const InitArg& arg)
+ : ksys::act::ai::Action(arg) {}
+
+SceneSoundStartDuckingAction::~SceneSoundStartDuckingAction() = default;
+
+bool SceneSoundStartDuckingAction::init_(sead::Heap* heap) {
+ return ksys::act::ai::Action::init_(heap);
+}
+
+void SceneSoundStartDuckingAction::loadParams_() {
+ getDynamicParam(&mDuckerType_d, "DuckerType");
+}
+
+} // namespace ksys::snd