preliminary Future Composer module loading

only loads patterns and doesn't deduplicate
conversion required to fit in the Furnace format (no transpose ins/note)
even the pattern loader itself isn't complete due to how different the
format is
This commit is contained in:
tildearrow 2022-07-24 01:57:10 -05:00
parent 84c955058b
commit 588f3f737c
4 changed files with 234 additions and 5 deletions

View file

@ -50,6 +50,7 @@
// for imports
#define DIV_VERSION_MOD 0xff01
#define DIV_VERSION_FC 0xff02
enum DivStatusView {
DIV_STATUS_NOTHING=0,
@ -397,6 +398,7 @@ class DivEngine {
bool loadFur(unsigned char* file, size_t len);
bool loadMod(unsigned char* file, size_t len);
bool loadFTM(unsigned char* file, size_t len);
bool loadFC(unsigned char* file, size_t len);
void loadDMP(SafeReader& reader, std::vector<DivInstrument*>& ret, String& stripPath);
void loadTFI(SafeReader& reader, std::vector<DivInstrument*>& ret, String& stripPath);