15 #ifndef INCLUDED_MAPGEN_LUA_KERNEL
16 #define INCLUDED_MAPGEN_LUA_KERNEL
19 #include <boost/optional.hpp>
20 #include <boost/cstdint.hpp>
21 #include <boost/random/mersenne_twister.hpp>
boost::optional< boost::mt19937 > default_rng_
rng * generator
This generator is automatically synced during synced context.
config create_scenario(const char *prog, const config &generator, boost::optional< boost::uint32_t > seed)
virtual boost::uint32_t get_random_seed()
void user_config(const char *prog, const config &generator)
virtual std::string my_name()
void run_generator(const char *prog, const config &generator)
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
boost::mt19937 & get_default_rng()
std::string create_map(const char *prog, const config &generator, boost::optional< boost::uint32_t > seed)
boost::optional< boost::uint32_t > random_seed_