diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:51:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-13 19:53:11 +0300 |
commit | 9cff7e13f21edf3c794085bd9d0fbbdb22ff6896 (patch) | |
tree | 81eae3e138e8e41a1f29eb9162f55f70b9b1d522 /src/being/being.h | |
parent | 1c59d2d1999a6dfe3fcc31518c76d27d34fd9b30 (diff) | |
download | plus-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.gz plus-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.bz2 plus-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.tar.xz plus-9cff7e13f21edf3c794085bd9d0fbbdb22ff6896.zip |
Add separate functions for draw portals.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 9 |
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. */ |