From b1c26c4869bae762494c5f474a9bc9bcbe5b49c4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Apr 2007 03:55:06 +0000 Subject: [PATCH] PlayersFinalized removed --- stepmania/src/ScreenSelect.cpp | 22 ---------------------- stepmania/src/ScreenSelect.h | 3 --- 2 files changed, 25 deletions(-) diff --git a/stepmania/src/ScreenSelect.cpp b/stepmania/src/ScreenSelect.cpp index 82b5551cc8..ee1757e0b3 100644 --- a/stepmania/src/ScreenSelect.cpp +++ b/stepmania/src/ScreenSelect.cpp @@ -62,8 +62,6 @@ void ScreenSelect::BeginScreen() { ScreenWithMenuElements::BeginScreen(); - m_bTimeToFinalizePlayers = false; - m_timerIdleComment.GetDeltaTime(); m_timerIdleTimeout.GetDeltaTime(); @@ -185,29 +183,9 @@ void ScreenSelect::HandleScreenMessage( const ScreenMessage SM ) SCREENMAN->RefreshCreditsMessages(); - // - // Finalize players if we set a style on this screen. - // - FOREACH_HumanPlayer( p ) - { - const int sel = GetSelectionIndex( p ); - if( m_aGameCommands[sel].m_pStyle ) - { - m_bTimeToFinalizePlayers = true; - break; - } - } - if( !IsTransitioning() ) StartTransitioningScreen( SM_GoToNextScreen ); } - else if( SM == SM_GoToNextScreen ) - { - /* Finalizing players can take a long time, since it reads profile data. Do it - * here.(XXX: this should be done in a separate screen.) */ - if( m_bTimeToFinalizePlayers ) - GAMESTATE->PlayersFinalized(); - } ScreenWithMenuElements::HandleScreenMessage( SM ); } diff --git a/stepmania/src/ScreenSelect.h b/stepmania/src/ScreenSelect.h index 128f4e9563..0e9ecf4d58 100644 --- a/stepmania/src/ScreenSelect.h +++ b/stepmania/src/ScreenSelect.h @@ -35,9 +35,6 @@ protected: ThemeMetric IDLE_COMMENT_SECONDS; ThemeMetric IDLE_TIMEOUT_SECONDS; ThemeMetric ALLOW_DISABLED_PLAYER_INPUT; - -private: - bool m_bTimeToFinalizePlayers; }; #endif