summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index 7ad2199ff..19b7ccbb7 100644
--- a/src/being.h
+++ b/src/being.h
@@ -68,7 +68,8 @@ enum Gender
{
GENDER_MALE = 0,
GENDER_FEMALE = 1,
- GENDER_UNSPECIFIED = 2
+ GENDER_UNSPECIFIED = 2,
+ GENDER_OTHER = 3
};
@@ -101,8 +102,9 @@ class Being : public ActorSprite, public ConfigListener
FLAG_SHOP = 1,
FLAG_AWAY = 2,
FLAG_INACTIVE = 4,
+ FLAG_GENDER_OTHER = 32,
FLAG_GM = 64,
- FLAG_GENDER = 128,
+ FLAG_GENDER_MALE = 128,
FLAG_SPECIAL = 128 + 64
};
@@ -780,6 +782,10 @@ class Being : public ActorSprite, public ConfigListener
std::string getRaceName()
{ return mRaceName; }
+ static int genderToInt(Gender sex);
+
+ static Gender intToGender(int sex);
+
protected:
/**
* Sets the new path for this being.