Get SSCLoader used when appropriate.

This commit is contained in:
Jason Felds
2011-02-11 00:10:57 -05:00
parent dbcfcd0cfc
commit 565b9f9306
10 changed files with 52 additions and 32 deletions
+8 -6
View File
@@ -61,7 +61,7 @@ public:
enum SelectionDisplay
{
SHOW_ALWAYS, // always
SHOW_NEVER // never (unless song hiding is turned off)
SHOW_NEVER // never (unless song hiding is turned off)
} m_SelectionDisplay;
Song();
@@ -78,9 +78,10 @@ public:
void ReCalculateRadarValuesAndLastBeat(); // called by TidyUpData, and after saving
void TranslateTitles(); // called by TidyUpData
bool SaveToSMFile( RString sPath, bool bSavingCache );
void Save(); // saves SM and DWI
bool SaveToSSCFile( RString sPath, bool bSavingCache );
void Save(); // saves SSC and SM guaranteed.
bool SaveToCacheFile();
bool SaveToSMFile();
bool SaveToDWIFile();
const RString &GetSongFilePath() const;
@@ -93,9 +94,10 @@ public:
// Directory this song data came from:
const RString &GetSongDir() const { return m_sSongDir; }
/* Filename associated with this file. This will always have an .SM extension.
* If we loaded an .SM, this will point to it, but if we loaded any other
* type, this will point to a generated .SM filename. */
/* Filename associated with this file. This will always have a
* .SSC extension. If we loaded a .SSC, this will point to it,
* but if we loaded any other type, this will point to a
* generated .SSC filename. */
RString m_sSongFileName;
RString m_sGroupName;