diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-25 17:13:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-25 17:13:24 +0300 |
commit | 8357e89fc0923f4b97cf8b990a4ffba2716bfabf (patch) | |
tree | 9253ddf8d30e97a947683e12dc195f3ec69ee7bc /src/resources/beinginfo.h | |
parent | 63446aa820db2a6ad83cb25c64a013e9e1418bd5 (diff) | |
download | plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.gz plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.bz2 plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.tar.xz plus-8357e89fc0923f4b97cf8b990a4ffba2716bfabf.zip |
add support for pet sit direction logic.
New pet db attribute: sitDirectionType
It can be set same values like in directionType.
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index c1d53ccde..bb8f6b6ff 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -272,6 +272,12 @@ class BeingInfo final int getDirectionType() const A_WARN_UNUSED { return mDirectionType; } + void setSitDirectionType(const int n) + { mSitDirectionType = n; } + + int getSitDirectionType() const A_WARN_UNUSED + { return mSitDirectionType; } + void setColorsList(const std::string &name); std::string getColor(const int idx) const A_WARN_UNUSED; @@ -310,6 +316,7 @@ class BeingInfo final int mSitOffsetY; int mThinkTime; int mDirectionType; + int mSitDirectionType; bool mStaticMaxHP; bool mTargetSelection; }; |