diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-24 20:41:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-24 20:58:46 +0300 |
commit | 3cdb0d5516f5234dcebb118a26e405074de701f8 (patch) | |
tree | de5cd8f80bc1b762245a78e082676f630447d49b /src/being/being.h | |
parent | beca7c9c25815339244c6f2542054d25c59089b5 (diff) | |
download | plus-3cdb0d5516f5234dcebb118a26e405074de701f8.tar.gz plus-3cdb0d5516f5234dcebb118a26e405074de701f8.tar.bz2 plus-3cdb0d5516f5234dcebb118a26e405074de701f8.tar.xz plus-3cdb0d5516f5234dcebb118a26e405074de701f8.zip |
Add castingeffect object for draw casting effect in specified position and sorting.
Now casting effect drawed on ground and not over players or mobs.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/being/being.h b/src/being/being.h index 72e6d2065..737a5efd5 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -50,6 +50,7 @@ static const int DEFAULT_BEING_HEIGHT = 32; class AnimatedSprite; class BeingCacheEntry; +class CastingEffect; class Color; class Equipment; class FlashText; @@ -1095,7 +1096,7 @@ class Being notfinal : public ActorSprite, BeingInfo *restrict mInfo; AnimatedSprite *restrict mEmotionSprite; AnimatedSprite *restrict mAnimationEffect; - AnimatedSprite *restrict mCastingEffect; + CastingEffect *restrict mCastingEffect; AnimatedSprite *restrict mBadges[BadgeIndex::BadgeIndexSize]; std::string mSpriteAction; @@ -1272,11 +1273,6 @@ class Being notfinal : public ActorSprite, int mManner; int mAreaSize; int mCastEndTime; - int mCastRectX; - int mCastRectSize; - int mCastRectY; - int mCastAnimationX; - int mCastAnimationY; #ifdef EATHENA_SUPPORT BeingId mCreatorId; #endif @@ -1293,7 +1289,6 @@ class Being notfinal : public ActorSprite, bool mInactive; bool mNeedPosUpdate; bool mPetAi; - bool mDrawCast; }; extern std::list<BeingCacheEntry*> beingInfoCache; |