Searched refs:NUM_GENDERS (Results 1 – 11 of 11) sorted by relevance
/dports/games/wesnoth/wesnoth-1.14.17/src/units/ |
H A D | race.hpp | 24 enum GENDER { MALE, FEMALE, NUM_GENDERS }; enumerator 74 t_string name_[NUM_GENDERS]; 78 std::shared_ptr<name_generator> name_generator_[NUM_GENDERS];
|
H A D | make.hpp | 24 …r(const unit_type& t, int side, bool real_unit, unit_race::GENDER gender = unit_race::NUM_GENDERS);
|
H A D | race.cpp | 97 for(int i=MALE; i<NUM_GENDERS; i++) { in unit_race()
|
H A D | unit.hpp | 114 …t(const unit_type& t, int side, bool real_unit, unit_race::GENDER gender = unit_race::NUM_GENDERS); 135 …te(const unit_type& t, int side, bool real_unit, unit_race::GENDER gender = unit_race::NUM_GENDERS) in create()
|
H A D | unit.cpp | 401 , gender_(unit_race::NUM_GENDERS) in unit() 698 gender_ = gender != unit_race::NUM_GENDERS ? gender : generate_gender(u_type, real_unit); in init()
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | gender-type.h | 10 NUM_GENDERS enumerator
|
H A D | english.cc | 277 COMPILE_CHECK(ARRAYSZ(_pronoun_declension) == NUM_GENDERS); in decline_pronoun() 278 ASSERT_RANGE(gender, 0, NUM_GENDERS); in decline_pronoun()
|
/dports/misc/libpostal/libpostal-1.1-alpha/src/ |
H A D | numex.h | 38 NUM_GENDERS enumerator
|
H A D | numex.c | 1121 for (int gender = NUM_GENDERS - 1; gender >= 0; gender--) { in ordinal_suffix_len()
|
/dports/games/wesnoth/wesnoth-1.14.17/src/ |
H A D | menu_events.cpp | 706 return type_and_gender(nullptr, unit_race::NUM_GENDERS); in choose_unit() 713 return type_and_gender(static_cast<const unit_type*>(nullptr), unit_race::NUM_GENDERS); in choose_unit() 737 unit_race::GENDER gender = unit_race::NUM_GENDERS) in create_and_place()
|
H A D | synced_commands.cpp | 519 const unit_race::GENDER gender = string_gender(child["gender"], unit_race::NUM_GENDERS);
|