49 std::string
name()
const override;
53 std::string
create_map(std::optional<uint32_t> randomseed)
override;
57 std::string
generate_map(std::map<map_location,std::string>* labels, std::optional<uint32_t> randomseed);
A config object defines a single node in a WML file, with access to child nodes.
std::string config_name() const override
Return a friendly name for the generator used to differentiate between different configs of the same ...
config create_scenario(std::optional< uint32_t > randomseed) override
default_map_generator(const config &game_config)
bool allow_user_config() const override
Returns true if the map generator has an interactive screen, which allows the user to modify how the ...
void user_config() override
Display the interactive screen, which allows the user to modify how the generator behaves.
std::string name() const override
Returns a string identifying the generator by name.
std::string generate_map(std::map< map_location, std::string > *labels, std::optional< uint32_t > randomseed)
std::string create_map(std::optional< uint32_t > randomseed) override
Creates a new map and returns it.
Game configuration data as global variables.