The Battle for Wesnoth  1.15.12+dev
race.cpp File Reference

Generate race-specific unit-names. More...

#include "units/race.hpp"
#include "filesystem.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode_cast.hpp"
#include "utils/name_generator.hpp"
#include "utils/name_generator_factory.hpp"
Include dependency graph for race.cpp:

Go to the source code of this file.


static const configempty_traits ()
static const configempty_topics ()
const std::string & gender_string (unit_race::GENDER gender)
unit_race::GENDER string_gender (const std::string &str, unit_race::GENDER def)

Detailed Description

Generate race-specific unit-names.

Definition in file race.cpp.

Function Documentation

◆ empty_topics()

static const config& empty_topics ( )

Definition at line 42 of file race.cpp.

◆ empty_traits()

static const config& empty_traits ( )

Definition at line 37 of file race.cpp.

◆ 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