Skip to content

Commit

Permalink
Hide sound manager implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
klei1984 committed Oct 1, 2023
1 parent 8b8012a commit 96af8c4
Show file tree
Hide file tree
Showing 24 changed files with 294 additions and 262 deletions.
2 changes: 1 addition & 1 deletion src/buildmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ void MobileBuildMenu::Build() {
MessageManager_DrawMessage(_(06cb), 0, 0);

if (ini_get_setting(INI_GAME_FILE_TYPE) == GAME_TYPE_TRAINING) {
SoundManager.PlayVoice(V_M049, V_F050);
SoundManager_PlayVoice(V_M049, V_F050);
}

} else {
Expand Down
2 changes: 1 addition & 1 deletion src/button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ void Button::SetRestState(bool rest_state) {
}
}

void Button::PlaySound() const { SoundManager.PlaySfx(sfx); }
void Button::PlaySound() const { SoundManager_PlaySfx(sfx); }

void Button::SetSfx(ResourceID id) { sfx = id; }

Expand Down
Loading

0 comments on commit 96af8c4

Please sign in to comment.