prepare to add more compatibility flags
This commit is contained in:
parent
dea79c2adb
commit
89d47da795
|
|
@ -210,8 +210,8 @@ struct DivSong {
|
||||||
float tuning;
|
float tuning;
|
||||||
|
|
||||||
// compatibility flags
|
// compatibility flags
|
||||||
bool limitSlides; // limit slide range
|
bool limitSlides;
|
||||||
bool linearPitch; // E5xx behavior control
|
bool linearPitch;
|
||||||
// loop behavior
|
// loop behavior
|
||||||
// 0: reset on loop
|
// 0: reset on loop
|
||||||
// 1: fake reset on loop
|
// 1: fake reset on loop
|
||||||
|
|
@ -219,6 +219,11 @@ struct DivSong {
|
||||||
unsigned char loopModality;
|
unsigned char loopModality;
|
||||||
bool properNoiseLayout;
|
bool properNoiseLayout;
|
||||||
bool waveDutyIsVol;
|
bool waveDutyIsVol;
|
||||||
|
bool resetMacroOnPorta;
|
||||||
|
bool legacyVolumeSlides;
|
||||||
|
bool compatibleArpeggio;
|
||||||
|
bool noteOffResetsSlides;
|
||||||
|
bool targetResetsSlides;
|
||||||
|
|
||||||
DivOrders orders;
|
DivOrders orders;
|
||||||
std::vector<DivInstrument*> ins;
|
std::vector<DivInstrument*> ins;
|
||||||
|
|
@ -269,7 +274,12 @@ struct DivSong {
|
||||||
linearPitch(true),
|
linearPitch(true),
|
||||||
loopModality(0),
|
loopModality(0),
|
||||||
properNoiseLayout(false),
|
properNoiseLayout(false),
|
||||||
waveDutyIsVol(false) {
|
waveDutyIsVol(false),
|
||||||
|
resetMacroOnPorta(false),
|
||||||
|
legacyVolumeSlides(false),
|
||||||
|
compatibleArpeggio(false),
|
||||||
|
noteOffResetsSlides(true),
|
||||||
|
targetResetsSlides(true) {
|
||||||
for (int i=0; i<32; i++) {
|
for (int i=0; i<32; i++) {
|
||||||
system[i]=DIV_SYSTEM_NULL;
|
system[i]=DIV_SYSTEM_NULL;
|
||||||
systemVol[i]=64;
|
systemVol[i]=64;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue