summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 21:12:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 21:12:39 +0300
commitcba820971cfc204050aa9bbaccb55ba35fba4ae1 (patch)
tree2e0f2abf0431e743584e0e061471288235ce146d /src/resources/atlasmanager.h
parent74165476686480cf06c19bfc8658936597b72b03 (diff)
downloadmv-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.gz
mv-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.bz2
mv-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.xz
mv-cba820971cfc204050aa9bbaccb55ba35fba4ae1.zip
Move atlasresource into separate file.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r--src/resources/atlasmanager.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h
index 58f43d251..cf461cc23 100644
--- a/src/resources/atlasmanager.h
+++ b/src/resources/atlasmanager.h
@@ -29,6 +29,7 @@
#include <SDL.h>
+class AtlasResource;
class Resource;
struct AtlasItem final
@@ -75,24 +76,6 @@ struct TextureAtlas final
std::vector <AtlasItem*> items;
};
-class AtlasResource final : public Resource
-{
- public:
- AtlasResource() :
- atlases()
- { }
-
- A_DELETE_COPY(AtlasResource)
-
- ~AtlasResource();
-
- void incRef() override final;
-
- void decRef() override final;
-
- std::vector<TextureAtlas*> atlases;
-};
-
class AtlasManager final
{
public: