diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 19:24:51 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 19:24:51 +0200 |
commit | 267bebfc227c94f543a39e2aa75fb101bc06932e (patch) | |
tree | 40ad8057634ba80aa19c61f57884982fd59f6b56 /engine/config.h | |
parent | 88b1e9e505dad78fd2c3ff927495d322b11491ca (diff) |
Moved engine-sources to seperate subdirectory.
Diffstat (limited to 'engine/config.h')
-rw-r--r-- | engine/config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/engine/config.h b/engine/config.h new file mode 100644 index 0000000..6884b1a --- /dev/null +++ b/engine/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 = 800; + + const float viewport_x = 15.0 / 1080.0; + const float viewport_y = 15.0 / 1080.0; + const float viewport_w = 900.0 / 1080.0; + const float viewport_h = 1050.0 / 1080.0; + + const unsigned int viewport_overscan = 10; + + const float viewport_aspect = float(viewport_h) / float(viewport_w); + + const float fps_x = 0.0; + const float fps_y = 0.0; +}; + +#endif |