summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-30 23:12:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-30 23:12:26 +0300
commitafb92b74a224a56ea51a6e8053a0dc69ee0601ff (patch)
tree8361c17f9bf76b6bc711a3f1d9d014ef05c834f4 /src/being
parentf493b31b59c79f8923d23634b7e2450c4df7019b (diff)
downloadplus-afb92b74a224a56ea51a6e8053a0dc69ee0601ff.tar.gz
plus-afb92b74a224a56ea51a6e8053a0dc69ee0601ff.tar.bz2
plus-afb92b74a224a56ea51a6e8053a0dc69ee0601ff.tar.xz
plus-afb92b74a224a56ea51a6e8053a0dc69ee0601ff.zip
Add manner field to beings.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 5f95fbfed..1ae269416 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -905,6 +905,12 @@ class Being notfinal : public ActorSprite,
int getKarma() const
{ return mKarma; }
+ void setManner(const int manner)
+ { mManner = manner; }
+
+ int getManner() const
+ { return mManner; }
+
protected:
/**
* Updates name's location.
@@ -1072,6 +1078,7 @@ class Being notfinal : public ActorSprite,
unsigned int mNumber;
int mUsageCounter;
int mKarma;
+ int mManner;
uint8_t mLook;
unsigned char mHairColor;
bool mErased;