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:
@@ -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
|
||||
Reference in New Issue
Block a user