diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-11-05 17:45:21 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-11-05 17:45:21 +0300 |
| commit | e2b6ea033d57f8666d1f23bbfee2a6c886220e34 (patch) | |
| tree | b115cc29ab2e79c0c89aefeabf98c56b87c8ac9a | |
| parent | b5bd5840744a0a3e36b1be8f9ab95492d1005bca (diff) | |
Add missing defines.h
| -rw-r--r-- | src/defines.h | 17 |
1 files changed, 17 insertions, 0 deletions
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_ |
