move some options to "Coin Options" group
This commit is contained in:
@@ -253,9 +253,30 @@ MOVE( MarvelousTiming, PREFSMAN->m_iMarvelousTiming );
|
|||||||
MOVE( PickExtraStage, PREFSMAN->m_bPickExtraStage );
|
MOVE( PickExtraStage, PREFSMAN->m_bPickExtraStage );
|
||||||
MOVE( UnlockSystem, PREFSMAN->m_bUseUnlockSystem );
|
MOVE( UnlockSystem, PREFSMAN->m_bUseUnlockSystem );
|
||||||
|
|
||||||
|
/* Coin options */
|
||||||
|
MOVE( CoinMode, PREFSMAN->m_iCoinMode );
|
||||||
|
|
||||||
|
static void CoinsPerCredit( int &sel, bool ToSel, const CStringArray &choices )
|
||||||
|
{
|
||||||
|
const int mapping[] = { 1,2,3,4,5,6,7,8 };
|
||||||
|
MoveMap( sel, PREFSMAN->m_iCoinsPerCredit, ToSel, mapping, ARRAYSIZE(mapping) );
|
||||||
|
}
|
||||||
|
|
||||||
|
MOVE( JointPremium, PREFSMAN->m_bJointPremium );
|
||||||
|
|
||||||
|
static void SongsPerPlay( int &sel, bool ToSel, const CStringArray &choices )
|
||||||
|
{
|
||||||
|
const int mapping[] = { 1,2,3,4,5,6,7,8 };
|
||||||
|
MoveMap( sel, PREFSMAN->m_iNumArcadeStages, ToSel, mapping, ARRAYSIZE(mapping) );
|
||||||
|
|
||||||
|
if( ToSel && PREFSMAN->m_bEventMode )
|
||||||
|
sel = 7;
|
||||||
|
if( !ToSel )
|
||||||
|
PREFSMAN->m_bEventMode = (sel == 7);
|
||||||
|
}
|
||||||
|
|
||||||
/* Machine options */
|
/* Machine options */
|
||||||
MOVE( MenuTimer, PREFSMAN->m_bMenuTimer );
|
MOVE( MenuTimer, PREFSMAN->m_bMenuTimer );
|
||||||
MOVE( CoinMode, PREFSMAN->m_iCoinMode );
|
|
||||||
MOVE( ScoringType, PREFSMAN->m_iScoringType );
|
MOVE( ScoringType, PREFSMAN->m_iScoringType );
|
||||||
|
|
||||||
static void JudgeDifficulty( int &sel, bool ToSel, const CStringArray &choices )
|
static void JudgeDifficulty( int &sel, bool ToSel, const CStringArray &choices )
|
||||||
@@ -276,12 +297,6 @@ static void ShowSongOptions( int &sel, bool ToSel, const CStringArray &choices )
|
|||||||
MoveMap( sel, PREFSMAN->m_ShowSongOptions, ToSel, mapping, ARRAYSIZE(mapping) );
|
MoveMap( sel, PREFSMAN->m_ShowSongOptions, ToSel, mapping, ARRAYSIZE(mapping) );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CoinsPerCredit( int &sel, bool ToSel, const CStringArray &choices )
|
|
||||||
{
|
|
||||||
const int mapping[] = { 1,2,3,4,5,6,7,8 };
|
|
||||||
MoveMap( sel, PREFSMAN->m_iCoinsPerCredit, ToSel, mapping, ARRAYSIZE(mapping) );
|
|
||||||
}
|
|
||||||
|
|
||||||
static void DefaultFailType( int &sel, bool ToSel, const CStringArray &choices )
|
static void DefaultFailType( int &sel, bool ToSel, const CStringArray &choices )
|
||||||
{
|
{
|
||||||
if( ToSel )
|
if( ToSel )
|
||||||
@@ -311,20 +326,6 @@ MOVE( ProgressiveLifebar, PREFSMAN->m_iProgressiveLifebar );
|
|||||||
MOVE( ProgressiveStageLifebar, PREFSMAN->m_iProgressiveStageLifebar );
|
MOVE( ProgressiveStageLifebar, PREFSMAN->m_iProgressiveStageLifebar );
|
||||||
MOVE( ProgressiveNonstopLifebar, PREFSMAN->m_iProgressiveNonstopLifebar );
|
MOVE( ProgressiveNonstopLifebar, PREFSMAN->m_iProgressiveNonstopLifebar );
|
||||||
|
|
||||||
MOVE( JointPremium, PREFSMAN->m_bJointPremium );
|
|
||||||
|
|
||||||
|
|
||||||
static void SongsPerPlay( int &sel, bool ToSel, const CStringArray &choices )
|
|
||||||
{
|
|
||||||
const int mapping[] = { 1,2,3,4,5,6,7,8 };
|
|
||||||
MoveMap( sel, PREFSMAN->m_iNumArcadeStages, ToSel, mapping, ARRAYSIZE(mapping) );
|
|
||||||
|
|
||||||
if( ToSel && PREFSMAN->m_bEventMode )
|
|
||||||
sel = 7;
|
|
||||||
if( !ToSel )
|
|
||||||
PREFSMAN->m_bEventMode = (sel == 7);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Graphic options */
|
/* Graphic options */
|
||||||
MOVE( DisplayMode, PREFSMAN->m_bWindowed );
|
MOVE( DisplayMode, PREFSMAN->m_bWindowed );
|
||||||
MOVE( WaitForVsync, PREFSMAN->m_bVsync );
|
MOVE( WaitForVsync, PREFSMAN->m_bVsync );
|
||||||
|
|||||||
Reference in New Issue
Block a user