prepare for 0.6.2

This commit is contained in:
tildearrow 2024-03-31 23:35:59 -05:00
parent 90859be901
commit 90c628612e
28 changed files with 4946 additions and 46 deletions

View file

@ -579,6 +579,7 @@ enum FurnaceGUIWarnings {
GUI_WARN_SUBSONG_DEL,
GUI_WARN_SYSTEM_DEL,
GUI_WARN_CLEAR_HISTORY,
GUI_WARN_CV,
GUI_WARN_GENERIC
};
@ -1456,7 +1457,7 @@ class FurnaceGUIRender {
virtual bool lockTexture(FurnaceGUITexture* which, void** data, int* pitch);
virtual bool unlockTexture(FurnaceGUITexture* which);
virtual bool updateTexture(FurnaceGUITexture* which, void* data, int pitch);
virtual FurnaceGUITexture* createTexture(bool dynamic, int width, int height);
virtual FurnaceGUITexture* createTexture(bool dynamic, int width, int height, bool interpolate=true);
virtual bool destroyTexture(FurnaceGUITexture* which);
virtual void setTextureBlendMode(FurnaceGUITexture* which, FurnaceGUIBlendMode mode);
virtual void setBlendMode(FurnaceGUIBlendMode mode);
@ -1501,6 +1502,8 @@ struct PendingDrawOsc {
lineSize(0.0f) {}
};
struct FurnaceCV;
class FurnaceGUI {
DivEngine* e;
@ -1510,7 +1513,10 @@ class FurnaceGUI {
SDL_Window* sdlWin;
SDL_Haptic* vibrator;
bool vibratorAvailable;
FurnaceCV* cv;
FurnaceGUITexture* cvTex;
FurnaceGUITexture* sampleTex;
int sampleTexW, sampleTexH;
bool updateSampleTex;
@ -1550,6 +1556,7 @@ class FurnaceGUI {
bool willExport[DIV_MAX_CHIPS];
int vgmExportVersion;
int vgmExportTrailingTicks;
int cvHiScore;
int drawHalt;
int zsmExportTickRate;
int macroPointSize;
@ -1560,6 +1567,7 @@ class FurnaceGUI {
int wheelCalmDown;
int shallDetectScale;
int cpuCores;
int numTimesPlayed;
float secondTimer;
unsigned int userEvents;
float mobileMenuPos, autoButtonSize, mobileEditAnim;
@ -2083,7 +2091,9 @@ class FurnaceGUI {
bool mixerOpen, debugOpen, inspectorOpen, oscOpen, volMeterOpen, statsOpen, compatFlagsOpen;
bool pianoOpen, notesOpen, channelsOpen, regViewOpen, logOpen, effectListOpen, chanOscOpen;
bool subSongsOpen, findOpen, spoilerOpen, patManagerOpen, sysManagerOpen, clockOpen, speedOpen;
bool groovesOpen, xyOscOpen, memoryOpen, csPlayerOpen, userPresetsOpen;
bool groovesOpen, xyOscOpen, memoryOpen, csPlayerOpen, cvOpen, userPresetsOpen;
bool cvNotSerious;
bool shortIntro;
bool insListDir, waveListDir, sampleListDir;
@ -2478,6 +2488,7 @@ class FurnaceGUI {
// user presets window
int selectedUserPreset;
std::vector<String> randomDemoSong;
void drawExportAudio(bool onWindow=false);
void drawExportVGM(bool onWindow=false);
@ -2725,6 +2736,9 @@ class FurnaceGUI {
void initTutorial();
void activateTutorial(FurnaceGUITutorials which);
void initRandomDemoSong();
bool loadRandomDemoSong();
bool loadUserPresets(bool redundancy=true);
bool saveUserPresets(bool redundancy=true);