diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-21 14:15:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-21 14:15:43 +0300 |
commit | e2a97fe7991d05a721be8070f70cbfbd7c169698 (patch) | |
tree | 763ddca35111acc2caccb3578645e91374df8631 /src/resources/beinginfo.cpp | |
parent | b5a9c89e9d4d8b21bceda9cf2507dc7f6b726c91 (diff) | |
download | manaverse-e2a97fe7991d05a721be8070f70cbfbd7c169698.tar.gz manaverse-e2a97fe7991d05a721be8070f70cbfbd7c169698.tar.bz2 manaverse-e2a97fe7991d05a721be8070f70cbfbd7c169698.tar.xz manaverse-e2a97fe7991d05a721be8070f70cbfbd7c169698.zip |
Add settings for monster hp bar offset.
New attributes: hpBarOffsetX, hpBarOffsetY
Example: <monster id="0" name="Piou" targetCursor="small" walkType="fly" hpBarOffsetX="30">
Diffstat (limited to 'src/resources/beinginfo.cpp')
-rw-r--r-- | src/resources/beinginfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/beinginfo.cpp b/src/resources/beinginfo.cpp index bd45ec9ed..1d316df5e 100644 --- a/src/resources/beinginfo.cpp +++ b/src/resources/beinginfo.cpp @@ -51,6 +51,8 @@ BeingInfo::BeingInfo() : mTargetOffsetY(0), mNameOffsetX(0), mNameOffsetY(0), + mHpBarOffsetX(0), + mHpBarOffsetY(0), mMaxHP(0), mSortOffsetY(0), mDeadSortOffsetY(31), |