diff options
Diffstat (limited to 'Src/external_dependencies/openmpt-trunk/soundlib/Tables.h')
-rw-r--r-- | Src/external_dependencies/openmpt-trunk/soundlib/Tables.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Src/external_dependencies/openmpt-trunk/soundlib/Tables.h b/Src/external_dependencies/openmpt-trunk/soundlib/Tables.h new file mode 100644 index 00000000..d9a8fccd --- /dev/null +++ b/Src/external_dependencies/openmpt-trunk/soundlib/Tables.h @@ -0,0 +1,46 @@ +/* + * Tables.h + * -------- + * Purpose: Effect, interpolation, data and other pre-calculated tables. + * Notes : (currently none) + * Authors: Olivier Lapicque + * OpenMPT Devs + * The OpenMPT source code is released under the BSD license. Read LICENSE for more details. + */ + + +#pragma once + +#include "openmpt/all/BuildSettings.hpp" + +OPENMPT_NAMESPACE_BEGIN + +// Compute Bessel function Izero(y) using a series approximation +double Izero(double y); + +extern const mpt::uchar NoteNamesSharp[12][4]; +extern const mpt::uchar NoteNamesFlat[12][4]; + +extern const uint8 ImpulseTrackerPortaVolCmd[16]; +extern const uint16 ProTrackerPeriodTable[7*12]; +extern const uint16 ProTrackerTunedPeriods[16*12]; +extern const uint8 ModEFxTable[16]; +extern const uint16 FreqS3MTable[12]; +extern const uint16 S3MFineTuneTable[16]; +extern const int8 ModSinusTable[64]; +extern const int8 ModRandomTable[64]; +extern const int8 ITSinusTable[256]; +extern const int8 retrigTable1[16]; +extern const int8 retrigTable2[16]; +extern const uint16 XMPeriodTable[104]; +extern const uint32 XMLinearTable[768]; +extern const uint32 FineLinearSlideUpTable[16]; +extern const uint32 FineLinearSlideDownTable[16]; +extern const uint32 LinearSlideUpTable[256]; +extern const uint32 LinearSlideDownTable[256]; +extern const uint16 XMPanningTable[256]; + +extern const uint8 AutoVibratoIT2XM[8]; +extern const uint8 AutoVibratoXM2IT[8]; + +OPENMPT_NAMESPACE_END |