diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-18 15:27:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-18 15:27:19 +0300 |
commit | 5ec1b3eaa504bc8f9443a340e579e000d4516651 (patch) | |
tree | 1273ad4e33941142a23e1b5586a45636e0d06045 /src/being/being.h | |
parent | 1ce5e20594dbf44d6311d217cdba3b217491fc0b (diff) | |
download | plus-5ec1b3eaa504bc8f9443a340e579e000d4516651.tar.gz plus-5ec1b3eaa504bc8f9443a340e579e000d4516651.tar.bz2 plus-5ec1b3eaa504bc8f9443a340e579e000d4516651.tar.xz plus-5ec1b3eaa504bc8f9443a340e579e000d4516651.zip |
Highlight skill attack range with border, while casting skill.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index bf05d091b..810044956 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1038,6 +1038,12 @@ class Being notfinal : public ActorSprite, void serverRemove() restrict2 noexcept2; + void addCast(const int dstX, + const int dstY, + const int skillId, + const int range, + const int waitTimeTicks); + protected: void drawPlayerSpriteAt(Graphics *restrict const graphics, const int x, @@ -1170,6 +1176,10 @@ class Being notfinal : public ActorSprite, const int offsetX, const int offsetY) const A_NONNULL(2); + void drawCasting(Graphics *const graphics, + const int offsetX, + const int offsetY) const A_NONNULL(2); + const ActorTypeT mType; /** Speech Bubble components */ @@ -1255,6 +1265,11 @@ class Being notfinal : public ActorSprite, int mKarma; int mManner; int mAreaSize; + int mCastEndTime; + int mCastX1; + int mCastSize; + int mCastY1; + int mCastHeight; #ifdef EATHENA_SUPPORT BeingId mCreatorId; #endif @@ -1271,6 +1286,7 @@ class Being notfinal : public ActorSprite, bool mInactive; bool mNeedPosUpdate; bool mPetAi; + bool mDrawCast; }; extern std::list<BeingCacheEntry*> beingInfoCache; |