[notesreader] Ready to test again.
This commit is contained in:
@@ -956,7 +956,7 @@ bool SMLoader::LoadEditFromMsd( const MsdFile &msd, const RString &sEditFilePath
|
|||||||
|
|
||||||
void SMLoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
|
void SMLoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
|
||||||
{
|
{
|
||||||
GetDirListing( sPath + RString("*.sm"), out );
|
GetDirListing( sPath + RString("*" + this->GetFileExtension() ), out );
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMLoader::TidyUpData( Song &song, bool bFromCache )
|
void SMLoader::TidyUpData( Song &song, bool bFromCache )
|
||||||
|
|||||||
@@ -438,11 +438,6 @@ bool SMALoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SMALoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
|
|
||||||
{
|
|
||||||
GetDirListing( sPath + RString("*.sma"), out );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @author Aldo Fregoso, Jason Felds (c) 2009-2011
|
* @author Aldo Fregoso, Jason Felds (c) 2009-2011
|
||||||
|
|||||||
@@ -26,12 +26,7 @@ struct SMALoader : public SMLoader
|
|||||||
SMALoader() : SMLoader(".sma") {}
|
SMALoader() : SMLoader(".sma") {}
|
||||||
|
|
||||||
virtual bool LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache = false );
|
virtual bool LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache = false );
|
||||||
/**
|
|
||||||
* @brief Retrieve the list of .sma files.
|
|
||||||
* @param sPath a const reference to the path on the hard drive to check.
|
|
||||||
* @param out a vector of files found in the path.
|
|
||||||
*/
|
|
||||||
virtual void GetApplicableFiles( const RString &sPath, vector<RString> &out );
|
|
||||||
|
|
||||||
void ProcessBeatsPerMeasure( TimingData &out, const RString sParam );
|
void ProcessBeatsPerMeasure( TimingData &out, const RString sParam );
|
||||||
void ProcessMultipliers( TimingData &out, const int iRowsPerBeat, const RString sParam );
|
void ProcessMultipliers( TimingData &out, const int iRowsPerBeat, const RString sParam );
|
||||||
|
|||||||
@@ -557,11 +557,6 @@ bool SSCLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCach
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SSCLoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
|
|
||||||
{
|
|
||||||
GetDirListing( sPath + RString("*.ssc"), out );
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SSCLoader::LoadEditFromFile( RString sEditFilePath, ProfileSlot slot, bool bAddStepsToSong )
|
bool SSCLoader::LoadEditFromFile( RString sEditFilePath, ProfileSlot slot, bool bAddStepsToSong )
|
||||||
{
|
{
|
||||||
LOG->Trace( "SSCLoader::LoadEditFromFile(%s)", sEditFilePath.c_str() );
|
LOG->Trace( "SSCLoader::LoadEditFromFile(%s)", sEditFilePath.c_str() );
|
||||||
|
|||||||
@@ -42,12 +42,7 @@ struct SSCLoader : public SMLoader
|
|||||||
* @return its success or failure.
|
* @return its success or failure.
|
||||||
*/
|
*/
|
||||||
virtual bool LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache = false );
|
virtual bool LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache = false );
|
||||||
/**
|
|
||||||
* @brief Retrieve the list of .ssc files.
|
|
||||||
* @param sPath a const reference to the path on the hard drive to check.
|
|
||||||
* @param out a vector of files found in the path.
|
|
||||||
*/
|
|
||||||
virtual void GetApplicableFiles( const RString &sPath, vector<RString> &out );
|
|
||||||
/**
|
/**
|
||||||
* @brief Attempt to load an edit from the hard drive.
|
* @brief Attempt to load an edit from the hard drive.
|
||||||
* @param sEditFilePath a path on the hard drive to check.
|
* @param sEditFilePath a path on the hard drive to check.
|
||||||
|
|||||||
Reference in New Issue
Block a user