0ff6f863ee
I'd prefer "Song.h", but it's not worth losing history for, and SF will choke on that rename anyway.
35 lines
993 B
C++
35 lines
993 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 ¬e1Out, DanceNote ¬e2Out );
|
|
|
|
bool LoadFromDWITokens(
|
|
CString sMode, CString sDescription, CString sNumFeet, CString sStepData1,
|
|
CString sStepData2,
|
|
Notes &out );
|
|
|
|
bool LoadFromDWIFile( CString sPath, Song &out );
|
|
|
|
static float DWILoader::ParseBrokenDWITimestamp(const CString &arg1, const CString &arg2, const CString &arg3);
|
|
public:
|
|
void GetApplicableFiles( CString sPath, CStringArray &out );
|
|
bool Loadable( CString sPath );
|
|
bool LoadFromDir( CString sPath, Song &out );
|
|
};
|
|
|
|
#endif
|