diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-31 15:00:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-31 15:00:31 +0300 |
commit | 332334a876da21687911c6d22cf4a5dcb2cb586a (patch) | |
tree | a139c3d8562d2c9ca73b3b5f6ba079034b4bb684 /src/resources/beinginfo.h | |
parent | 6e4517d3f46f11fc47b77e92bd2c439fdb5738b2 (diff) | |
download | plus-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.gz plus-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.bz2 plus-332334a876da21687911c6d22cf4a5dcb2cb586a.tar.xz plus-332334a876da21687911c6d22cf4a5dcb2cb586a.zip |
add pet offset if owner is moving.
New pet db attributes: moveOffsetX, moveOffsetY
Diffstat (limited to 'src/resources/beinginfo.h')
-rw-r--r-- | src/resources/beinginfo.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index bb8f6b6ff..85d4af20b 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -260,6 +260,18 @@ class BeingInfo final int getSitOffsetY() const A_WARN_UNUSED { return mSitOffsetY; } + void setMoveOffsetX(const int n) + { mMoveOffsetX = n; } + + int getMoveOffsetX() const A_WARN_UNUSED + { return mMoveOffsetX; } + + void setMoveOffsetY(const int n) + { mMoveOffsetY = n; } + + int getMoveOffsetY() const A_WARN_UNUSED + { return mMoveOffsetY; } + void setThinkTime(const int n) { mThinkTime = n; } @@ -314,6 +326,8 @@ class BeingInfo final int mWalkSpeed; int mSitOffsetX; int mSitOffsetY; + int mMoveOffsetX; + int mMoveOffsetY; int mThinkTime; int mDirectionType; int mSitDirectionType; |