|
Public Types |
| enum | SelectionDisplay { SHOW_ALWAYS,
SHOW_ROULETTE,
SHOW_NEVER
} |
| enum | { DISPLAY_ACTUAL,
DISPLAY_SPECIFIED,
DISPLAY_RANDOM
} |
Public Member Functions |
| | Song () |
| | ~Song () |
| void | Reset () |
| NotesLoader * | MakeLoader (CString sDir) const |
| bool | LoadFromSongDir (CString sDir) |
| void | TidyUpData () |
| void | ReCalculateRadarValuesAndLastBeat () |
| void | TranslateTitles () |
| void | SaveToSMFile (CString sPath, bool bSavingCache) |
| void | Save () |
| void | SaveToCacheFile () |
| void | SaveToDWIFile () |
| const CString & | GetSongFilePath () const |
| CString | GetCacheFilePath () const |
| void | AddAutoGenNotes () |
| void | AutoGen (StepsType ntTo, StepsType ntFrom) |
| void | RemoveAutoGenNotes () |
| const CString & | GetSongDir () const |
| CString | GetDisplayMainTitle () const |
| CString | GetDisplaySubTitle () const |
| CString | GetDisplayArtist () const |
| CString | GetTranslitMainTitle () const |
| CString | GetTranslitSubTitle () const |
| CString | GetTranslitArtist () const |
| CString | GetFullDisplayTitle () const |
| CString | GetFullTranslitTitle () const |
| CString | GetMusicPath () const |
| CString | GetBannerPath () const |
| CString | GetLyricsPath () const |
| CString | GetBackgroundPath () const |
| CString | GetCDTitlePath () const |
| bool | HasMusic () const |
| bool | HasBanner () const |
| bool | HasBackground () const |
| bool | HasCDTitle () const |
| bool | HasMovieBackground () const |
| bool | HasBGChanges () const |
| bool | HasLyrics () const |
| bool | Matches (CString sGroup, CString sSong) const |
| void | AddBPMSegment (const BPMSegment &seg) |
| void | AddStopSegment (const StopSegment &seg) |
| void | AddBackgroundChange (BackgroundChange seg) |
| void | AddForegroundChange (BackgroundChange seg) |
| void | AddLyricSegment (LyricSegment seg) |
| void | GetDisplayBpms (DisplayBpms &AddTo) const |
| CString | GetBackgroundAtBeat (float fBeat) const |
| float | GetBPMAtBeat (float fBeat) const |
| void | SetBPMAtBeat (float fBeat, float fBPM) |
| BPMSegment & | GetBPMSegmentAtBeat (float fBeat) |
| void | GetBeatAndBPSFromElapsedTime (float fElapsedTime, float &fBeatOut, float &fBPSOut, bool &bFreezeOut) const |
| float | GetBeatFromElapsedTime (float fElapsedTime) const |
| float | GetElapsedTimeFromBeat (float fBeat) const |
| bool | HasSignificantBpmChangesOrStops () const |
| bool | SongCompleteForStyle (const Style *st) const |
| bool | HasStepsType (StepsType st) const |
| bool | HasStepsTypeAndDifficulty (StepsType st, Difficulty dc) const |
| const vector< Steps * > & | GetAllSteps (StepsType st=STEPS_TYPE_INVALID) const |
| void | GetSteps (vector< Steps * > &arrayAddTo, StepsType st=STEPS_TYPE_INVALID, Difficulty dc=DIFFICULTY_INVALID, int iMeterLow=-1, int iMeterHigh=-1, const CString &sDescription="", bool bIncludeAutoGen=true, unsigned uHash=0, int iMaxToGet=-1) const |
| Steps * | GetSteps (StepsType st=STEPS_TYPE_INVALID, Difficulty dc=DIFFICULTY_INVALID, int iMeterLow=-1, int iMeterHigh=-1, const CString &sDescription="", unsigned uHash=0, bool bIncludeAutoGen=true) const |
| Steps * | GetStepsByDifficulty (StepsType st, Difficulty dc, bool bIncludeAutoGen=true) const |
| Steps * | GetStepsByMeter (StepsType st, int iMeterLow, int iMeterHigh) const |
| Steps * | GetStepsByDescription (StepsType st, CString sDescription) const |
| Steps * | GetClosestNotes (StepsType st, Difficulty dc) const |
| bool | IsEasy (StepsType st) const |
| bool | IsTutorial () const |
| bool | HasEdits (StepsType st) const |
| SelectionDisplay | GetDisplayed () const |
| bool | NormallyDisplayed () const |
| bool | NeverDisplayed () const |
| bool | RouletteDisplayed () const |
| bool | ShowInDemonstrationAndRanking () const |
| void | AddSteps (Steps *pSteps) |
| void | RemoveSteps (const Steps *pSteps) |
| void | FreeAllLoadedFromProfiles () |
| bool | WasLoadedFromProfile () const |
| int | GetNumStepsLoadedFromProfile (ProfileSlot slot) const |
| bool | IsEditAlreadyLoaded (Steps *pSteps) const |
Public Attributes |
| enum Song::SelectionDisplay | m_SelectionDisplay |
| CString | m_sSongFileName |
| CString | m_sGroupName |
| ProfileSlot | m_LoadedFromProfile |
| bool | m_bIsSymLink |
| CString | m_sMainTitle |
| CString | m_sSubTitle |
| CString | m_sArtist |
| CString | m_sMainTitleTranslit |
| CString | m_sSubTitleTranslit |
| CString | m_sArtistTranslit |
| CString | m_sCredit |
| CString | m_sMusicFile |
| float | m_fMusicLengthSeconds |
| float | m_fFirstBeat |
| float | m_fLastBeat |
| float | m_fMusicSampleStartSeconds |
| float | m_fMusicSampleLengthSeconds |
| enum Song:: { ... } | m_DisplayBPMType |
| float | m_fSpecifiedBPMMin |
| float | m_fSpecifiedBPMMax |
| CString | m_sBannerFile |
| CString | m_sLyricsFile |
| CString | m_sBackgroundFile |
| CString | m_sCDTitleFile |
| bool | m_bHasMusic |
| bool | m_bHasBanner |
| TimingData | m_Timing |
| vector< BackgroundChange > | m_BackgroundChanges |
| vector< BackgroundChange > | m_ForegroundChanges |
| vector< LyricSegment > | m_LyricSegments |
| vector< CString > | m_vsKeysoundFile |
Private Member Functions |
| void | AdjustDuplicateSteps () |
| void | DeleteDuplicateSteps (vector< Steps * > &vSteps) |
Private Attributes |
| CString | m_sSongDir |
| vector< Steps * > | m_vpSteps |
| vector< Steps * > | m_vpStepsByType [NUM_STEPS_TYPES] |