Broke GameOptions into Input and Machine Options. Added "OptionsNavigation" option.

This commit is contained in:
Chris Danford
2002-09-10 09:10:36 +00:00
parent d3c44fbdc0
commit ad68ba1bd4
13 changed files with 370 additions and 32 deletions
+14 -7
View File
@@ -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 )