This commit is contained in:
Glenn Maynard
2003-07-09 04:46:24 +00:00
parent 165bd52e6e
commit f9b12e9e8e
4 changed files with 25 additions and 6 deletions
+11
View File
@@ -13,6 +13,7 @@
#include "global.h"
#include "PrefsManager.h"
#include "RageLog.h"
#include "Song.h"
#include "RageException.h"
#include "RageUtil.h"
#include "UnlockSystem.h"
@@ -27,6 +28,16 @@ UnlockSystem::UnlockSystem()
}
bool UnlockSystem::SongIsLocked( const Song *song )
{
return SongIsLocked( song->GetFullTranslitTitle() );
}
bool UnlockSystem::SongIsRoulette( const Song *song )
{
return SongIsRoulette( song->GetFullTranslitTitle() );
}
bool UnlockSystem::SongIsLocked( CString sSongName )
{
sSongName.MakeUpper(); //Avoid case-sensitive problems