summaryrefslogtreecommitdiffstats
path: root/src/resources/map.h
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-02-17 02:31:32 (EST)
committer P. J. McDermott <pjm@nac.net>2013-02-17 02:31:32 (EST)
commitafaa1a637b8d139a556d3b1a0337f55a32d5e3b6 (patch)
treec8c71afafb081fb6d642cc4fae60942558cff5ef /src/resources/map.h
parent833b3d56704730776e528b89013e9419fd128eba (diff)
downloadoverworld-rpg-afaa1a637b8d139a556d3b1a0337f55a32d5e3b6.zip
overworld-rpg-afaa1a637b8d139a556d3b1a0337f55a32d5e3b6.tar.gz
overworld-rpg-afaa1a637b8d139a556d3b1a0337f55a32d5e3b6.tar.bz2
Fix base paths for resources referenced in maps.
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;