Fix newlines. CVS gets annoyed at changing binary files to ASCII;

un-annoy it.
This commit is contained in:
Glenn Maynard
2003-07-08 23:38:26 +00:00
parent a19e0548a2
commit 6ad613a074
+9
View File
@@ -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 )
{