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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/map.h b/src/resources/map.h
index 81ee0ec..673a01d 100644
--- a/src/resources/map.h
+++ b/src/resources/map.h
@@ -8,6 +8,8 @@
struct tileset {
struct resource res;
+ char *dirname;
+ /* TODO: firstgid shouldn't apply to all uses of a tileset. */
int firstgid;
char *name;
int tilewidth;
@@ -17,6 +19,7 @@ struct tileset {
};
struct map {
struct resource res;
+ char *dirname;
int width;
int height;
int tilewidth;