move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism

This commit is contained in:
Chris Danford
2004-05-01 23:19:33 +00:00
parent 1d2d1927a6
commit df5cd5e813
57 changed files with 262 additions and 493 deletions
+8
View File
@@ -367,6 +367,7 @@ ScreenManager::ScreenManager()
m_soundCoin.Load( THEME->GetPathS("Common","coin") );
m_soundInvalid.Load( THEME->GetPathS("Common","invalid") );
m_soundScreenshot.Load( THEME->GetPathS("Common","screenshot") );
m_soundBack.Load( THEME->GetPathS("Common","back") );
}
@@ -773,3 +774,10 @@ void ScreenManager::PlayScreenshotSound()
p.m_Volume = PREFSMAN->m_fSoundVolume;
m_soundScreenshot.Play( &p );
}
void ScreenManager::PlayBackSound()
{
RageSoundParams p;
p.m_Volume = PREFSMAN->m_fSoundVolume;
m_soundBack.Play( &p );
}