diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-18 20:00:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-18 20:08:15 +0300 |
commit | cf6a135902b647b565e782e9cb9626b7ac8b361b (patch) | |
tree | a6cebb27ca4f89ea5e559958dac2a4af9afa87d2 /src/being/being.h | |
parent | a3ad4ab670c7fa776375f569e9fe9d7fbe227245 (diff) | |
download | mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.gz mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.bz2 mv-cf6a135902b647b565e782e9cb9626b7ac8b361b.tar.xz mv-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.h | 6 |
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 |