add option for silent attract

This commit is contained in:
Chris Danford
2003-10-12 19:45:28 +00:00
parent 575c4a0be1
commit b3d25996d8
5 changed files with 13 additions and 3 deletions
+3 -1
View File
@@ -373,6 +373,7 @@ static void RefreshRate( int &sel, bool ToSel, const CStringArray &choices )
/* Sound options */
MOVE( PreloadSounds, PREFSMAN->m_bSoundPreloadAll );
MOVE( ResamplingQuality, PREFSMAN->m_iSoundResampleQuality );
MOVE( AttractSound, PREFSMAN->m_bAttractSound );
static const ConfOption g_ConfOptions[] =
@@ -454,7 +455,8 @@ static const ConfOption g_ConfOptions[] =
/* Sound options */
ConfOption( "Preload\nSounds", PreloadSounds, "NO","YES" ),
ConfOption( "Resampling\nQuality", ResamplingQuality, "FAST","NORMAL","HIGH QUALITY" ),
ConfOption( "", NULL )
ConfOption( "Attract\nSound", AttractSound, "OFF","ON" ),
ConfOption( "", NULL ) // end marker
};
/* Get a mask of effects to apply if the given option changes. */