From c3e0eaf45432f62b423cee2170a09b5d1aac135b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 10 Jan 2015 21:33:00 +0100 Subject: allow to pass the resolution as arguments example (for my netbook): $ ./a.out 1024 600 Signed-off-by: Olivier Gayot --- rpg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpg.h') 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; -- cgit v1.2.3