initial commit
took me a day to make the base... ...and ~12 hours to write a reader that reads 100% of all demo songs in 1.0
This commit is contained in:
commit
783d56c72a
26 changed files with 1660 additions and 0 deletions
15
src/engine/pattern.h
Normal file
15
src/engine/pattern.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
struct DivPattern {
|
||||
char data[256][16];
|
||||
};
|
||||
|
||||
struct DivChannelData {
|
||||
char effectRows;
|
||||
// data goes as follows: data[ROW][TYPE]
|
||||
// TYPE is:
|
||||
// 0: note
|
||||
// 1: octave
|
||||
// 2: instrument
|
||||
// 3: volume
|
||||
// 4-5+: effect/effect value
|
||||
std::vector<DivPattern*> data;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue