Move loaders into their own classes.

(These should have a common base class, but that can be done later;
I'm doing this to make it a bit more manageable so I can add the
new couples format to these.)
This commit is contained in:
Glenn Maynard
2002-09-06 23:24:40 +00:00
parent 9823bd8ac7
commit 3bbfa5baf0
9 changed files with 1461 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef NOTES_LOADER_SM_H
#define NOTES_LOADER_SM_H
#include "Song.h"
#include "Notes.h"
class SMLoader {
void LoadFromSMTokens(
CString sNotesType,
CString sDescription,
CString sDifficultyClass,
CString sMeter,
CString sRadarValues,
CString sNoteData,
Notes &out);
public:
bool LoadFromSMFile( CString sPath, Song &out );
};
#endif