change SongEntry to UnlockEntry

This commit is contained in:
Andrew Wong
2003-08-11 20:57:57 +00:00
parent c94325c088
commit 6812cbfd7a
4 changed files with 23 additions and 23 deletions
+6 -6
View File
@@ -19,9 +19,9 @@ enum UnlockTypes { UNLOCK_AP, UNLOCK_DP, UNLOCK_SP,
class Song;
struct SongEntry
struct UnlockEntry
{
SongEntry();
UnlockEntry();
CString m_sSongName;
@@ -70,7 +70,7 @@ public:
bool LoadFromDATFile( CString sPath );
// All locked songs are stored here
vector<SongEntry> m_SongEntries;
vector<UnlockEntry> m_SongEntries;
// Gets number of unlocks for title screen
int GetNumUnlocks() const;
@@ -105,13 +105,13 @@ public:
void UpdateSongs();
SongEntry *FindLockEntry( CString lockname );
UnlockEntry *FindLockEntry( CString lockname );
// so class can access FindSong
friend class ScreenSelectGroup;
private:
SongEntry *FindSong( const Song *pSong );
SongEntry *FindCourse( const Course *pCourse );
UnlockEntry *FindSong( const Song *pSong );
UnlockEntry *FindCourse( const Course *pCourse );
void InitRouletteSeeds(int MaxRouletteSlot);
// makes RouletteSeeds more efficient