Added debug key for toggling action sounds off. Touches every place that RageSound::Play is called, hope I didn't miss one.

This commit is contained in:
Kyzentun
2015-02-28 06:25:02 -07:00
parent d35933f1e5
commit b293a8c073
38 changed files with 165 additions and 131 deletions
+5 -5
View File
@@ -449,7 +449,7 @@ bool ScreenMapControllers::Input( const InputEventPlus &input )
INPUTMAPPER->AddDefaultMappingsForCurrentGameIfUnmapped();
m_soundDelete.Play();
m_soundDelete.Play(true);
bHandled = true;
}
break;
@@ -469,7 +469,7 @@ bool ScreenMapControllers::Input( const InputEventPlus &input )
--m_CurSlot;
}
AfterChangeFocus();
m_soundChange.Play();
m_soundChange.Play(true);
bHandled = true;
break;
case KEY_RIGHT: // Move the selection right, wrapping down.
@@ -485,7 +485,7 @@ bool ScreenMapControllers::Input( const InputEventPlus &input )
m_CurController++;
}
AfterChangeFocus();
m_soundChange.Play();
m_soundChange.Play(true);
bHandled = true;
break;
case KEY_UP: // Move the selection up.
@@ -496,7 +496,7 @@ bool ScreenMapControllers::Input( const InputEventPlus &input )
BeforeChangeFocus();
m_CurButton--;
AfterChangeFocus();
m_soundChange.Play();
m_soundChange.Play(true);
bHandled = true;
break;
case KEY_DOWN: // Move the selection down.
@@ -507,7 +507,7 @@ bool ScreenMapControllers::Input( const InputEventPlus &input )
BeforeChangeFocus();
m_CurButton++;
AfterChangeFocus();
m_soundChange.Play();
m_soundChange.Play(true);
bHandled = true;
break;
case KEY_ESC: // Quit the screen.