|
Public Member Functions |
| | SongManager () |
| | ~SongManager () |
| void | InitSongsFromDisk (LoadingWindow *ld) |
| void | FreeSongs () |
| void | Cleanup () |
| void | Invalidate (Song *pStaleSong) |
| void | RevertFromDisk (Song *pSong, bool bAllowNotesLoss=false) |
| void | RegenerateNonFixedCourses () |
| void | SetPreferences () |
| void | LoadAllFromProfiles () |
| void | FreeAllLoadedFromProfiles () |
| void | LoadGroupSymLinks (CString sDir, CString sGroupFolder) |
| void | InitCoursesFromDisk (LoadingWindow *ld) |
| void | InitAutogenCourses () |
| void | FreeCourses () |
| void | InitAll (LoadingWindow *ld) |
| void | Reload (LoadingWindow *ld=NULL) |
| void | PreloadSongImages () |
| CString | GetGroupBannerPath (CString sGroupName) |
| void | GetGroupNames (CStringArray &AddTo) |
| bool | DoesGroupExist (CString sGroupName) |
| RageColor | GetGroupColor (const CString &sGroupName) |
| RageColor | GetSongColor (const Song *pSong) |
| RageColor | GetDifficultyColor (Difficulty dc) const |
| const vector< Song * > & | GetAllSongs () const |
| void | GetBestSongs (vector< Song * > &AddTo, CString sGroupName, int iMaxStages=100000, ProfileSlot slot=PROFILE_SLOT_MACHINE) const |
| const vector< Song * > & | GetBestSongs (ProfileSlot slot=PROFILE_SLOT_MACHINE) const |
| const vector< Course * > & | GetBestCourses (ProfileSlot slot=PROFILE_SLOT_MACHINE) const |
| void | GetSongs (vector< Song * > &AddTo, CString sGroupName, int iMaxStages=100000) const |
| void | GetSongs (vector< Song * > &AddTo, int iMaxStages) const |
| void | GetSongs (vector< Song * > &AddTo) const |
| Song * | FindSong (CString sPath) |
| Course * | FindCourse (CString sName) |
| int | GetNumSongs () const |
| int | GetNumGroups () const |
| int | GetNumCourses () const |
| Song * | GetRandomSong () |
| Course * | GetRandomCourse () |
| void | GetAllCourses (vector< Course * > &AddTo, bool bIncludeAutogen) |
| void | GetNonstopCourses (vector< Course * > &AddTo, bool bIncludeAutogen) |
| void | GetOniCourses (vector< Course * > &AddTo, bool bIncludeAutogen) |
| void | GetEndlessCourses (vector< Course * > &AddTo, bool bIncludeAutogen) |
| void | GetExtraStageInfo (bool bExtra2, const Style *s, Song *&pSongOut, Steps *&pStepsOut, PlayerOptions &po_out, SongOptions &so_out) |
| Song * | GetSongFromDir (CString sDir) |
| Course * | GetCourseFromPath (CString sPath) |
| Course * | GetCourseFromName (CString sName) |
| void | UpdateBest () |
| void | UpdateShuffled () |
| void | SortSongs () |
| void | UpdateRankingCourses () |
Static Public Member Functions |
| CString | ShortenGroupName (CString sLongGroupName) |
| int | GetNumStagesForSong (const Song *pSong) |
Protected Member Functions |
| void | LoadStepManiaSongDir (CString sDir, LoadingWindow *ld) |
| void | LoadDWISongDir (CString sDir) |
| bool | GetExtraStageInfoFromCourse (bool bExtra2, CString sPreferredGroup, Song *&pSongOut, Steps *&pStepsOut, PlayerOptions &po_out, SongOptions &so_out) |
| void | SanityCheckGroupDir (CString sDir) const |
| void | AddGroup (CString sDir, CString sGroupDirName) |
| Song * | FindSong (CString sGroup, CString sSong) |
Protected Attributes |
| vector< Song * > | m_pSongs |
| vector< Song * > | m_pBestSongs [NUM_PROFILE_SLOTS] |
| vector< Song * > | m_pShuffledSongs |
| CStringArray | m_sGroupNames |
| CStringArray | m_sGroupBannerPaths |
| vector< Course * > | m_pCourses |
| vector< Course * > | m_pBestCourses [NUM_PROFILE_SLOTS] |
| vector< Course * > | m_pShuffledCourses |