Generate race-specific unit-names. More...
Go to the source code of this file.
Functions | |
static void | add_prefixes (const ucs4::string &str, size_t length, markov_prefix_map &res) |
static markov_prefix_map | markov_prefixes (const std::vector< std::string > &items, size_t length) |
static ucs4::string | markov_generate_name (const markov_prefix_map &prefixes, size_t chain_size, size_t max_len) |
Generate race-specific unit-names.
Definition in file markov_generator.cpp.
|
static |
|
static |
Definition at line 46 of file markov_generator.cpp.
References c, gui2::event::find(), random_new::generator, i, and random_new::rng::next_random().
Referenced by markov_generator::generate().
|
static |
Definition at line 35 of file markov_generator.cpp.
References add_prefixes(), and i.