add sound volume menu option

This commit is contained in:
Chris Danford
2003-10-12 20:34:46 +00:00
parent 24e984b444
commit 037c26e20b
4 changed files with 19 additions and 2 deletions
+6
View File
@@ -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 )