Broke GameOptions into Input and Machine Options. Added "OptionsNavigation" option.
This commit is contained in:
@@ -445,15 +445,22 @@ void ScreenOptions::MenuBack( PlayerNumber pn )
|
||||
|
||||
void ScreenOptions::MenuStart( PlayerNumber pn )
|
||||
{
|
||||
bool bAllOnExit = true;
|
||||
for( int p=0; p<NUM_PLAYERS; p++ )
|
||||
if( GAMESTATE->IsPlayerEnabled(p) && m_iCurrentRow[p] != m_iNumOptionRows )
|
||||
bAllOnExit = false;
|
||||
if( PREFSMAN->m_bArcadeOptionsNavigation )
|
||||
{
|
||||
bool bAllOnExit = true;
|
||||
for( int p=0; p<NUM_PLAYERS; p++ )
|
||||
if( GAMESTATE->IsPlayerEnabled(p) && m_iCurrentRow[p] != m_iNumOptionRows )
|
||||
bAllOnExit = false;
|
||||
|
||||
if( m_iCurrentRow[pn] != m_iNumOptionRows ) // not on exit
|
||||
MenuDown( pn ); // can't go down any more
|
||||
else if( bAllOnExit )
|
||||
if( m_iCurrentRow[pn] != m_iNumOptionRows ) // not on exit
|
||||
MenuDown( pn ); // can't go down any more
|
||||
else if( bAllOnExit )
|
||||
this->SendScreenMessage( SM_TweenOffScreen, 0 );
|
||||
}
|
||||
else // !m_bArcadeOptionsNavigation
|
||||
{
|
||||
this->SendScreenMessage( SM_TweenOffScreen, 0 );
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenOptions::MenuLeft( PlayerNumber pn )
|
||||
|
||||
Reference in New Issue
Block a user