42 utils::optional<uint32_t>
get_seed();
45 virtual const std::string&
window_id()
const override;
virtual void pre_show() override
Actions to be taken before showing the window.
std::vector< std::unique_ptr< map_generator > > & map_generators_
Available map generators.
int current_map_generator_
Current map generator index.
utils::optional< uint32_t > get_seed()
editor_generate_map(std::vector< std::unique_ptr< map_generator >> &mg)
void do_generator_selected()
Callback for generator list selection changes.
void do_settings()
Callback for the generator settings button.
std::vector< std::unique_ptr< map_generator > > & get_map_generators()
map_generator * last_map_generator_
Last used map generator, must be in map_generators_.
virtual const std::string & window_id() const override
The ID of the window to build.
std::string random_seed_
random seed integer input
void select_map_generator(map_generator *mg)
map_generator * get_selected_map_generator()
Abstract base class for all modal dialogs.