49 std::string
name()
const override;
53 std::string
create_map(utils::optional<uint32_t> randomseed)
override;
57 std::string
generate_map(std::map<map_location,std::string>* labels, utils::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 ...
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 ...
config create_scenario(utils::optional< uint32_t > randomseed) override
void user_config() override
Display the interactive screen, which allows the user to modify how the generator behaves.
std::string create_map(utils::optional< uint32_t > randomseed) override
Creates a new map and returns it.
std::string name() const override
Returns a string identifying the generator by name.
std::string generate_map(std::map< map_location, std::string > *labels, utils::optional< uint32_t > randomseed)
Definitions for the interface to Wesnoth Markup Language (WML).
Game configuration data as global variables.