working on new course editor

This commit is contained in:
Chris Danford
2005-06-26 21:31:07 +00:00
parent 6203875335
commit 7a1d736694
20 changed files with 705 additions and 190 deletions
+9 -4
View File
@@ -768,10 +768,6 @@ void ScreenOptions::MenuStart( PlayerNumber pn, const InputEventType type )
break;
}
int iCurRow = m_iCurrentRow[pn];
OptionRow &row = *m_pRows[iCurRow];
/* If we are in a three-button mode, check to see if MENU_BUTTON_LEFT and
* MENU_BUTTON_RIGHT are being held. */
switch( m_OptionsNavigation )
@@ -789,6 +785,14 @@ void ScreenOptions::MenuStart( PlayerNumber pn, const InputEventType type )
}
}
}
this->ProcessMenuStart( pn, type );
}
void ScreenOptions::ProcessMenuStart( PlayerNumber pn, const InputEventType type )
{
int iCurRow = m_iCurrentRow[pn];
OptionRow &row = *m_pRows[iCurRow];
//
// Check whether Start ends this screen.
@@ -1000,6 +1004,7 @@ void ScreenOptions::ChangeValueInRow( PlayerNumber pn, int iDelta, bool Repeat )
UpdateText( iCurRow );
OnChange( pn );
this->AfterChangeValueInRow( pn );
if( m_OptionsNavigation != NAV_THREE_KEY_MENU )
m_SoundChangeCol.Play();