remove code to play cancel sound and put the cancel sound in the transition

This commit is contained in:
Chris Danford
2005-03-20 08:23:08 +00:00
parent 50e7492e93
commit 9cfa779956
9 changed files with 3 additions and 17 deletions
+1 -9
View File
@@ -89,10 +89,9 @@ void ScreenManager::ThemeChanged()
// reload common sounds
m_soundStart.Load( THEME->GetPathS("Common","start") );
m_soundCoin.Load( THEME->GetPathS("Common","coin") );
m_soundCoin.Load( THEME->GetPathS("Common","coin"), true );
m_soundInvalid.Load( THEME->GetPathS("Common","invalid") );
m_soundScreenshot.Load( THEME->GetPathS("Common","screenshot") );
m_soundCancel.Load( THEME->GetPathS("Common","cancel") );
// reload overlay screens
for( unsigned i=0; i<m_OverlayScreens.size(); i++ )
@@ -635,13 +634,6 @@ void ScreenManager::PlayScreenshotSound()
m_soundScreenshot.Play( &p );
}
void ScreenManager::PlayCancelSound()
{
RageSoundParams p;
p.m_Volume = PREFSMAN->m_fSoundVolume;
m_soundCancel.Play( &p );
}
void ScreenManager::PlaySharedBackgroundOffCommand()
{
m_pSharedBGA->PlayCommand("Off");