Merge pull request #219 from TakaRikka/feature/no-low-hp-sound

No Low HP Sound Enhancement
This commit is contained in:
TakaRikka
2026-04-04 19:02:32 -07:00
committed by GitHub
4 changed files with 13 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ struct UserSettings {
bool useWaterProjectionOffset;
// Audio
bool noLowHpSound;
bool midnasLamentNonStop;
// Cheats
+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();
+4
View File
@@ -74,6 +74,10 @@ namespace dusk {
}
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::Checkbox("Non-Stop Midna's Lament", &getSettings().game.midnasLamentNonStop);
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Prevents enemy music while Midna's Lament is playing");
+1
View File
@@ -43,6 +43,7 @@ UserSettings g_userSettings = {
.useWaterProjectionOffset = false,
// Audio
.noLowHpSound = false,
.midnasLamentNonStop = false,
// Cheats