summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-18 20:00:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-18 20:08:15 +0300
commitcf6a135902b647b565e782e9cb9626b7ac8b361b (patch)
treea6cebb27ca4f89ea5e559958dac2a4af9afa87d2 /src/being/being.h
parenta3ad4ab670c7fa776375f569e9fe9d7fbe227245 (diff)
downloadplus-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.gz
plus-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.bz2
plus-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.xz
plus-cf6a135902b647b565e782e9cb9626b7ac8b361b.zip
Add support for multiply sprites in each horse part.
Also fix horse sprites actions issue.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 09da505c5..8aad79698 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -895,6 +895,8 @@ class Being notfinal : public ActorSprite,
void setRiding(const bool b) override final;
+ void removeHorse();
+
void setSellBoard(const std::string &text);
std::string getSellBoard() const A_WARN_UNUSED
@@ -1087,8 +1089,8 @@ class Being notfinal : public ActorSprite,
ChatObject *mChat;
HorseInfo *mHorseInfo;
#endif
- AnimatedSprite *mDownHorseSprite;
- AnimatedSprite *mUpHorseSprite;
+ std::vector<AnimatedSprite*> mDownHorseSprites;
+ std::vector<AnimatedSprite*> mUpHorseSprites;
int mX; // position in tiles
int mY; // position in tiles