Files
itgmania212121/stepmania/src/NotesLoaderDWI.h
T
2002-09-12 08:37:12 +00:00

34 lines
880 B
C++

#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"
/* 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 {
void DWIcharToNote( char c, GameController i, DanceNote &note1Out, DanceNote &note2Out );
bool LoadFromDWITokens(
CString sMode, CString sDescription, CString sNumFeet, CString sStepData1,
CString sStepData2,
Notes &out );
bool LoadFromDWIFile( CString sPath, Song &out );
public:
void GetApplicableFiles( CString sPath, CStringArray &out );
bool Loadable( CString sPath );
bool LoadFromDir( CString sPath, Song &out );
};
#endif