Tables.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Tables.h
  3. * --------
  4. * Purpose: Effect, interpolation, data and other pre-calculated tables.
  5. * Notes : (currently none)
  6. * Authors: Olivier Lapicque
  7. * OpenMPT Devs
  8. * The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  9. */
  10. #pragma once
  11. #include "openmpt/all/BuildSettings.hpp"
  12. OPENMPT_NAMESPACE_BEGIN
  13. // Compute Bessel function Izero(y) using a series approximation
  14. double Izero(double y);
  15. extern const mpt::uchar NoteNamesSharp[12][4];
  16. extern const mpt::uchar NoteNamesFlat[12][4];
  17. extern const uint8 ImpulseTrackerPortaVolCmd[16];
  18. extern const uint16 ProTrackerPeriodTable[7*12];
  19. extern const uint16 ProTrackerTunedPeriods[16*12];
  20. extern const uint8 ModEFxTable[16];
  21. extern const uint16 FreqS3MTable[12];
  22. extern const uint16 S3MFineTuneTable[16];
  23. extern const int8 ModSinusTable[64];
  24. extern const int8 ModRandomTable[64];
  25. extern const int8 ITSinusTable[256];
  26. extern const int8 retrigTable1[16];
  27. extern const int8 retrigTable2[16];
  28. extern const uint16 XMPeriodTable[104];
  29. extern const uint32 XMLinearTable[768];
  30. extern const uint32 FineLinearSlideUpTable[16];
  31. extern const uint32 FineLinearSlideDownTable[16];
  32. extern const uint32 LinearSlideUpTable[256];
  33. extern const uint32 LinearSlideDownTable[256];
  34. extern const uint16 XMPanningTable[256];
  35. extern const uint8 AutoVibratoIT2XM[8];
  36. extern const uint8 AutoVibratoXM2IT[8];
  37. OPENMPT_NAMESPACE_END