diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:12:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:12:39 +0300 |
commit | cba820971cfc204050aa9bbaccb55ba35fba4ae1 (patch) | |
tree | 2e0f2abf0431e743584e0e061471288235ce146d /src/resources/atlasmanager.h | |
parent | 74165476686480cf06c19bfc8658936597b72b03 (diff) | |
download | manaplus-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.gz manaplus-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.bz2 manaplus-cba820971cfc204050aa9bbaccb55ba35fba4ae1.tar.xz manaplus-cba820971cfc204050aa9bbaccb55ba35fba4ae1.zip |
Move atlasresource into separate file.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r-- | src/resources/atlasmanager.h | 19 |
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: |