The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
race.cpp File Reference

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

#include "global.hpp"
#include "units/race.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode_cast.hpp"
#include "utils/markov_generator.hpp"
#include "utils/context_free_grammar_generator.hpp"
Include dependency graph for race.cpp:

Go to the source code of this file.

Functions

static const configempty_traits ()
 
static const configempty_topics ()
 
std::string const & 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

static const config& empty_topics ( )
static

Definition at line 43 of file race.cpp.

static const config& empty_traits ( )
static

Definition at line 38 of file race.cpp.

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