| 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | #include "pt2_palette.h" |
| 5 | #include "pt2_mouse.h" |
| 6 | #include "pt2_replayer.h" |
| 7 | |
| 8 | // TABLES |
| 9 | |
| 10 | extern const char *ftuneStrTab[16]; |
| 11 | extern const int8_t vuMeterHeights[65]; |
| 12 | extern const char hexTable[16]; |
| 13 | extern const uint32_t cursorColors[6][3]; |
| 14 | extern const char *noteNames1[2+36]; |
| 15 | extern const char *noteNames2[2+36]; |
| 16 | extern const char *noteNames3[2+36]; |
| 17 | extern const char *noteNames4[2+36]; |
| 18 | extern const uint8_t vibratoTable[32]; |
| 19 | extern const uint16_t modulationTable[64]; |
| 20 | extern const int16_t periodTable[(37*16)+15]; |
| 21 | extern int8_t pNoteTable[32]; |
| 22 | extern const uint32_t tickDuration31fp[(MAX_BPM-MIN_BPM)+1+1]; |
| 23 | |
| 24 | // changable by config file |
| 25 | extern uint16_t analyzerColors[36]; |
| 26 | extern uint16_t vuMeterColors[48]; |
| 27 | |
| 28 | // MODIFY THESE EVERY TIME YOU REMOVE/ADD A BUTTON! |
| 29 | #define TOPSCREEN_BUTTONS 47 |
| 30 | #define MIDSCREEN_BUTTONS 3 |
| 31 | #define BOTSCREEN_BUTTONS 4 |
| 32 | #define DISKOP_BUTTONS 17 |
| 33 | #define POSED_BUTTONS 12 |
| 34 | #define EDITOP1_BUTTONS 13 |
| 35 | #define EDITOP2_BUTTONS 22 |
| 36 | #define EDITOP3_BUTTONS 29 |
| 37 | #define EDITOP4_BUTTONS 29 |
| 38 | #define SAMPLER_BUTTONS 25 |
| 39 | // ----------------------------------------------- |
| 40 | |
| 41 | extern const guiButton_t bTopScreen[]; |
| 42 | extern const guiButton_t bMidScreen[]; |
| 43 | extern const guiButton_t bBotScreen[]; |
| 44 | extern const guiButton_t bDiskOp[]; |
| 45 | extern const guiButton_t bPosEd[]; |
| 46 | extern const guiButton_t bEditOp1[]; |
| 47 | extern const guiButton_t bEditOp2[]; |
| 48 | extern const guiButton_t bEditOp3[]; |
| 49 | extern const guiButton_t bEditOp4[]; |
| 50 | extern const guiButton_t bSampler[]; |