From 4fd2b7bdfa4c860c384557bda8b93f80dec8133f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Aug 2016 00:55:59 +0300 Subject: Draw hp bar for elementals. --- src/being/being.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/being/being.h') 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); -- cgit v1.2.3-70-g09d2