GUI: prepare for intro/tutorial

This commit is contained in:
tildearrow 2023-02-15 04:06:17 -05:00
parent fd58fae25c
commit 10e4c2106a

View file

@ -664,6 +664,12 @@ enum FurnaceGUIChanOscRef {
GUI_OSCREF_MAX GUI_OSCREF_MAX
}; };
enum FurnaceGUITutorials {
GUI_TUTORIAL_OVERVIEW=0,
GUI_TUTORIAL_MAX
};
enum PasteMode { enum PasteMode {
GUI_PASTE_MODE_NORMAL=0, GUI_PASTE_MODE_NORMAL=0,
GUI_PASTE_MODE_MIX_FG, GUI_PASTE_MODE_MIX_FG,
@ -1461,6 +1467,17 @@ class FurnaceGUI {
emptyLabel2("..") {} emptyLabel2("..") {}
} settings; } settings;
struct Tutorial {
int userComesFrom;
bool introPlayed;
bool taken[GUI_TUTORIAL_MAX];
Tutorial():
userComesFrom(0),
introPlayed(0) {
memset(taken,0,GUI_TUTORIAL_MAX*sizeof(bool));
}
} tutorial;
char finalLayoutPath[4096]; char finalLayoutPath[4096];
DivInstrument* prevInsData; DivInstrument* prevInsData;