summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-13 19:51:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-13 19:53:11 +0300
commit9cff7e13f21edf3c794085bd9d0fbbdb22ff6896 (patch)
tree81eae3e138e8e41a1f29eb9162f55f70b9b1d522 /src/being/being.h
parent1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30 (diff)
downloadmv-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.gz
mv-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.bz2
mv-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.xz
mv-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.zip
Add separate functions for draw portals.
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 dbdb58acb..0c61733cf 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 drawPortal(Graphics *restrict const graphics,
+ const int offsetX,
+ const int offsetY) const
+ restrict2 A_NONNULL(2);
+
void drawBasic(Graphics *restrict const graphics,
const int x,
const int y) const restrict2 A_NONNULL(2);
@@ -1001,6 +1006,10 @@ class Being notfinal : public ActorSprite,
const int x,
const int y) const restrict2 A_NONNULL(2);
+ void drawPortalSpriteAt(Graphics *restrict const graphics,
+ const int x,
+ const int y) const restrict2 A_NONNULL(2);
+
/**
* Updates name's location.
*/