2002-09-06 23:24:40 +00:00
|
|
|
#ifndef NOTES_LOADER_KSF_H
|
|
|
|
|
#define NOTES_LOADER_KSF_H
|
|
|
|
|
|
2003-02-16 04:28:17 +00:00
|
|
|
#include "song.h"
|
2003-08-03 00:13:55 +00:00
|
|
|
#include "Steps.h"
|
2002-09-11 05:15:46 +00:00
|
|
|
#include "NotesLoader.h"
|
2002-09-06 23:24:40 +00:00
|
|
|
|
2002-09-11 05:15:46 +00:00
|
|
|
class KSFLoader: public NotesLoader {
|
2003-08-03 00:13:55 +00:00
|
|
|
bool LoadFromKSFFile( const CString &sPath, Steps &out, const Song &song );
|
2003-05-21 00:10:31 +00:00
|
|
|
bool LoadGlobalData( const CString &sPath, Song &out );
|
|
|
|
|
void RemoveHoles( NoteData &out, const Song &song );
|
|
|
|
|
void LoadTags( const CString &str, Song &out );
|
2002-09-06 23:24:40 +00:00
|
|
|
|
|
|
|
|
public:
|
2002-09-11 05:15:46 +00:00
|
|
|
void GetApplicableFiles( CString sPath, CStringArray &out );
|
|
|
|
|
bool LoadFromDir( CString sDir, Song &out );
|
2002-09-06 23:24:40 +00:00
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|