diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..fdab6e2 --- /dev/null +++ b/config.h @@ -0,0 +1,21 @@ +#ifndef CONFIG_H +#define CONFIG_H + +namespace Config { + const unsigned int window_w = 1280; + const unsigned int window_h = 720; + + const unsigned int viewport_x = 20; + const unsigned int viewport_y = 20; + const unsigned int viewport_w = 600; + const unsigned int viewport_h = 680; + + const unsigned int viewport_overscan = 10; + + const float viewport_aspect = float(viewport_h) / float(viewport_w); + + const unsigned int fps_x = 641; + const unsigned int fps_y = 1; +}; + +#endif |