use enum for readability, fixes, tweaks, new chip cases

This commit is contained in:
Eknous-P 2024-08-18 23:01:24 +04:00
parent e50b3438f2
commit e549d09360
3 changed files with 71 additions and 39 deletions

View file

@ -19,6 +19,27 @@
// guiConst: constants used in the GUI like arrays, strings and other stuff
enum FurnaceGUIChanTypes {
// the first five match DivChanTypes, do not change order!
CHANNEL_TYPE_FM,
CHANNEL_TYPE_PULSE,
CHANNEL_TYPE_NOISE,
CHANNEL_TYPE_WAVETABLE,
CHANNEL_TYPE_SAMPLE,
CHANNEL_TYPE_SQUARE,
CHANNEL_TYPE_TRIANGLE,
CHANNEL_TYPE_SAW,
CHANNEL_TYPE_OPERATOR,
CHANNEL_TYPE_DRUMS,
CHANNEL_TYPE_SLOPE,
CHANNEL_TYPE_WAVE,
CHANNEL_TYPE_OTHER,
CHANNEL_TYPE_MAX
};
struct FurnaceGUIActionDef {
const char* name;
const char* friendlyName;