15 #ifndef DEFAULT_MAP_GENERATOR_HPP_INCLUDED
16 #define DEFAULT_MAP_GENERATOR_HPP_INCLUDED
38 std::string generate_map(std::map<map_location,std::string>* labels, boost::optional<boost::uint32_t> randomseed);
40 size_t default_width_,
default_height_,
width_,
height_,
island_size_,
iterations_,
hill_size_,
max_lakes_,
nvillages_,
castle_size_,
nplayers_;
std::string generate_map(std::map< map_location, std::string > *labels, boost::optional< boost::uint32_t > randomseed)
config create_scenario(boost::optional< boost::uint32_t > randomseed)
std::string config_name() const
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).
std::string create_map(boost::optional< boost::uint32_t > randomseed)
Creates a new map and returns it.
bool allow_user_config() const
Returns true if the map generator has an interactive screen, which allows the user to modify how the ...
Game configuration data as global variables.
default_map_generator(const config &game_config)
void user_config(CVideo &v)
Display the interactive screen, which allows the user to modify how the generator behaves...
std::string name() const
Returns a string identifying the generator by name.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string