From 8a8ef403f70b43458f90b6192ce8cedcf2c9a209 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Mar 2016 18:50:18 +0300 Subject: Separate Being::draw function into drawPlayer and drawOther. --- src/being/being.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 8d95205fd..7c3860220 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -631,6 +631,16 @@ class Being notfinal : public ActorSprite, const int offsetY) const restrict2 override final A_NONNULL(2); + void drawPlayer(Graphics *restrict const graphics, + const int offsetX, + const int offsetY) const + restrict2 A_NONNULL(2); + + void drawOther(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); -- cgit v1.2.3-70-g09d2