show number of unlocks on title screen (easier benchmarking purposes, mainly)
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "RageSoundManager.h"
|
||||
#include "CodeDetector.h"
|
||||
#include "RageTextureManager.h"
|
||||
#include "UnlockSystem.h"
|
||||
|
||||
|
||||
#define LOGO_ON_COMMAND THEME->GetMetric("ScreenTitleMenu","LogoOnCommand")
|
||||
@@ -84,7 +85,7 @@ ScreenTitleMenu::ScreenTitleMenu() : Screen("ScreenTitleMenu")
|
||||
|
||||
m_textSongs.LoadFromFont( THEME->GetPathToF("Common normal") );
|
||||
m_textSongs.Command( SONGS_ON_COMMAND );
|
||||
m_textSongs.SetText( ssprintf("%d songs in %d groups, %d courses", SONGMAN->GetNumSongs(), SONGMAN->GetNumGroups(), SONGMAN->GetNumCourses()) );
|
||||
m_textSongs.SetText( ssprintf("%d songs in %d groups, %d courses, %d unlocks", SONGMAN->GetNumSongs(), SONGMAN->GetNumGroups(), SONGMAN->GetNumCourses(), GAMESTATE->m_pUnlockingSys->GetNumUnlocks() ));
|
||||
this->AddChild( &m_textSongs );
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user