diff options
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/being/being.h b/src/being/being.h index 6364f8aed..9f9f3992d 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -891,11 +891,25 @@ class Being notfinal : public ActorSprite, virtual int getLastAttackY() const { return mLastAttackY; } +#ifdef EATHENA_SUPPORT void setChat(ChatObject *const obj); ChatObject *getChat() const { return mChat; } + void setRiding(const bool b) override final; + + void setSellBoard(const std::string &text); + + std::string getSellBoard() const A_WARN_UNUSED + { return mSellBoard; } + + void setBuyBoard(const std::string &text); + + std::string getBuyBoard() const A_WARN_UNUSED + { return mBuyBoard; } +#endif + void setKarma(const int karma) { mKarma = karma; } @@ -920,18 +934,6 @@ class Being notfinal : public ActorSprite, void setAreaSize(const int areaSize) { mAreaSize = areaSize; } - void setSellBoard(const std::string &text); - - std::string getSellBoard() const A_WARN_UNUSED - { return mSellBoard; } - - void setBuyBoard(const std::string &text); - - std::string getBuyBoard() const A_WARN_UNUSED - { return mBuyBoard; } - - void setRiding(const bool b) override final; - protected: /** * Updates name's location. @@ -1050,13 +1052,17 @@ class Being notfinal : public ActorSprite, int *mSpriteHide; int *mSpriteDraw; std::string mComment; +#ifdef EATHENA_SUPPORT std::string mBuyBoard; std::string mSellBoard; +#endif std::vector<Being*> mPets; Being *mOwner; Particle *mSpecialParticle; +#ifdef EATHENA_SUPPORT ChatObject *mChat; HorseInfo *mHorseInfo; +#endif AnimatedSprite *mHorseSprite; int mX; // position in tiles |