summaryrefslogtreecommitdiff
path: root/rpg.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpg.h')
-rw-r--r--rpg.h21
1 files changed, 21 insertions, 0 deletions
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 <SDL/SDL.h>
+#include <SDL/SDL_ttf.h>
+
+#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 */