summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-13 22:18:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-30 02:57:13 +0300
commit135c19b4337e1ab45cff40a306eadc52a061ddef (patch)
tree0a163ca1edd542aec5570b7e451034aafb4089dd /src/resources/resourcemanager.h
parent3a2bab265768c219b0c077eef10b69dfe8158131 (diff)
downloadmanaplus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.gz
manaplus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.bz2
manaplus-135c19b4337e1ab45cff40a306eadc52a061ddef.tar.xz
manaplus-135c19b4337e1ab45cff40a306eadc52a061ddef.zip
add atlas textures support.
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index e20e4b3ac..551b00a33 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -212,6 +212,8 @@ class ResourceManager final
Image *getSubImage(Image *const parent, const int x, const int y,
const int width, const int height);
+ Resource *getAtlas(const std::string &name, const StringVect &files);
+
/**
* Creates a sprite definition based on a given path and the supplied
* variant.