summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-04 00:55:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-04 00:55:59 +0300
commit4fd2b7bdfa4c860c384557bda8b93f80dec8133f (patch)
tree4e740afd6486f63efa1c6f14bb68e320a27c5f02 /src/being/being.h
parent109f2df166a15261e2a43f1a73c7f4aeeb13b681 (diff)
downloadmanaverse-4fd2b7bdfa4c860c384557bda8b93f80dec8133f.tar.gz
manaverse-4fd2b7bdfa4c860c384557bda8b93f80dec8133f.tar.bz2
manaverse-4fd2b7bdfa4c860c384557bda8b93f80dec8133f.tar.xz
manaverse-4fd2b7bdfa4c860c384557bda8b93f80dec8133f.zip
Draw hp bar for elementals.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index c242d2e7e..90c57a4ae 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -971,6 +971,11 @@ class Being notfinal : public ActorSprite,
const int offsetY) const
restrict2 A_NONNULL(2);
+ void drawElemental(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const
+ restrict2 A_NONNULL(2);
+
void setTrickDead(const bool b) restrict2 override final;
void setChat(ChatObject *restrict const obj) restrict2;
@@ -1088,6 +1093,10 @@ class Being notfinal : public ActorSprite,
const int x,
const int y) const restrict2 A_NONNULL(2);
+ void drawElementalSpriteAt(Graphics *restrict const graphics,
+ const int x,
+ const int y) const restrict2 A_NONNULL(2);
+
void drawCompound(Graphics *const graphics,
const int posX,
const int posY) const A_NONNULL(2);