summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 20:03:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 20:20:27 +0300
commitd2c64cb6995486136be2cd511ff7ad835d57c319 (patch)
tree4ad19c7dfb1fdb53ebd543b07cf9f61c2d01f8ed /src/being/being.h
parent9cff7e13f21edf3c794085bd9d0fbbdb22ff6896 (diff)
downloadmv-d2c64cb6995486136be2cd511ff7ad835d57c319.tar.gz
mv-d2c64cb6995486136be2cd511ff7ad835d57c319.tar.bz2
mv-d2c64cb6995486136be2cd511ff7ad835d57c319.tar.xz
mv-d2c64cb6995486136be2cd511ff7ad835d57c319.zip
Add separate functions for draw monsters.
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 0c61733cf..ba392d385 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -641,6 +641,11 @@ class Being notfinal : public ActorSprite,
const int offsetY) const
restrict2 A_NONNULL(2);
+ void drawMonster(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const
+ restrict2 A_NONNULL(2);
+
void drawPortal(Graphics *restrict const graphics,
const int offsetX,
const int offsetY) const
@@ -1010,6 +1015,10 @@ class Being notfinal : public ActorSprite,
const int x,
const int y) const restrict2 A_NONNULL(2);
+ void drawMonsterSpriteAt(Graphics *restrict const graphics,
+ const int x,
+ const int y) const restrict2 A_NONNULL(2);
+
/**
* Updates name's location.
*/