summaryrefslogtreecommitdiff
path: root/src/graphic/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphic/image.h')
-rw-r--r--src/graphic/image.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/graphic/image.h b/src/graphic/image.h
index 2491b5ad..41d94a2d 100644
--- a/src/graphic/image.h
+++ b/src/graphic/image.h
@@ -127,6 +127,11 @@ class Spriteset {
*/
Spriteset(std::string filename);
+ /*
+ * Cuts the passed bitmap in a grid of sub bitmaps.
+ */
+ Spriteset::Spriteset(BITMAP *bmp, int width, int height);
+
/**
* Destructor
*/