diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-12-05 19:30:53 +0100 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-12-05 19:30:53 +0100 |
commit | f622cf4c545033e25fde7f3e1105cdf2118d7016 (patch) | |
tree | 2f4a69193a1d37716e8b7fdac1d04b2c1fba6268 /src/resources/imageset.h | |
parent | f2b8d02dc560528f6854a339c1974d761daabc70 (diff) | |
download | mana-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/resources/imageset.h')
-rw-r--r-- | src/resources/imageset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/imageset.h b/src/resources/imageset.h index 763b9880..3289788f 100644 --- a/src/resources/imageset.h +++ b/src/resources/imageset.h @@ -37,7 +37,7 @@ class ImageSet : public Resource /** * Cuts the passed image in a grid of sub images. */ - ImageSet(Image *img, int w, int h); + ImageSet(Image *img, int w, int h, int margin = 0, int spacing = 0); /** * Destructor. |