From f622cf4c545033e25fde7f3e1105cdf2118d7016 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Sun, 5 Dec 2010 19:30:53 +0100 Subject: Add support for tiles with spacing Now the map from the Mana server's example data is shown properly. Reviewed-by: Jaxad0127 --- src/resources/imageset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/imageset.h') 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. -- cgit v1.2.3-60-g2f50