add MML strings in macro editor
completely UNTESTED as I wrote this on bed
This commit is contained in:
parent
c822532b54
commit
e195031538
2 changed files with 85 additions and 10 deletions
|
|
@ -161,6 +161,7 @@ class FurnaceGUI {
|
|||
SDL_Renderer* sdlRend;
|
||||
|
||||
String workingDir, fileName, clipboard, warnString, errorString, lastError, curFileName;
|
||||
String mmlString[12];
|
||||
|
||||
bool quit, warnQuit, willCommit, edit, modified, displayError, displayExporting, vgmExportLoop;
|
||||
bool willExport[32];
|
||||
|
|
@ -355,6 +356,9 @@ class FurnaceGUI {
|
|||
|
||||
void applyUISettings();
|
||||
|
||||
void encodeMMLStr(String& target, int* macro, unsigned char macroLen, signed char macroLoop);
|
||||
void decodeMMLStr(String& source, int* macro, unsigned char& macroLen, signed char& macroLoop, int macroMin, int macroMax);
|
||||
|
||||
public:
|
||||
const char* noteName(short note, short octave);
|
||||
bool decodeNote(const char* what, short& note, short& octave);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue