1 These functions will be polymorphic,overloaded,whatever....in other words they
2 will change depending on whether you load a .mod,.song,or .ahx.
70 also we need a struct that can hold any of the module types....
71 struct pineapple_tune{
72 char *type; //pineapple, mod, hively
74 char *filename; //ht_Name[128] ??
75 u8 callbacktime; //ht_speedmultiplier,bpm, etc ht_Tempo
77 struct oscillator osc[4]; //ht_Channels || ht_Voices[MAX_CHANNELS]
78 struct instrument instr[256]; //*ht_Instruments
79 struct track trk[256]; //ht_Tracks[256][64]
80 struct song song[256]; //*ht_Positions
82 u8 songpos; //ht_PosNr
84 int instrx, instry, instroffs;
85 int songx, songy, songoffs;
86 int trackx, tracky, trackoffs;
87 int currtrack, currinstr; //ht_TrackNr, ht_InstrumentNr,
92 Also once we get different audio drivers going we need to make that configurable so we can know which callback function to use, etc.