add WrapChangeSteps, ChangeDifficulty->ChangeSteps

This commit is contained in:
Chris Danford
2008-08-01 11:14:06 +00:00
parent bc542691ff
commit dc76e93d98
2 changed files with 32 additions and 16 deletions
+2 -1
View File
@@ -58,7 +58,7 @@ protected:
virtual bool GenericTweenOff() const { return true; }
void UpdateSelectButton( PlayerNumber pn, bool bBeingPressed );
void ChangeDifficulty( PlayerNumber pn, int dir );
void ChangeSteps( PlayerNumber pn, int dir );
void AfterStepsOrTrailChange( const vector<PlayerNumber> &vpns );
void SwitchToPreferredDifficulty();
@@ -85,6 +85,7 @@ protected:
ThemeMetric<bool> USE_PLAYER_SELECT_MENU;
ThemeMetric<bool> SELECT_MENU_CHANGES_DIFFICULTY;
ThemeMetric<bool> TWO_PART_SELECTION;
ThemeMetric<bool> WRAP_CHANGE_STEPS;
bool CanChangeSong() const { return m_SelectionState == SelectionState_SelectingSong; }
bool CanChangeSteps() const { return TWO_PART_SELECTION ? m_SelectionState == SelectionState_SelectingSteps : m_SelectionState == SelectionState_SelectingSong; }