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:
Chris Danford
2005-05-19 23:29:39 +00:00
parent f20e5915b0
commit d67d60e178
34 changed files with 902 additions and 383 deletions
+2 -2
View File
@@ -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 ) );