sync controls cleanup:
move sync display/saving out of complicated ScreenGameplay show sync UI in editor playback as well as gameplay revert sync from in-memory backup, not from disk move more functions into debug overlay
This commit is contained in:
@@ -1618,7 +1618,7 @@ void ScreenSelectMusic::AfterMusicChange()
|
||||
const vector<Song*> best = SONGMAN->GetBestSongs( PROFILE_SLOT_MACHINE );
|
||||
const int index = FindIndex( best.begin(), best.end(), pSong );
|
||||
if( index != -1 )
|
||||
m_MachineRank.SetText( AddNumberSuffix( index+1 ) );
|
||||
m_MachineRank.SetText( FormatNumberAndSuffix( index+1 ) );
|
||||
|
||||
m_DifficultyDisplay.SetDifficulties( pSong, GAMESTATE->GetCurrentStyle()->m_StepsType );
|
||||
|
||||
@@ -1753,7 +1753,7 @@ void ScreenSelectMusic::AfterMusicChange()
|
||||
const vector<Course*> best = SONGMAN->GetBestCourses( ct, PROFILE_SLOT_MACHINE );
|
||||
const int index = FindCourseIndexOfSameMode( best.begin(), best.end(), pCourse );
|
||||
if( index != -1 )
|
||||
m_MachineRank.SetText( AddNumberSuffix( index+1 ) );
|
||||
m_MachineRank.SetText( FormatNumberAndSuffix( index+1 ) );
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user