summaryrefslogtreecommitdiff
path: root/rpg.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-10 21:33:00 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-10 21:37:01 +0100
commitc3e0eaf45432f62b423cee2170a09b5d1aac135b (patch)
tree71da9bdcb5b55a5fb71fab5aef524ab12c1330d4 /rpg.h
parentd98cf9e97a61b175649fa9fe656cb8ec2874686c (diff)
allow to pass the resolution as arguments
example (for my netbook): $ ./a.out 1024 600 Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'rpg.h')
-rw-r--r--rpg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpg.h b/rpg.h
index ff88b10..d4ae97f 100644
--- a/rpg.h
+++ b/rpg.h
@@ -6,6 +6,9 @@
#include "structures.h"
+#define DEFAULT_WIDTH 1024
+#define DEFAULT_HEIGHT 768
+
struct rpg_t {
SDL_Surface *screen;