diff options
author | P. 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) |
commit | afaa1a637b8d139a556d3b1a0337f55a32d5e3b6 (patch) | |
tree | c8c71afafb081fb6d642cc4fae60942558cff5ef /src/resources/map.h | |
parent | 833b3d56704730776e528b89013e9419fd128eba (diff) | |
download | overworld-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.h | 3 |
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; |