NotesLoaderDWI.h
Go to the documentation of this file.00001
00002
00003
#ifndef NOTES_LOADER_DWI_H
00004
#define NOTES_LOADER_DWI_H
00005
00006
#include "GameInput.h"
00007
#include "NotesLoader.h"
00008
00009
class Song;
00010
class Steps;
00011
00012 class DWILoader:
public NotesLoader
00013 {
00014
void DWIcharToNote(
char c,
GameController i,
int ¬e1Out,
int ¬e2Out );
00015
void DWIcharToNoteCol(
char c,
GameController i,
int &col1Out,
int &col2Out );
00016
00017
bool LoadFromDWITokens(
00018
CString sMode,
CString sDescription,
CString sNumFeet,
CString sStepData1,
00019
CString sStepData2,
00020
Steps &out );
00021
00022
bool LoadFromDWIFile(
CString sPath,
Song &out );
00023
00024
static float ParseBrokenDWITimestamp(
const CString &arg1,
const CString &arg2,
const CString &arg3);
00025
static bool Is192(
const CString &str,
int pos );
00026 CString m_sLoadingFile;
00027
00028
public:
00029
void GetApplicableFiles( CString sPath, CStringArray &out );
00030
bool Loadable( CString sPath );
00031
bool LoadFromDir( CString sPath,
Song &out );
00032 };
00033
00034
#endif
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
Generated on Thu Jan 27 20:57:26 2005 for StepMania by
1.3.7