Some refactoring.
This commit is contained in:
20
settings.h
Normal file
20
settings.h
Normal 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
|
||||
Reference in New Issue
Block a user