diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-05 22:56:42 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-05 22:56:42 +0200 |
commit | 1c49a83df05dbf6837687e1bfc5b142a680144ed (patch) | |
tree | 5e1ae2d371ca8ec6aa5caa95cf8e4bee00f726ee /src/being.h | |
parent | 6941cbc58099ee54ba326382eaf4de805d933e0e (diff) | |
download | manaplus-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.gz manaplus-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.bz2 manaplus-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.xz manaplus-1c49a83df05dbf6837687e1bfc5b142a680144ed.zip |
Add hp bar to local player.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h index 09466f5af..f9731366a 100644 --- a/src/being.h +++ b/src/being.h @@ -520,6 +520,7 @@ class Being : public ActorSprite, public ConfigListener int posX, int posY) const; void drawHpBar(Graphics *graphics, int x, int y, + int maxHP, int hp, int damage, int color1, int color2, int width, int height) const; static void load(); @@ -751,7 +752,7 @@ class Being : public ActorSprite, public ConfigListener static bool mDrawHotKeys; static bool mShowBattleEvents; static bool mShowMobHP; -// std::string mDisplayName; + static bool mShowOwnHP; unsigned int mMoveTime; unsigned int mAttackTime; |