summaryrefslogtreecommitdiff
path: root/src/d/d_message.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-06-13 11:21:04 +0200
committerrobojumper <robojumper@gmail.com>2025-09-13 10:49:03 +0200
commitf9e95f9bb03b9474bbee85b03121c9b4e158aea4 (patch)
treea99cd7311da8ceb83c86e850120ce780a9af3bc1 /src/d/d_message.cpp
parenta30123ac3d0f998fdc62027092fa63e256b2e163 (diff)
More d/snd
Diffstat (limited to 'src/d/d_message.cpp')
-rw-r--r--src/d/d_message.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_message.cpp b/src/d/d_message.cpp
index 0d56a9f8..764b066a 100644
--- a/src/d/d_message.cpp
+++ b/src/d/d_message.cpp
@@ -23,8 +23,10 @@
#include "d/lyt/d_lyt_mini_game.h"
#include "d/lyt/meter/d_lyt_meter.h"
#include "d/lyt/msg_window/d_lyt_msg_window.h"
+#include "d/snd/d_snd_bgm_mgr.h"
#include "d/snd/d_snd_small_effect_mgr.h"
#include "d/snd/d_snd_source_mgr.h"
+#include "d/snd/d_snd_state_mgr.h"
#include "egg/core/eggHeap.h"
#include "f/f_base.h"
#include "f/f_profile.h"
@@ -39,7 +41,6 @@
#include "toBeSorted/fi_context.h"
#include "toBeSorted/file_manager.h"
#include "toBeSorted/minigame_mgr.h"
-#include "toBeSorted/music_mgrs.h"
#include "toBeSorted/unk_save_time.h"
#include "rvl/OS.h"
@@ -47,7 +48,6 @@
#include <cstring>
#include <stdio.h>
-
s32 dFlow_c::sExitId = -1;
dFlow_c::dFlow_c() {
@@ -196,7 +196,7 @@ static const FlowSoundDef sSoundDefs[] = {
void dFlow_c::playSound(u32 params) {
if (params >= 1000) {
- fn_80364FD0(ENEMY_SOUND_MGR, params);
+ dSndStateMgr_c::GetInstance()->setFlowEvent(params);
return;
}
if (params >= 100) {
@@ -217,7 +217,7 @@ void dFlow_c::playSound(u32 params) {
}
switch (sSoundDefs[idx].mSoundMgr) {
- case 0: AnotherSoundMgr__playSound(FANFARE_SOUND_MGR, sSoundDefs[idx].mSoundId); break;
+ case 0: dSndBgmMgr_c::GetInstance()->playFanSound(sSoundDefs[idx].mSoundId); break;
case 1: dSndSmallEffectMgr_c::GetInstance()->playSound(sSoundDefs[idx].mSoundId); break;
}
}