summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 21:48:32 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-17 21:48:32 +0200
commit9edb297bbd720daca3d3211d28d0a01e0a97c620 (patch)
tree492d28b0bd1abb14246c006253be49e10dc8ac31 /config.h
parent59a1f2052cb3abef7cbc24f8f9fde3ebc0db2275 (diff)
Added config.h.
Diffstat (limited to 'config.h')
-rw-r--r--config.h21
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