Files
itgmania212121/stepmania/src/NotesLoader.h
T

40 lines
921 B
C++
Raw Normal View History

2002-09-06 23:24:40 +00:00
#ifndef NOTES_LOADER_H
#define NOTES_LOADER_H
2003-02-16 04:28:17 +00:00
#include "song.h"
#include "RageUtil.h"
2003-07-28 08:21:12 +00:00
#include <set>
2002-09-11 05:15:46 +00:00
2002-09-06 23:24:40 +00:00
typedef int DanceNote;
enum {
DANCE_NOTE_NONE = 0,
DANCE_NOTE_PAD1_LEFT,
DANCE_NOTE_PAD1_UPLEFT,
DANCE_NOTE_PAD1_DOWN,
DANCE_NOTE_PAD1_UP,
DANCE_NOTE_PAD1_UPRIGHT,
DANCE_NOTE_PAD1_RIGHT,
DANCE_NOTE_PAD2_LEFT,
DANCE_NOTE_PAD2_UPLEFT,
DANCE_NOTE_PAD2_DOWN,
DANCE_NOTE_PAD2_UP,
DANCE_NOTE_PAD2_UPRIGHT,
DANCE_NOTE_PAD2_RIGHT
};
2002-09-11 05:15:46 +00:00
class NotesLoader {
protected:
virtual void GetApplicableFiles( CString sPath, CStringArray &out )=0;
set<istring> BlacklistedImages;
2003-07-28 08:21:12 +00:00
2002-09-11 05:15:46 +00:00
public:
2003-07-28 09:56:14 +00:00
virtual ~NotesLoader() { }
const set<istring> &GetBlacklistedImages() const { return BlacklistedImages; }
static void GetMainAndSubTitlesFromFullTitle( const CString sFullTitle, CString &sMainTitleOut, CString &sSubTitleOut );
2002-09-11 05:15:46 +00:00
virtual bool LoadFromDir( CString sPath, Song &out ) = 0;
bool Loadable( CString sPath );
};
2002-11-16 09:12:55 +00:00
#endif