add sound volume menu option
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "ScreenOptionsMasterPrefs.h"
|
||||
#include "RageSounds.h"
|
||||
#include "StepMania.h"
|
||||
#include "RageSoundManager.h"
|
||||
|
||||
#define OPTION_MENU_FLAGS THEME->GetMetric (m_sName,"OptionMenuFlags")
|
||||
#define ROW_LINE(i) THEME->GetMetric (m_sName,ssprintf("Line%i",(i+1)))
|
||||
@@ -531,6 +532,11 @@ void ScreenOptionsMaster::ExportOptions()
|
||||
ResetGame();
|
||||
m_NextScreen = "";
|
||||
}
|
||||
|
||||
if( ChangeMask & OPT_APPLY_SOUND )
|
||||
{
|
||||
SOUNDMAN->SetPrefs( PREFSMAN->m_fSoundVolume );
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenOptionsMaster::MenuStart( PlayerNumber pn )
|
||||
|
||||
Reference in New Issue
Block a user