No Low HP Sound Enhancement

This commit is contained in:
MelonSpeedruns
2026-04-04 14:47:39 -04:00
parent 015e7aceab
commit 3dca79e375
4 changed files with 22 additions and 0 deletions
+3
View File
@@ -45,6 +45,9 @@ struct UserSettings {
bool enableBloom;
bool useWaterProjectionOffset;
// Audio
bool noLowHpSound;
// Cheats
bool enableFastIronBoots;
+7
View File
@@ -155,7 +155,14 @@ void Z2AudioMgr::zeldaGFrameWork() {
mSpeechMgr.framework();
processSeFramework();
processBgmFramework();
#if TARGET_PC
if (!dusk::getSettings().game.noLowHpSound) {
processHeartGaugeSound();
}
#else
processHeartGaugeSound();
#endif
#if DEBUG
mDebugSys.debugframework();
+9
View File
@@ -67,6 +67,15 @@ namespace dusk {
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Audio")) {
ImGui::Checkbox("No Low HP Sound", &getSettings().game.noLowHpSound);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Disable the beeping sound when having low health");
}
ImGui::EndMenu();
}
if (ImGui::BeginMenu("Cheats")) {
ImGui::Checkbox("Fast Iron Boots", &getSettings().game.enableFastIronBoots);
+3
View File
@@ -41,6 +41,9 @@ UserSettings g_userSettings = {
.enableBloom = true,
.useWaterProjectionOffset = false,
// Audio
.noLowHpSound = false,
// Cheats
.enableFastIronBoots = false,