This commit is contained in:
Glenn Maynard
2004-02-22 05:16:12 +00:00
parent 0188f51f4e
commit c631036b6c
2 changed files with 50 additions and 42 deletions
+4 -5
View File
@@ -27,7 +27,8 @@ enum UnlockType
UNLOCK_EXTRA_FAILED,
UNLOCK_TOASTY,
UNLOCK_CLEARED,
NUM_UNLOCK_TYPES
NUM_UNLOCK_TYPES,
UNLOCK_INVALID,
};
struct UnlockEntry
@@ -67,9 +68,6 @@ public:
bool SongIsRoulette( const Song *song );
bool CourseIsLocked( const Course *course );
// executed when program is first executed
bool LoadFromDATFile();
// Gets number of unlocks for title screen
int GetNumUnlocks() const;
@@ -97,7 +95,8 @@ public:
vector<UnlockEntry> m_SongEntries;
private:
// read and write unlock in values
// read and write unlocks
bool Load();
bool ReadValues();
bool WriteValues() const;