add input options and gameplay options
This commit is contained in:
@@ -165,9 +165,41 @@ static void NumBackgrounds( int &sel, bool ToSel, const CStringArray &choices )
|
|||||||
PREFSMAN->m_iNumBackgrounds = (sel+1) * 5;
|
PREFSMAN->m_iNumBackgrounds = (sel+1) * 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Input options */
|
||||||
|
MOVE( AutoMapJoysticks, PREFSMAN->m_bAutoMapJoysticks );
|
||||||
|
MOVE( MenuButtons, PREFSMAN->m_bOnlyDedicatedMenuButtons );
|
||||||
|
MOVE( AutoPlay, PREFSMAN->m_bAutoPlay );
|
||||||
|
MOVE( BackDelayed, PREFSMAN->m_bDelayedEscape );
|
||||||
|
MOVE( OptionsNavigation, PREFSMAN->m_bArcadeOptionsNavigation );
|
||||||
|
|
||||||
|
static void WheelSpeed( int &sel, bool ToSel, const CStringArray &choices )
|
||||||
|
{
|
||||||
|
if( ToSel )
|
||||||
|
{
|
||||||
|
sel =
|
||||||
|
(PREFSMAN->m_iMusicWheelSwitchSpeed <= 5)? 0:
|
||||||
|
(PREFSMAN->m_iMusicWheelSwitchSpeed <= 10)? 1:
|
||||||
|
(PREFSMAN->m_iMusicWheelSwitchSpeed <= 15)? 2:3;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
int map[] = { 5, 10, 15, 25 };
|
||||||
|
ASSERT( sel >= 0 && sel < 4 );
|
||||||
|
PREFSMAN->m_iMusicWheelSwitchSpeed = map[sel];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Gameplay options */
|
||||||
|
MOVE( SoloSingles, PREFSMAN->m_bSoloSingle );
|
||||||
|
MOVE( HiddenSongs, PREFSMAN->m_bHiddenSongs );
|
||||||
|
MOVE( EasterEggs, PREFSMAN->m_bEasterEggs );
|
||||||
|
MOVE( MarvelousTiming, PREFSMAN->m_iMarvelousTiming );
|
||||||
|
MOVE( PickExtraStage, PREFSMAN->m_bPickExtraStage );
|
||||||
|
MOVE( UnlockSystem, PREFSMAN->m_bUseUnlockSystem );
|
||||||
|
|
||||||
/* Sound options */
|
/* Sound options */
|
||||||
MOVE( PreloadSounds, PREFSMAN->m_bSoundPreloadAll );
|
MOVE( PreloadSounds, PREFSMAN->m_bSoundPreloadAll );
|
||||||
MOVE( ResamplingQuality,PREFSMAN->m_iSoundResampleQuality );
|
MOVE( ResamplingQuality, PREFSMAN->m_iSoundResampleQuality );
|
||||||
|
|
||||||
|
|
||||||
static const ConfOption g_ConfOptions[] =
|
static const ConfOption g_ConfOptions[] =
|
||||||
@@ -200,6 +232,22 @@ static const ConfOption g_ConfOptions[] =
|
|||||||
ConfOption( "Beginner\nHelper", BeginnerHelper, "OFF","ON" ),
|
ConfOption( "Beginner\nHelper", BeginnerHelper, "OFF","ON" ),
|
||||||
ConfOption( "Random\nBackgrounds", NumBackgrounds, "5","10","15","20" ),
|
ConfOption( "Random\nBackgrounds", NumBackgrounds, "5","10","15","20" ),
|
||||||
|
|
||||||
|
/* Input options */
|
||||||
|
ConfOption( "Auto Map\nJoysticks", AutoMapJoysticks, "OFF","ON (recommended)" ),
|
||||||
|
ConfOption( "MenuButtons", MenuButtons, "USE GAMEPLAY BUTTONS","ONLY DEDICATED BUTTONS" ),
|
||||||
|
ConfOption( "AutoPlay", AutoPlay, "OFF","ON" ),
|
||||||
|
ConfOption( "Back\nDelayed", BackDelayed, "INSTANT","HOLD" ),
|
||||||
|
ConfOption( "Options\nNavigation", OptionsNavigation, "SM STYLE","ARCADE STYLE" ),
|
||||||
|
ConfOption( "Wheel\nSpeed", WheelSpeed, "SLOW","NORMAL","FAST","REALLY FAST" ),
|
||||||
|
|
||||||
|
/* Gameplay options */
|
||||||
|
ConfOption( "Solo\nSingles", SoloSingles, "OFF","ON" ),
|
||||||
|
ConfOption( "Hidden\nSongs", HiddenSongs, "OFF","ON" ),
|
||||||
|
ConfOption( "Easter\nEggs", EasterEggs, "OFF","ON" ),
|
||||||
|
ConfOption( "Marvelous\nTiming", MarvelousTiming, "NEVER","COURSES ONLY","ALWAYS" ),
|
||||||
|
ConfOption( "Pick Extra\nStage", PickExtraStage, "OFF","ON" ),
|
||||||
|
ConfOption( "Unlock\nSystem", UnlockSystem, "OFF","ON" ),
|
||||||
|
|
||||||
/* Sound options */
|
/* Sound options */
|
||||||
ConfOption( "Preload\nSounds", PreloadSounds, "NO","YES" ),
|
ConfOption( "Preload\nSounds", PreloadSounds, "NO","YES" ),
|
||||||
ConfOption( "Resampling\nQuality", ResamplingQuality, "FAST","NORMAL","HIGH QUALITY" ),
|
ConfOption( "Resampling\nQuality", ResamplingQuality, "FAST","NORMAL","HIGH QUALITY" ),
|
||||||
|
|||||||
Reference in New Issue
Block a user