diff options
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r-- | src/resources/atlasmanager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h index 41aae86e5..1606fc4c9 100644 --- a/src/resources/atlasmanager.h +++ b/src/resources/atlasmanager.h @@ -73,6 +73,10 @@ class AtlasResource : public Resource public: ~AtlasResource(); + void incRef(); + + void decRef(); + std::vector<TextureAtlas*> atlases; }; @@ -86,6 +90,8 @@ class AtlasManager static void injectToResources(AtlasResource *resource); + static void moveToDeleted(AtlasResource *resource); + private: static void loadImages(const StringVect &files, std::vector<Image*> &images); |