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
+4 -4
View File
@@ -278,7 +278,7 @@ void ScreenTextEntry::TryAppendToAnswer( RString s )
wstring sNewAnswer = m_sAnswer+RStringToWstring(s);
m_sAnswer = sNewAnswer;
m_sndType.Play();
m_sndType.Play(true);
UpdateAnswerText();
}
@@ -290,7 +290,7 @@ void ScreenTextEntry::BackspaceInAnswer()
return;
}
m_sAnswer.erase( m_sAnswer.end()-1 );
m_sndBackspace.Play();
m_sndBackspace.Play(true);
UpdateAnswerText();
}
@@ -703,7 +703,7 @@ void ScreenTextEntryVisual::MoveX( int iDir )
}
while( sKey == "" );
m_sndChange.Play();
m_sndChange.Play(true);
PositionCursor();
}
@@ -735,7 +735,7 @@ void ScreenTextEntryVisual::MoveY( int iDir )
}
while( sKey == "" );
m_sndChange.Play();
m_sndChange.Play(true);
PositionCursor();
}