summaryrefslogtreecommitdiffstats
path: root/src/resources/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map.h')
-rw-r--r--src/resources/map.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/resources/map.h b/src/resources/map.h
index 04fcf27..81ee0ec 100644
--- a/src/resources/map.h
+++ b/src/resources/map.h
@@ -3,9 +3,18 @@
#include <SDL_stdinc.h>
#include "resource.h"
-#include "tileset.h"
+#include "image.h"
#include "layer.h"
+struct tileset {
+ struct resource res;
+ int firstgid;
+ char *name;
+ int tilewidth;
+ int tileheight;
+ struct image *image;
+ struct tileset *next;
+};
struct map {
struct resource res;
int width;