#include <map>
#include <string>
#include <vector>
#include "serialization/string_utils.hpp"
#include "config.hpp"
Go to the source code of this file.
Classes | |
class | unit_race |
Typedefs | |
typedef std::map< wide_string, std::vector< wchar_t > > | markov_prefix_map |
typedef std::map< std::string, unit_race > | race_map |
Functions | |
unit_race::GENDER | string_gender (const std::string &str, unit_race::GENDER def=unit_race::MALE) |
std::string const & | gender_string (unit_race::GENDER gender) |
Definition in file race.hpp.
typedef std::map<wide_string, std::vector<wchar_t> > markov_prefix_map |
std::string const& gender_string | ( | unit_race::GENDER | gender | ) |
Definition at line 204 of file race.cpp.
References unit_race::FEMALE, and unit_race::MALE.
Referenced by unit::add_modification(), unit::advance_to(), unit::apply_modifications(), dialogs::unit_types_preview_pane::get_details(), string_gender(), and unit::write().
unit_race::GENDER string_gender | ( | const std::string & | str, | |
unit_race::GENDER | def = unit_race::MALE | |||
) |
Definition at line 216 of file race.cpp.
References unit_race::FEMALE, gender_string(), and unit_race::MALE.
Referenced by unit_type::build_help_index(), unit::generate_name(), unit::internal_matches_filter(), and unit::read().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |