GUI: add "set effect" option to randomize

This commit is contained in:
tildearrow 2025-02-06 17:25:50 -05:00
parent 096d9ebba8
commit 4019066a64
3 changed files with 19 additions and 6 deletions

View file

@ -2548,10 +2548,10 @@ class FurnaceGUI {
ImVec2 noteCellSize, insCellSize, volCellSize, effectCellSize, effectValCellSize;
SelectionPoint sel1, sel2;
int dummyRows;
int transposeAmount, randomizeMin, randomizeMax, fadeMin, fadeMax, collapseAmount;
int transposeAmount, randomizeMin, randomizeMax, fadeMin, fadeMax, collapseAmount, randomizeEffectVal;
float playheadY;
float scaleMax;
bool fadeMode, randomMode, haveHitBounds;
bool fadeMode, randomMode, haveHitBounds, randomizeEffect;
signed char pendingStepUpdate;
int oldOrdersLen;
@ -2986,7 +2986,7 @@ class FurnaceGUI {
void doFade(int p0, int p1, bool mode);
void doInvertValues();
void doScale(float top);
void doRandomize(int bottom, int top, bool mode);
void doRandomize(int bottom, int top, bool mode, bool eff, int effVal);
void doFlip();
void doCollapse(int divider, const SelectionPoint& sStart, const SelectionPoint& sEnd);
void doExpand(int multiplier, const SelectionPoint& sStart, const SelectionPoint& sEnd);