remove bRepeat parameter
This commit is contained in:
@@ -955,7 +955,7 @@ void ScreenOptions::ProcessMenuStart( const InputEventPlus &input )
|
|||||||
case NAV_FIVE_KEY:
|
case NAV_FIVE_KEY:
|
||||||
/* Jump to the exit row. (If everyone's already on the exit row, then
|
/* Jump to the exit row. (If everyone's already on the exit row, then
|
||||||
* we'll have already gone to the next screen above.) */
|
* 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();
|
m_SoundNextRow.Play();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@@ -1165,7 +1165,7 @@ bool ScreenOptions::MoveRowRelative( PlayerNumber pn, int iDir, bool bRepeat )
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return MoveRowAbsolute( pn, iDest, bRepeat );
|
return MoveRowAbsolute( pn, iDest );
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenOptions::AfterChangeRow( PlayerNumber pn )
|
void ScreenOptions::AfterChangeRow( PlayerNumber pn )
|
||||||
@@ -1209,7 +1209,7 @@ void ScreenOptions::AfterChangeRow( PlayerNumber pn )
|
|||||||
AfterChangeValueOrRow( pn );
|
AfterChangeValueOrRow( pn );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ScreenOptions::MoveRowAbsolute( PlayerNumber pn, int iRow, bool bRepeat )
|
bool ScreenOptions::MoveRowAbsolute( PlayerNumber pn, int iRow )
|
||||||
{
|
{
|
||||||
bool bChanged = false;
|
bool bChanged = false;
|
||||||
FOREACH_PlayerNumber( p )
|
FOREACH_PlayerNumber( p )
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ protected:
|
|||||||
void ChangeValueInRowAbsolute( int iRow, PlayerNumber pn, int iChoiceIndex, bool bRepeat );
|
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
|
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 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 AfterChangeRow( PlayerNumber pn ); // override this to detect when the row has changed
|
||||||
virtual void AfterChangeValueOrRow( PlayerNumber pn );
|
virtual void AfterChangeValueOrRow( PlayerNumber pn );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user