diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-04 22:15:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-04 22:15:48 +0300 |
commit | 5c30a24b51538c8a0656977caeeced94277aa5b8 (patch) | |
tree | 574a680074cf5f69522b79ef48430d57b8be0787 /src/resources/iteminfo.h | |
parent | 146e9182d8c930e62fbcc281615b96c95319a5ea (diff) | |
download | plus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.gz plus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.bz2 plus-5c30a24b51538c8a0656977caeeced94277aa5b8.tar.xz plus-5c30a24b51538c8a0656977caeeced94277aa5b8.zip |
Add option to items.xml to set max floor item pixel offset.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 33727b136..1816b3bf5 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -233,6 +233,12 @@ class ItemInfo bool isRemoveSprites() const { return mIsRemoveSprites; } + void setMaxFloorOffset(int i) + { maxFloorOffset = i; } + + int getMaxFloorOffset() const + { return maxFloorOffset; } + bool isRemoveItemId(int id) const; /** Effects to be shown when weapon attacks - see also effects.xml */ @@ -297,6 +303,7 @@ class ItemInfo std::string mColorList; int mHitEffectId; int mCriticalHitEffectId; + int maxFloorOffset; }; #endif |