17 #ifndef MAP_GEN_HPP_INCLUDED
18 #define MAP_GEN_HPP_INCLUDED
26 #include <boost/optional.hpp>
27 #include <boost/cstdint.hpp>
virtual bool allow_user_config() const
Returns true if the map generator has an interactive screen, which allows the user to modify how the ...
virtual config create_scenario(boost::optional< boost::uint32_t > randomseed=boost::none)
mapgen_exception(const std::string &msg)
virtual std::string create_map(boost::optional< boost::uint32_t > randomseed=boost::none)=0
Creates a new map and returns it.
static void msg(const char *act, debug_info &i, const char *to="", const char *result="")
Base class for all the errors encountered by the engine.
virtual std::string name() const =0
Returns a string identifying the generator by name.
virtual void user_config(CVideo &v)
Display the interactive screen, which allows the user to modify how the generator behaves...
A config object defines a single node in a WML file, with access to child nodes.
virtual std::string config_name() const =0
Return a friendly name for the generator used to differentiate between different configs of the same ...
GLsizei const GLcharARB ** string