Fix newlines. CVS gets annoyed at changing binary files to ASCII;
un-annoy it.
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
/*
|
||||
-----------------------------------------------------------------------------
|
||||
Class: ScreenUnlock
|
||||
|
||||
Desc: See header.
|
||||
|
||||
Copyright (c) 2003 by the person(s) listed below. All rights reserved.
|
||||
curewater
|
||||
-----------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#include "global.h"
|
||||
#include "PrefsManager.h"
|
||||
#include "ScreenUnlock.h"
|
||||
@@ -28,18 +31,24 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
||||
char filename[30];
|
||||
sprintf(filename, "UnlockGraphic%d", i);
|
||||
Unlocks[i].Load( THEME->GetPathToG(filename) );
|
||||
|
||||
sprintf(filename, "Unlock%d", i);
|
||||
|
||||
PointsUntilNextUnlock.SetXY(
|
||||
THEME->GetMetricI("ScreenUnlock",ssprintf("Unlock%dX", i)),
|
||||
THEME->GetMetricI("ScreenUnlock",ssprintf("Unlock%dX", i)) );
|
||||
|
||||
Unlocks[i].SetName( ssprintf("Unlock%d",i) );
|
||||
|
||||
UtilSetXY( Unlocks[i], "ScreenUnlock" );
|
||||
|
||||
if (!GAMESTATE->m_pUnlockingSys->SongIsLocked
|
||||
(THEME->GetMetric
|
||||
("ScreenUnlock", ssprintf
|
||||
("Unlock%dSong", i))))
|
||||
this->AddChild(&Unlocks[i]);
|
||||
}
|
||||
|
||||
/* Remove the decimal
|
||||
if( sDP.Find(".",1) > 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user