summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-16 02:43:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-16 02:43:31 +0300
commitcbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b (patch)
tree5acc50addb37120aa7719e52a2fa0d451118fb74 /src/being.h
parent572c2e0048400388c71b962b74b9a443a0b076a0 (diff)
downloadplus-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.gz
plus-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.bz2
plus-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.tar.xz
plus-cbf5a66ac0d5cbcd2f0058b9e326ef9b6d56f23b.zip
Add race name to status and debug windows.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h7
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;