This commit is contained in:
Glenn Maynard
2004-05-24 01:28:28 +00:00
parent 0a50fc0109
commit df56b72b33
4 changed files with 3 additions and 11 deletions
+3
View File
@@ -317,6 +317,9 @@ void GameState::EndGame()
{
LOG->Trace( "GameState::EndGame" );
/* Finish the final stage. */
FinishStage();
// Update profile stats
int iPlaySeconds = max( 0, (int) m_timeGameStarted.PeekDeltaTime() );
-4
View File
@@ -23,7 +23,6 @@
#include "BitmapText.h"
#include "ActorUtil.h"
#include "SongUtil.h"
#include "GameState.h"
#define BACKGROUNDS_SPACING_X THEME->GetMetricF("ScreenCredits","BackgroundsSpacingX")
@@ -170,9 +169,6 @@ static const CreditLine CREDIT_LINES[] =
ScreenCredits::ScreenCredits( CString sName ) : ScreenAttract( sName )
{
/* Make sure the last stage was finished. */
GAMESTATE->FinishStage();
vector<Song*> arraySongs;
SONGMAN->GetSongs( arraySongs );
SongUtil::SortSongPointerArrayByTitle( arraySongs );
-3
View File
@@ -66,9 +66,6 @@ CString GetStatsLineValue( PlayerNumber pn, int iLine )
ScreenEnding::ScreenEnding( CString sClassName ) : ScreenAttract( sClassName, false/*dont reset GAMESTATE*/ )
{
/* Make sure the last stage was finished. */
GAMESTATE->FinishStage();
vector<Song*> arraySongs;
SONGMAN->GetSongs( arraySongs );
SongUtil::SortSongPointerArrayByTitle( arraySongs );
-4
View File
@@ -19,7 +19,6 @@
#include "AnnouncerManager.h"
#include "song.h"
#include "SongUtil.h"
#include "GameState.h"
#define SCROLL_DELAY THEME->GetMetricF("ScreenMusicScroll","ScrollDelay")
@@ -36,9 +35,6 @@ const unsigned NUM_CREDIT_LINES = sizeof(CREDIT_LINES) / sizeof(CString);
ScreenMusicScroll::ScreenMusicScroll( CString sClassName ) : ScreenAttract( sClassName )
{
/* Make sure the last stage was finished. */
GAMESTATE->FinishStage();
vector<Song*> arraySongs;
SONGMAN->GetSongs( arraySongs );
SongUtil::SortSongPointerArrayByTitle( arraySongs );