diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 21:33:00 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 21:37:01 +0100 |
commit | c3e0eaf45432f62b423cee2170a09b5d1aac135b (patch) | |
tree | 71da9bdcb5b55a5fb71fab5aef524ab12c1330d4 /rpg.h | |
parent | d98cf9e97a61b175649fa9fe656cb8ec2874686c (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ #include "structures.h" +#define DEFAULT_WIDTH 1024 +#define DEFAULT_HEIGHT 768 + struct rpg_t { SDL_Surface *screen; |