Re-adding these; they were (incorrectly) added as binary files for some

reason.
This commit is contained in:
Glenn Maynard
2003-07-07 22:19:03 +00:00
parent 897caf4cee
commit 0011ca5654
6 changed files with 0 additions and 1276 deletions
-32
View File
@@ -1,32 +0,0 @@
#include "global.h"
#include "PrefsManager.h"
#include "ScreenUnlock.h"
#include "ThemeManager.h"
#include "GameState.h"
#include "RageLog.h"
ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
{
LOG->Trace("ScreenUnlock::ScreenUnlock()");
PointsUntilNextUnlock.LoadFromFont( THEME->GetPathToF("Common normal") );
PointsUntilNextUnlock.SetHorizAlign( Actor::align_left );
CString sDP = ssprintf( "%f", GAMESTATE->UnlockingSys.NumPointsUntilNextUnlock() );
// Remove the decimal
if( sDP.Find(".",1) > 0 )
{
sDP = sDP.Left(sDP.Find(".",1));
}
// No negative numbers
if( sDP.Left(1) == "-" )
{
sDP = "*";
};
PointsUntilNextUnlock.SetText( sDP );
PointsUntilNextUnlock.SetZoom( 3 );
PointsUntilNextUnlock.SetXY( 10, 370 );
this->AddChild( &PointsUntilNextUnlock );
}