ignore #FIRSTBEAT and #LASTBEAT except in cache

This commit is contained in:
Glenn Maynard
2003-01-25 08:10:51 +00:00
parent 4ea9aa7de7
commit ad4f34ca0b
3 changed files with 25 additions and 1 deletions
+8
View File
@@ -15,8 +15,16 @@ class SMLoader: public NotesLoader {
CString sNoteData,
Notes &out);
bool FromCache;
public:
SMLoader() { FromCache = false; }
bool LoadFromSMFile( CString sPath, Song &out );
bool LoadFromSMFile( CString sPath, Song &out, bool cache )
{
FromCache=cache;
return LoadFromSMFile( sPath, out );
}
void GetApplicableFiles( CString sPath, CStringArray &out );
bool LoadFromDir( CString sPath, Song &out );