summaryrefslogtreecommitdiff
path: root/src/resources/atlasmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-20 16:39:35 +0300
commit9753cdbb33468148e1f690d67cb631d661e62027 (patch)
tree96c073cc948e9d8483676171a2fe1cb274fed0a4 /src/resources/atlasmanager.h
parentab9405f511303d490a8f966d1c1abe7f94bf0633 (diff)
downloadmv-9753cdbb33468148e1f690d67cb631d661e62027.tar.gz
mv-9753cdbb33468148e1f690d67cb631d661e62027.tar.bz2
mv-9753cdbb33468148e1f690d67cb631d661e62027.tar.xz
mv-9753cdbb33468148e1f690d67cb631d661e62027.zip
fix style in resources directory.
Diffstat (limited to 'src/resources/atlasmanager.h')
-rw-r--r--src/resources/atlasmanager.h8
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)