Volume setting

This commit is contained in:
Mark Suckerberg
2025-12-30 13:15:50 -06:00
parent b5568d5493
commit c30a9e3520
6 changed files with 22 additions and 1 deletions

View File

@@ -21,4 +21,8 @@ namespace game
}
void Resources::sound_play(audio::Type type) { audio[type].play(); }
void Resources::set_audio_gain(float vol) {
Audio::set_gain(vol);
}
}