31 std::string
name()
const override {
return "lua"; }
33 std::string
id()
const {
return id_; }
38 virtual std::string
create_map(utils::optional<uint32_t> randomseed)
override;
A config object defines a single node in a WML file, with access to child nodes.
std::string create_scenario_
lua_map_generator(const config &cfg, const config *vars)
virtual void user_config() override
Display the interactive screen, which allows the user to modify how the generator behaves.
virtual std::string create_map(utils::optional< uint32_t > randomseed) override
Creates a new map and returns it.
virtual config create_scenario(utils::optional< uint32_t > randomseed) override
bool allow_user_config() const override
Returns true if the map generator has an interactive screen, which allows the user to modify how the ...
std::string name() const override
Returns a string identifying the generator by name.
std::string config_name() const override
Return a friendly name for the generator used to differentiate between different configs of the same ...
Definitions for the interface to Wesnoth Markup Language (WML).