Starting stub for hopeful cache reduction.
Now, let's see if we can pull this off.
This commit is contained in:
@@ -638,6 +638,12 @@ bool SMLoader::LoadFromBGChangesString( BackgroundChange &change, const RString
|
|||||||
return aBGChangeValues.size() >= 2;
|
return aBGChangeValues.size() >= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool SMLoader::LoadNotedataFromSimfile( const RString &path, Steps &out )
|
||||||
|
{
|
||||||
|
// stub: do this later.
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool SMLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
bool SMLoader::LoadFromSimfile( const RString &sPath, Song &out, bool bFromCache )
|
||||||
{
|
{
|
||||||
LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
LOG->Trace( "Song::LoadFromSMFile(%s)", sPath.c_str() );
|
||||||
|
|||||||
@@ -41,6 +41,12 @@ struct SMLoader
|
|||||||
*/
|
*/
|
||||||
virtual void TidyUpData( Song &song, bool bFromCache );
|
virtual void TidyUpData( Song &song, bool bFromCache );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Retrieve the relevant notedata from the simfile.
|
||||||
|
* @param path the path where the simfile lives.
|
||||||
|
* @param out the Steps we are loading the data into. */
|
||||||
|
virtual bool LoadNotedataFromSimfile(const RString &path, Steps &out );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Attempt to load the specified sm file.
|
* @brief Attempt to load the specified sm file.
|
||||||
* @param sPath a const reference to the path on the hard drive to check.
|
* @param sPath a const reference to the path on the hard drive to check.
|
||||||
|
|||||||
Reference in New Issue
Block a user