summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-05 22:56:42 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-05 22:56:42 +0200
commit1c49a83df05dbf6837687e1bfc5b142a680144ed (patch)
tree5e1ae2d371ca8ec6aa5caa95cf8e4bee00f726ee /src/being.h
parent6941cbc58099ee54ba326382eaf4de805d933e0e (diff)
downloadmv-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.gz
mv-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.bz2
mv-1c49a83df05dbf6837687e1bfc5b142a680144ed.tar.xz
mv-1c49a83df05dbf6837687e1bfc5b142a680144ed.zip
Add hp bar to local player.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h3
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;