diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:36:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 21:36:26 +0300 |
commit | 55ff7fa3903b470ea7b4c74fb371252ec67e5e33 (patch) | |
tree | 2ed89159e8ac64744ae6ddae602adc7a0c3b7866 /src/resources/atlasmanager.h | |
parent | 49a7df51386e49d51b7bdd626265f61be3833a3d (diff) | |
download | plus-55ff7fa3903b470ea7b4c74fb371252ec67e5e33.tar.gz plus-55ff7fa3903b470ea7b4c74fb371252ec67e5e33.tar.bz2 plus-55ff7fa3903b470ea7b4c74fb371252ec67e5e33.tar.xz plus-55ff7fa3903b470ea7b4c74fb371252ec67e5e33.zip |
Move textureatlas into separate file.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r-- | src/resources/atlasmanager.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h index 8fb2d6dcc..0cb7b98b5 100644 --- a/src/resources/atlasmanager.h +++ b/src/resources/atlasmanager.h @@ -33,28 +33,7 @@ class AtlasResource; class Resource; struct AtlasItem; - -struct TextureAtlas final -{ - TextureAtlas() : - name(), - atlasImage(nullptr), - surface(nullptr), - width(0), - height(0), - items() - { - } - - A_DELETE_COPY(TextureAtlas) - - std::string name; - Image *atlasImage; - SDL_Surface *surface; - int width; - int height; - std::vector <AtlasItem*> items; -}; +struct TextureAtlas; class AtlasManager final { |