diff options
| author | Elijah Thomas <42302100+elijah-thomas774@users.noreply.github.com> | 2025-06-08 12:52:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-08 12:52:45 -0400 |
| commit | 5f65ed3866d88973965ca6bd1c3750877d4fd2d7 (patch) | |
| tree | e16f5ed701647beb32fa8d689ec70bdd0161b4a1 /src/d/d_message.cpp | |
| parent | 367358940b73b7a2e8f0c6defd99cfec6ee2df20 (diff) | |
| parent | 1af832d875b1d6ba9364e0990c68cebb610a4683 (diff) | |
Merge pull request #197 from robojumper/d_snd
start matching some d/snd things
Diffstat (limited to 'src/d/d_message.cpp')
| -rw-r--r-- | src/d/d_message.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/d/d_message.cpp b/src/d/d_message.cpp index 83add314..d8651932 100644 --- a/src/d/d_message.cpp +++ b/src/d/d_message.cpp @@ -22,6 +22,8 @@ #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_small_effect_mgr.h" +#include "d/snd/d_snd_source_mgr.h" #include "egg/core/eggHeap.h" #include "f/f_base.h" #include "f/f_profile.h" @@ -38,7 +40,6 @@ #include "toBeSorted/file_manager.h" #include "toBeSorted/minigame_mgr.h" #include "toBeSorted/music_mgrs.h" -#include "toBeSorted/small_sound_mgr.h" #include "toBeSorted/unk_save_time.h" #include "rvl/OS.h" @@ -198,7 +199,7 @@ void dFlow_c::playSound(u32 params) { return; } if (params >= 100) { - fn_803858D0(ENEMY_BGM_RELATED_MGR); + dSndSourceMgr_c::GetInstance()->playFlowSound(params); return; } @@ -216,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 1: SmallSoundManager::GetInstance()->playSound(sSoundDefs[idx].mSoundId); break; + case 1: dSndSmallEffectMgr_c::GetInstance()->playSound(sSoundDefs[idx].mSoundId); break; } } |
