40#ifndef TCOD_NAMEGEN_HPP_
41#define TCOD_NAMEGEN_HPP_
123 [[deprecated(
"This overload is deprecated, be sure to pass in const strings.")]]
124 static char *
generate (
char * name,
bool allocate =
false);
125 static std::string
generate (
const char * name,
bool allocate =
false);
149 [[deprecated(
"This overload is deprecated, be sure to pass in const strings.")]]
151 static std::string
generateCustom (
const char * name,
const char * rule,
bool allocate =
false);
Definition namegen.hpp:54
static char * generate(char *name, bool allocate=false)
The following will output a random name generated using one of the generation rules specified in the ...
static void parse(const char *filename, TCODRandom *random=NULL)
In order to be able to generate names, the name generator needs to be fed proper data.
static TCOD_list_t getSets(void)
If you wish to check the syllable set names that are currently available, you may call: This will cre...
static char * generateCustom(char *name, char *rule, bool allocate=false)
It is also possible to generate a name using custom generation rules.
static void destroy(void)
To release the resources used by a name generator, you may call: This will free all memory used by th...
Definition mersenne.hpp:94
Deprecated TCODList class.
Random number generator C++ module.