1 #pragma once 2 3 #include <stdint.h> 4 #include <stdbool.h> 5 6 enum 7 { 8 PIXELFILTER_NEAREST = 0, 9 PIXELFILTER_LINEAR = 1, 10 PIXELFILTER_BEST = 2 11 }; 12 13 typedef struct config_t 14 { 15 char *defModulesDir, *defSamplesDir; 16 bool waveformCenterLine, pattDots, compoMode, autoCloseDiskOp, hideDiskOpDates, hwMouse; 17 bool transDel, fullScreenStretch, vsyncOff, modDot, blankZeroFlag, realVuMeters, rememberPlayMode; 18 bool startInFullscreen, integerScaling, disableE8xEffect, noDownsampleOnSmpLoad; 19 int8_t stereoSeparation, videoScaleFactor, accidental; 20 uint8_t pixelFilter, filterModel; 21 uint16_t quantizeValue; 22 uint32_t soundFrequency, soundBufferSize, audioInputFrequency; 23 } config_t; 24 25 extern config_t config; // pt2_config.c 26 27 void loadConfig(void); 28