63 #ifndef AUDIO_MODS_MODULE_MOD_XM_S3M_H 64 #define AUDIO_MODS_MODULE_MOD_XM_S3M_H 66 #include "common/scummsys.h" 69 class SeekableReadStream;
83 int numChannels, numRows;
86 Note getNote(
int row,
int chan)
const {
88 if (row >= 0 && chan >= 0 && row < numRows && chan < numChannels)
89 res = notes[row * numChannels + chan];
91 memset(&res, 0,
sizeof(
struct Note));
109 byte enabled, sustain, looped, numPoints;
110 uint16 sustainTick, loopStartTick, loopEndTick;
111 uint16 pointsTick[16], pointsAmpl[16];
115 int numSamples, volFadeout;
116 char name[32], keyToSample[97];
117 int8 vibType, vibSweep, vibDepth, vibRate;
125 static const int FP_SHIFT;
126 static const int FP_ONE;
127 static const int FP_MASK;
128 static const int exp2table[];
147 int defaultGvol, defaultSpeed, defaultTempo, c2Rate, gain;
148 bool linearPeriods, fastVolSlides;
149 byte *defaultPanning;
157 static int moduleLog2(
int x);
158 static int moduleExp2(
int x);
169 void SamplePingPong(
Sample &sample);
Definition: module_mod_xm_s3m.h:114
Definition: module_mod_xm_s3m.h:122
Definition: module_mod_xm_s3m.h:108
Definition: module_mod_xm_s3m.h:74
Definition: algorithm.h:29
Definition: module_mod_xm_s3m.h:96
Definition: module_mod_xm_s3m.h:82