From e2b6ea033d57f8666d1f23bbfee2a6c886220e34 Mon Sep 17 00:00:00 2001 From: spl3g Date: Wed, 5 Nov 2025 17:45:21 +0300 Subject: Add missing defines.h --- src/defines.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/defines.h (limited to 'src/defines.h') diff --git a/src/defines.h b/src/defines.h new file mode 100644 index 0000000..88e5c46 --- /dev/null +++ b/src/defines.h @@ -0,0 +1,17 @@ +#ifndef DEFINES_H_ +#define DEFINES_H_ + +#define MESSAGE_QUEUE_SIZE 128 +#define SAMPLE_RATE 48000 +#define PERIOD_SIZE 480 +#define DISPLAY_SAMPLES 960 + +static const int SCREEN_FPS = 60; +static const int SCREEN_TICKS_PER_FRAME = 1000 / SCREEN_FPS; + +static const int FONT_ID = 0; + +#define DEFAULT_DIMENSIONS_HEIGHT 720 +#define DEFAULT_DIMENSIONS_WIDTH 1280 + +#endif // DEFINES_H_ -- cgit v1.2.3