Some refactoring.

This commit is contained in:
2023-11-10 12:56:21 -08:00
parent f6688acfc7
commit fe5cd908f8
5 changed files with 153 additions and 106 deletions

20
settings.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef SETTINGS_H_SENTRY
#define SETTINGS_H_SENTRY
#ifndef WINDOW_WIDTH
#define WINDOW_WIDTH 800
#endif
#ifndef WINDOW_HEIGHT
#define WINDOW_HEIGHT 600
#endif
#ifndef FPS
#define FPS 120
#endif
#ifndef TARGET_FRAME_TIME
#define TARGET_FRAME_TIME (1000 / FPS)
#endif
#endif