diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:39:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:39:35 +0300 |
commit | 9753cdbb33468148e1f690d67cb631d661e62027 (patch) | |
tree | 96c073cc948e9d8483676171a2fe1cb274fed0a4 /src/resources/atlasmanager.h | |
parent | ab9405f511303d490a8f966d1c1abe7f94bf0633 (diff) | |
download | manaplus-9753cdbb33468148e1f690d67cb631d661e62027.tar.gz manaplus-9753cdbb33468148e1f690d67cb631d661e62027.tar.bz2 manaplus-9753cdbb33468148e1f690d67cb631d661e62027.tar.xz manaplus-9753cdbb33468148e1f690d67cb631d661e62027.zip |
fix style in resources directory.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r-- | src/resources/atlasmanager.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h index ce5f20d52..caa9b57eb 100644 --- a/src/resources/atlasmanager.h +++ b/src/resources/atlasmanager.h @@ -35,6 +35,7 @@ struct AtlasItem final { explicit AtlasItem(Image *const image0) : image(image0), + name(), x(0), y(0), width(image0->mBounds.w), @@ -55,10 +56,12 @@ struct AtlasItem final struct TextureAtlas final { TextureAtlas() : + name(), atlasImage(nullptr), surface(nullptr), width(0), - height(0) + height(0), + items() { } @@ -75,7 +78,8 @@ struct TextureAtlas final class AtlasResource final : public Resource { public: - AtlasResource() + AtlasResource() : + atlases() { } A_DELETE_COPY(AtlasResource) |