| 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | #include <stdbool.h> |
| 5 | #include "pt2_structs.h" |
| 6 | |
| 7 | #define MIN_BPM 32 |
| 8 | #define MAX_BPM 255 |
| 9 | |
| 10 | void gotoNextMulti(void); |
| 11 | double ciaBpm2Hz(int32_t bpm); |
| 12 | void updatePaulaLoops(void); // used after manipulating Paula sample loop points while playing |
| 13 | void turnOffVoices(void); |
| 14 | void initializeModuleChannels(module_t *s); |
| 15 | module_t *createEmptyMod(void); |
| 16 | void setReplayerPosToTrackerPos(void); |
| 17 | void setPattern(int16_t pattern); |
| 18 | bool tickReplayer(void); |
| 19 | void storeTempVariables(void); |
| 20 | void restartSong(void); |
| 21 | void resetSong(void); |
| 22 | void incPatt(void); |
| 23 | void decPatt(void); |
| 24 | void updateNewPos(void); // for after having edited the "POS" digits only |
| 25 | void modSetPos(int16_t pos, int16_t row); |
| 26 | void modStop(void); |
| 27 | void doStopIt(bool resetPlayMode); |
| 28 | void playPattern(int8_t startRow); |
| 29 | void modPlay(int16_t patt, int16_t pos, int8_t row); |
| 30 | void modSetSpeed(int32_t speed); |
| 31 | void modSetTempo(int32_t bpm, bool doLockAudio); |
| 32 | void modFree(void); |
| 33 | void clearSong(void); |
| 34 | void clearSamples(void); |
| 35 | void modSetPattern(uint8_t pattern); |