remove bRepeat parameter

This commit is contained in:
Glenn Maynard
2006-02-03 08:03:25 +00:00
parent 81bcf41b7e
commit 4bf73b3d32
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -955,7 +955,7 @@ void ScreenOptions::ProcessMenuStart( const InputEventPlus &input )
case NAV_FIVE_KEY:
/* Jump to the exit row. (If everyone's already on the exit row, then
* we'll have already gone to the next screen above.) */
if( MoveRowAbsolute(pn, m_pRows.size()-1, input.type != IET_FIRST_PRESS) )
if( MoveRowAbsolute(pn, m_pRows.size()-1) )
m_SoundNextRow.Play();
break;
@@ -1165,7 +1165,7 @@ bool ScreenOptions::MoveRowRelative( PlayerNumber pn, int iDir, bool bRepeat )
return false;
}
return MoveRowAbsolute( pn, iDest, bRepeat );
return MoveRowAbsolute( pn, iDest );
}
void ScreenOptions::AfterChangeRow( PlayerNumber pn )
@@ -1209,7 +1209,7 @@ void ScreenOptions::AfterChangeRow( PlayerNumber pn )
AfterChangeValueOrRow( pn );
}
bool ScreenOptions::MoveRowAbsolute( PlayerNumber pn, int iRow, bool bRepeat )
bool ScreenOptions::MoveRowAbsolute( PlayerNumber pn, int iRow )
{
bool bChanged = false;
FOREACH_PlayerNumber( p )
+1 -1
View File
@@ -74,7 +74,7 @@ protected:
void ChangeValueInRowAbsolute( int iRow, PlayerNumber pn, int iChoiceIndex, bool bRepeat );
virtual void AfterChangeValueInRow( int iRow, PlayerNumber pn ); // override this to detect when the value in a row has changed
bool MoveRowRelative( PlayerNumber pn, int iDir, bool bRepeat );
bool MoveRowAbsolute( PlayerNumber pn, int iRow, bool bRepeat=false );
bool MoveRowAbsolute( PlayerNumber pn, int iRow );
virtual void AfterChangeRow( PlayerNumber pn ); // override this to detect when the row has changed
virtual void AfterChangeValueOrRow( PlayerNumber pn );