From 75d595878a05f9887d075bdd5bfe9e0fdb97a4d7 Mon Sep 17 00:00:00 2001 From: Henrik Andersson Date: Sat, 4 Jun 2011 14:55:38 +0200 Subject: [PATCH] [loading window] Reporting progress for more than just song loading. --- src/StepMania.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/StepMania.cpp b/src/StepMania.cpp index 97a897820a..46cb06a12f 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -1054,19 +1054,26 @@ int main(int argc, char* argv[]) if( PREFSMAN->m_iSoundWriteAhead ) LOG->Info( "Sound writeahead has been overridden to %i", PREFSMAN->m_iSoundWriteAhead.Get() ); + + pLoadingWindow->SetText("Starting sound subsystem..."); SOUNDMAN = new RageSoundManager; SOUNDMAN->Init(); SOUNDMAN->SetMixVolume(); SOUND = new GameSoundManager; + pLoadingWindow->SetText("Initializing bookkeeper..."); BOOKKEEPER = new Bookkeeper; + pLoadingWindow->SetText("Starting lights subsystem..."); LIGHTSMAN = new LightsManager; INPUTFILTER = new InputFilter; INPUTMAPPER = new InputMapper; + pLoadingWindow->SetText("Loading game type..."); StepMania::ChangeCurrentGame( GAMESTATE->GetCurrentGame() ); INPUTQUEUE = new InputQueue; + pLoadingWindow->SetText("Building song cache index..."); SONGINDEX = new SongCacheIndex; + pLoadingWindow->SetText("Building banner cache..."); BANNERCACHE = new BannerCache; //BACKGROUNDCACHE = new BackgroundCache; @@ -1076,16 +1083,22 @@ int main(int argc, char* argv[]) CRYPTMAN = new CryptManager; // need to do this before ProfileMan if( PREFSMAN->m_bSignProfileData ) CRYPTMAN->GenerateGlobalKeys(); + pLoadingWindow->SetText("Initializing memory card system..."); MEMCARDMAN = new MemoryCardManager; + pLoadingWindow->SetText("Initializing character system..."); CHARMAN = new CharacterManager; + pLoadingWindow->SetText("Initializing profile system..."); PROFILEMAN = new ProfileManager; PROFILEMAN->Init(); // must load after SONGMAN UNLOCKMAN = new UnlockManager; + pLoadingWindow->SetText("Updating popular song list..."); SONGMAN->UpdatePopular(); SONGMAN->UpdatePreferredSort(); NSMAN = new NetworkSyncManager( pLoadingWindow ); + pLoadingWindow->SetText("Initializing message system..."); MESSAGEMAN = new MessageManager; + pLoadingWindow->SetText("Initializing statics manager..."); STATSMAN = new StatsManager; SAFE_DELETE( pLoadingWindow ); // destroy this before init'ing Display