From 3cdb0d5516f5234dcebb118a26e405074de701f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jul 2016 20:41:46 +0300 Subject: Add castingeffect object for draw casting effect in specified position and sorting. Now casting effect drawed on ground and not over players or mobs. --- src/being/being.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/being/being.h') 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 beingInfoCache; -- cgit v1.2.3-70-g09d2