Files
itgmania212121/stepmania/src/NotesLoaderDWI.h
T

34 lines
892 B
C++
Raw Normal View History

2002-09-06 23:24:40 +00:00
#ifndef NOTES_LOADER_DWI_H
#define NOTES_LOADER_DWI_H
#include "Song.h"
#include "Notes.h"
#include "GameInput.h"
#include "NotesLoader.h"
#include "Song.h"
#include "Notes.h"
2002-09-11 05:15:46 +00:00
/* Return NA if no files in the directory can be loaded by
* this loader, OK on success, ERROR if an applicable file was found
* but there was a fatal error loading. (ERROR not used yet--we
* always throw.)
*/
class DWILoader: public NotesLoader {
2002-09-06 23:24:40 +00:00
void DWIcharToNote( char c, GameController i, DanceNote &note1Out, DanceNote &note2Out );
bool LoadFromDWITokens(
CString sMode, CString sDescription, CString sNumFeet, CString sStepData1,
CString sStepData2,
Notes &out, Notes &out2);
2002-09-06 23:24:40 +00:00
bool LoadFromDWIFile( CString sPath, Song &out );
2002-09-11 05:15:46 +00:00
public:
void GetApplicableFiles( CString sPath, CStringArray &out );
bool Loadable( CString sPath );
bool LoadFromDir( CString sPath, Song &out );
2002-09-06 23:24:40 +00:00
};
#endif