remove m_textSongs

This commit is contained in:
Glenn Maynard
2005-06-25 03:14:23 +00:00
parent 0d4dad639d
commit fe5d04f521
3 changed files with 0 additions and 20 deletions
-11
View File
@@ -6,7 +6,6 @@
#include "StepMania.h"
#include "PrefsManager.h"
#include "RageLog.h"
#include "SongManager.h"
#include "AnnouncerManager.h"
#include "GameState.h"
#include "GameManager.h"
@@ -14,7 +13,6 @@
#include "GameSoundManager.h"
#include "CodeDetector.h"
#include "RageTextureManager.h"
#include "UnlockManager.h"
#include "LightsManager.h"
#include "CommonMetrics.h"
#include "Game.h"
@@ -50,15 +48,6 @@ void ScreenTitleMenu::Init()
this->AddChild( m_sprLogo );
SET_XY_AND_ON_COMMAND( m_sprLogo );
m_textSongs.LoadFromFont( THEME->GetPathF("Common","normal") );
m_textSongs.SetName( "Songs" );
CString text = ssprintf("%d songs in %d groups, %d courses in %d groups", SONGMAN->GetNumSongs(), SONGMAN->GetNumSongGroups(), SONGMAN->GetNumCourses(), SONGMAN->GetNumCourseGroups() );
if( PREFSMAN->m_bUseUnlockSystem )
text += ssprintf(", %d unlocks", UNLOCKMAN->GetNumUnlocks() );
m_textSongs.SetText( text );
this->AddChild( &m_textSongs );
SET_XY_AND_ON_COMMAND( m_textSongs );
this->SortByDrawOrder();
SOUND->PlayOnceFromAnnouncer( "title menu game name" );