move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user