diff options
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index b07b23431..b4892227e 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -38,6 +38,7 @@ class ImageSet; class Music; class Resource; class SoundEffect; +class SubImage; class SpriteDef; struct SDL_Surface; @@ -202,6 +203,8 @@ class ResourceManager */ ImageSet *getImageSet(const std::string &imagePath, int w, int h); + SubImage *getSubImage(Image *parent, int x, int y, int width, int height); + /** * Creates a sprite definition based on a given path and the supplied * variant. |