The Battle for Wesnoth  1.17.12+dev
Classes | Typedefs | Functions
race.hpp File Reference
#include "config.hpp"
#include "utils/name_generator.hpp"
#include <array>
#include <memory>
Include dependency graph for race.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  unit_race


typedef std::map< std::string, unit_racerace_map


unit_race::GENDER string_gender (const std::string &str, unit_race::GENDER def=unit_race::MALE)
const std::string & gender_string (unit_race::GENDER gender)

Typedef Documentation

◆ race_map

typedef std::map<std::string,unit_race> race_map

Definition at line 95 of file race.hpp.

Function Documentation

◆ gender_string()

const std::string& gender_string ( unit_race::GENDER  gender)

◆ string_gender()

unit_race::GENDER string_gender ( const std::string &  str,
unit_race::GENDER  def = unit_race::MALE