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