updated support for course unlocking (very basic)

This commit is contained in:
Andrew Wong
2003-07-10 11:24:16 +00:00
parent fdfcff9288
commit e5b4b4be6c
3 changed files with 46 additions and 3 deletions
+6
View File
@@ -51,12 +51,17 @@ class UnlockSystem
{
public:
UnlockSystem();
float DancePointsUntilNextUnlock();
float ArcadePointsUntilNextUnlock();
float SongPointsUntilNextUnlock();
bool SongIsLocked( const Song *song );
bool CourseIsLocked( const Course *course );
bool SongIsRoulette( const Song *song );
bool LoadFromDATFile( CString sPath );
vector<SongEntry> m_SongEntries; // All locked songs are stored here
// functions that add to values, which don't really work.
@@ -75,6 +80,7 @@ private:
void SortSongEntriesArray(); // sorts unlocks
bool ParseRow(CString text, CString &type, float &qty, CString &songname);
SongEntry *FindSong( const Song *pSong );
SongEntry *FindCourse( const Course *pCourse );
void InitRouletteSeeds(int MaxRouletteSlot);
};