From f508e7191bd2f3eb7616e315e7e0d4a4b94c7914 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 10 Jan 2015 19:47:32 +0100 Subject: cleaned the initialization / shutdown a little The initialized surfaces are converted to display format so that they are ready for fastblit. Signed-off-by: Olivier Gayot --- rpg.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 rpg.h (limited to 'rpg.h') diff --git a/rpg.h b/rpg.h new file mode 100644 index 0000000..ff88b10 --- /dev/null +++ b/rpg.h @@ -0,0 +1,21 @@ +#ifndef RPG_H +#define RPG_H + +#include +#include + +#include "structures.h" + +struct rpg_t { + SDL_Surface *screen; + + TTF_Font *font; + + /* XXX those are deprecated */ + SURFACES surfaces; + POSITIONS positions; +}; + +extern struct rpg_t rpg_g; + +#endif /* RPG_H */ -- cgit v1.2.3