diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-16 02:43:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-16 02:43:31 +0300 |
commit | cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b (patch) | |
tree | 5acc50addb37120aa7719e52a2fa0d451118fb74 /src/being.h | |
parent | 572c2e0048400388c71b962b74b9a443a0b076a0 (diff) | |
download | manaverse-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.gz manaverse-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.bz2 manaverse-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.xz manaverse-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.zip |
Add race name to status and debug windows.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h index 0b9257e83..859ebf26c 100644 --- a/src/being.h +++ b/src/being.h @@ -769,6 +769,12 @@ class Being : public ActorSprite, public ConfigListener void updatePercentHP(); + void setRaceName(std::string name) + { mRaceName = name; } + + std::string getRaceName() + { return mRaceName; } + protected: /** * Sets the new path for this being. @@ -804,6 +810,7 @@ class Being : public ActorSprite, public ConfigListener Uint8 mSpriteDirection; /**< Facing direction */ std::string mName; /**< Name of character */ + std::string mRaceName; std::string mPartyName; std::string mGuildName; |