Consolidate player option and song option screens. Are people ok with this?
This commit is contained in:
@@ -1 +1 @@
|
||||
_options to options
|
||||
_fade out with sound
|
||||
@@ -2299,12 +2299,12 @@ PrevScreenOni=ScreenSelectCourse
|
||||
PrevScreenEndless=ScreenSelectCourse
|
||||
PrevScreenBattle=ScreenSelectMusic
|
||||
PrevScreenRave=ScreenSelectMusic
|
||||
NextScreenArcade=ScreenSongOptions
|
||||
NextScreenNonstop=ScreenSongOptions
|
||||
NextScreenOni=ScreenSongOptions
|
||||
NextScreenEndless=ScreenSongOptions
|
||||
NextScreenBattle=ScreenSongOptions
|
||||
NextScreenRave=ScreenSongOptions
|
||||
NextScreenArcade=ScreenStage
|
||||
NextScreenNonstop=ScreenStage
|
||||
NextScreenOni=ScreenStage
|
||||
NextScreenEndless=ScreenStage
|
||||
NextScreenBattle=ScreenStage
|
||||
NextScreenRave=ScreenStage
|
||||
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes
|
||||
TimerSeconds=30
|
||||
Beginner=BEGINNER
|
||||
@@ -2326,7 +2326,7 @@ NextScreenNonstop= // should never get here
|
||||
NextScreenOni= // should never get here
|
||||
NextScreenEndless= // should never get here
|
||||
NextScreenBattle= // should never get here
|
||||
NextScreenRave=ScreenSongOptions
|
||||
NextScreenRave=ScreenStage
|
||||
HelpText=&UP; &DOWN; to change line &LEFT; &RIGHT; to select between options START to accept changes
|
||||
TimerSeconds=30
|
||||
|
||||
|
||||
@@ -272,7 +272,7 @@ void ScreenOptions::InitOptionsText()
|
||||
else
|
||||
option.SetX( ITEM_X[p] );
|
||||
|
||||
UpdateText( (PlayerNumber)p );
|
||||
UpdateText( (PlayerNumber)p, j );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -416,15 +416,14 @@ void ScreenOptions::TweenCursor( PlayerNumber player_no )
|
||||
highlight.SetXY( (float)iX, (float)iY );
|
||||
}
|
||||
|
||||
void ScreenOptions::UpdateText( PlayerNumber player_no )
|
||||
void ScreenOptions::UpdateText( PlayerNumber player_no, int row )
|
||||
{
|
||||
int iCurRow = m_iCurrentRow[player_no];
|
||||
int iChoiceInRow = m_iSelectedOption[player_no][iCurRow];
|
||||
int iChoiceInRow = m_iSelectedOption[player_no][row];
|
||||
|
||||
bool bLotsOfOptions = m_bRowIsLong[iCurRow];
|
||||
bool bLotsOfOptions = m_bRowIsLong[row];
|
||||
|
||||
if( bLotsOfOptions )
|
||||
m_textItems[iCurRow][player_no].SetText( m_OptionRow[iCurRow].choices[iChoiceInRow] );
|
||||
m_textItems[row][player_no].SetText( m_OptionRow[row].choices[iChoiceInRow] );
|
||||
}
|
||||
|
||||
void ScreenOptions::UpdateEnabledDisabled()
|
||||
@@ -755,15 +754,16 @@ void ScreenOptions::ChangeValue( PlayerNumber pn, int iDelta )
|
||||
if( row.bOneChoiceForAllPlayers )
|
||||
{
|
||||
for( int p2=0; p2<NUM_PLAYERS; p2++ )
|
||||
{
|
||||
m_iSelectedOption[p2][iCurRow] = iNewSel;
|
||||
UpdateText( (PlayerNumber)p2, iCurRow );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_iSelectedOption[p][iCurRow] = iNewSel;
|
||||
UpdateText( (PlayerNumber)p, iCurRow );
|
||||
}
|
||||
|
||||
|
||||
UpdateText( (PlayerNumber)p );
|
||||
}
|
||||
m_SoundChangeCol.Play();
|
||||
OnChange();
|
||||
|
||||
@@ -70,7 +70,7 @@ protected:
|
||||
void PositionCursors();
|
||||
void PositionItems();
|
||||
void TweenCursor( PlayerNumber player_no );
|
||||
void UpdateText( PlayerNumber player_no );
|
||||
void UpdateText( PlayerNumber player_no, int row );
|
||||
void UpdateEnabledDisabled();
|
||||
virtual void OnChange();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user