NotesLoader is just a namespace. If you want to load a particular directory, there's no need to create a specialized loader, just call NotesLoader::LoadFromDir().

This commit is contained in:
Steve Checkoway
2007-02-14 12:26:36 +00:00
parent c827907980
commit 61ae8c3c1b
9 changed files with 56 additions and 84 deletions
+3 -2
View File
@@ -7,9 +7,10 @@
#include "NoteData.h"
#include "song.h"
#include "Steps.h"
#include "GameInput.h"
#include "NotesLoader.h"
#include <map>
using namespace std;
static std::map<int,int> g_mapDanceNoteToNoteDataColumn;
@@ -363,7 +364,7 @@ void DWILoader::GetApplicableFiles( const RString &sPath, vector<RString> &out )
GetDirListing( sPath + RString("*.dwi"), out );
}
bool DWILoader::LoadFromDir( const RString &sPath_, Song &out )
bool DWILoader::LoadFromDir( const RString &sPath_, Song &out, set<RString> &BlacklistedImages )
{
vector<RString> aFileNames;
GetApplicableFiles( sPath_, aFileNames );