add MIDI loader (currently supports only guitar)

This commit is contained in:
Chris Danford
2007-04-15 20:43:58 +00:00
parent 9362ccedcd
commit 94f25a3c77
4 changed files with 864 additions and 0 deletions
+4
View File
@@ -4,6 +4,7 @@
#include "NotesLoaderDWI.h"
#include "NotesLoaderBMS.h"
#include "NotesLoaderKSF.h"
#include "NotesLoaderMidi.h"
void NotesLoader::GetMainAndSubTitlesFromFullTitle( const RString &sFullTitle, RString &sMainTitleOut, RString &sSubTitleOut )
{
@@ -44,6 +45,9 @@ bool NotesLoader::LoadFromDir( const RString &sPath, Song &out, set<RString> &Bl
KSFLoader::GetApplicableFiles( sPath, list );
if( !list.empty() )
return KSFLoader::LoadFromDir( sPath, out );
MidiLoader::GetApplicableFiles( sPath, list );
if( !list.empty() )
return MidiLoader::LoadFromDir( sPath, out );
return false;
}