summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/being.h b/src/being.h
index 411db3b7..32cfcf99 100644
--- a/src/being.h
+++ b/src/being.h
@@ -51,11 +51,12 @@ struct Position;
class SpeechBubble;
class Text;
-enum Gender
+enum class Gender
{
- GENDER_MALE = 0,
- GENDER_FEMALE = 1,
- GENDER_UNSPECIFIED = 2
+ MALE = 0,
+ FEMALE = 1,
+ UNSPECIFIED = 2,
+ HIDDEN = 3
};
class Being : public ActorSprite, public EventListener
@@ -505,7 +506,7 @@ class Being : public ActorSprite, public EventListener
std::vector<int> mSpriteIDs;
std::vector<std::string> mSpriteColors;
- Gender mGender = GENDER_UNSPECIFIED;
+ Gender mGender = Gender::UNSPECIFIED;
// Character guild information
std::map<int, Guild*> mGuilds;