summaryrefslogtreecommitdiff
path: root/src/tileset.h
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-12-05 19:30:53 +0100
committerStefan Dombrowski <stefan@uni-bonn.de>2010-12-05 19:30:53 +0100
commitf622cf4c545033e25fde7f3e1105cdf2118d7016 (patch)
tree2f4a69193a1d37716e8b7fdac1d04b2c1fba6268 /src/tileset.h
parentf2b8d02dc560528f6854a339c1974d761daabc70 (diff)
downloadmana-f622cf4c545033e25fde7f3e1105cdf2118d7016.tar.gz
mana-f622cf4c545033e25fde7f3e1105cdf2118d7016.tar.bz2
mana-f622cf4c545033e25fde7f3e1105cdf2118d7016.tar.xz
mana-f622cf4c545033e25fde7f3e1105cdf2118d7016.zip
Add support for tiles with spacing
Now the map from the Mana server's example data is shown properly. Reviewed-by: Jaxad0127
Diffstat (limited to 'src/tileset.h')
-rw-r--r--src/tileset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tileset.h b/src/tileset.h
index 56bc4547..6c2ee394 100644
--- a/src/tileset.h
+++ b/src/tileset.h
@@ -33,8 +33,8 @@ class Tileset : public ImageSet
/**
* Constructor.
*/
- Tileset(Image *img, int w, int h, int firstGid):
- ImageSet(img, w, h),
+ Tileset(Image *img, int w, int h, int firstGid, int margin, int spacing):
+ ImageSet(img, w, h, margin, spacing),
mFirstGid(firstGid)
{
}