2002-09-06 23:24:40 +00:00
|
|
|
#ifndef NOTES_LOADER_BMS_H
|
|
|
|
|
#define NOTES_LOADER_BMS_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-07 05:04:04 +00:00
|
|
|
#include "NotesLoader.h"
|
2002-09-06 23:24:40 +00:00
|
|
|
|
2002-09-11 05:15:46 +00:00
|
|
|
class BMSLoader: public NotesLoader {
|
2003-08-03 00:13:55 +00:00
|
|
|
bool LoadFromBMSFile( const CString &sPath, Steps &out1 );
|
2002-09-07 05:04:04 +00:00
|
|
|
void mapBMSTrackToDanceNote( int iBMSTrack, int &iDanceColOut, char &cNoteCharOut );
|
2003-10-28 06:36:11 +00:00
|
|
|
void PushTrackNumForMagic( int iTrackNum );
|
|
|
|
|
StepsType CheckTracksMagic( void );
|
2003-11-13 07:35:58 +00:00
|
|
|
void ResetTracksMagic( void );
|
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
|