aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 14:11:24 +0100
committerEugene Sandulenko2016-02-14 17:13:22 +0100
commite56fa508895b1f9840f76e4a70545047db20e67a (patch)
treee4c4ef07d09f832a7825f053d7ae195d636ed9af
parente105ec8df306bb84a2919806695535eab64f10e9 (diff)
downloadscummvm-rg350-e56fa508895b1f9840f76e4a70545047db20e67a.tar.gz
scummvm-rg350-e56fa508895b1f9840f76e4a70545047db20e67a.tar.bz2
scummvm-rg350-e56fa508895b1f9840f76e4a70545047db20e67a.zip
WAGE: Better names for constants
-rw-r--r--engines/wage/util.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/wage/util.cpp b/engines/wage/util.cpp
index 2a72960868..1b3dfc9452 100644
--- a/engines/wage/util.cpp
+++ b/engines/wage/util.cpp
@@ -97,24 +97,24 @@ const char *getIndefiniteArticle(const Common::String &word) {
}
enum {
- GENDER_HE = 0,
- GENDER_SHE = 1,
- GENDER_IT = 2
+ GENDER_MALE = 0,
+ GENDER_FEMALE = 1,
+ GENDER_NEUTRAL = 2
};
const char *prependGenderSpecificPronoun(int gender) {
- if (gender == GENDER_HE)
+ if (gender == GENDER_MALE)
return "his ";
- else if (gender == GENDER_SHE)
+ else if (gender == GENDER_FEMALE)
return "her ";
else
return "its ";
}
const char *getGenderSpecificPronoun(int gender, bool capitalize) {
- if (gender == GENDER_HE)
+ if (gender == GENDER_MALE)
return capitalize ? "He" : "he";
- else if (gender == GENDER_SHE)
+ else if (gender == GENDER_FEMALE)
return capitalize ? "She" : "she";
else
return capitalize ? "It" : "it";