diff options
author | P. J. McDermott <pjm@nac.net> | 2013-02-17 01:20:49 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-02-17 01:20:49 (EST) |
commit | 1a8f91467aad191721d57a9ad772f6700c029e1d (patch) | |
tree | 4790ccd415cdd5e4fa22acaae7347520b5bcd296 /src/resources/map.h | |
parent | 1e4407da677dd7a192c817de16583bb7199ceeb0 (diff) | |
download | overworld-rpg-1a8f91467aad191721d57a9ad772f6700c029e1d.zip overworld-rpg-1a8f91467aad191721d57a9ad772f6700c029e1d.tar.gz overworld-rpg-1a8f91467aad191721d57a9ad772f6700c029e1d.tar.bz2 |
TMX parser rewrite number two.
Diffstat (limited to 'src/resources/map.h')
-rw-r--r-- | src/resources/map.h | 11 |
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; |