2021-05-11 20:08:08 +00:00
|
|
|
struct DivPattern {
|
2021-05-14 08:23:40 +00:00
|
|
|
short data[256][16];
|
2021-12-09 06:44:40 +00:00
|
|
|
DivPattern();
|
2021-05-11 20:08:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct DivChannelData {
|
2021-05-11 20:26:38 +00:00
|
|
|
unsigned char effectRows;
|
2021-05-11 20:08:08 +00:00
|
|
|
// data goes as follows: data[ROW][TYPE]
|
|
|
|
// TYPE is:
|
|
|
|
// 0: note
|
|
|
|
// 1: octave
|
|
|
|
// 2: instrument
|
|
|
|
// 3: volume
|
|
|
|
// 4-5+: effect/effect value
|
2021-12-09 06:44:40 +00:00
|
|
|
DivPattern* data[128];
|
|
|
|
DivPattern* getPattern(int index, bool create);
|
2021-12-15 22:32:08 +00:00
|
|
|
void wipePatterns();
|
2021-12-09 06:44:40 +00:00
|
|
|
DivChannelData();
|
2021-05-11 20:26:38 +00:00
|
|
|
};
|