summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-28 22:49:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-28 22:49:25 +0300
commit7c8410604d16e960a4ef7727517dd5fd43e9499e (patch)
treee0513ec61fffe2978192e9e4ed963fe1198148b3 /src/resources/image.h
parent4d8b97711684c66338c629500ea650c3d1a6802f (diff)
downloadmanaverse-7c8410604d16e960a4ef7727517dd5fd43e9499e.tar.gz
manaverse-7c8410604d16e960a4ef7727517dd5fd43e9499e.tar.bz2
manaverse-7c8410604d16e960a4ef7727517dd5fd43e9499e.tar.xz
manaverse-7c8410604d16e960a4ef7727517dd5fd43e9499e.zip
move bools in image.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 78eb07d7f..5ac239471 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -183,9 +183,7 @@ class Image : public Resource
// Generic protected members
// -----------------------
- bool mLoaded;
float mAlpha;
- bool mHasAlphaChannel;
// -----------------------
// SDL protected members
@@ -204,6 +202,8 @@ class Image : public Resource
std::map<float, SDL_Surface*> mAlphaCache;
+ bool mLoaded;
+ bool mHasAlphaChannel;
bool mUseAlphaCache;
bool mIsAlphaVisible;
bool mIsAlphaCalculated;