15 #ifndef GUI_DIALOGS_EDITOR_GENERATE_MAP_HPP_INCLUDED
16 #define GUI_DIALOGS_EDITOR_GENERATE_MAP_HPP_INCLUDED
19 #include <boost/optional/optional.hpp>
20 #include <boost/cstdint.hpp>
51 boost::optional<boost::uint32_t>
get_seed();
map_generator * get_selected_map_generator()
void set_map_generators(std::vector< map_generator * > mg)
std::string random_seed_
random seed integer input
void do_settings(twindow &window)
Callback for the generator settings button.
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
base class of top level items, the only item which needs to store the final canvases to draw on ...
void do_generator_selected(twindow &window)
Callback for generator list selection changes.
A class inherited from ttext_box that displays its input as stars.
Abstract base class for all dialogs.
void select_map_generator(map_generator *mg)
The dialog for selecting which random generator to use in the editor.
std::vector< map_generator * > map_generators_
Available map generators.
std::vector< map_generator * > get_map_generators()
void pre_show(twindow &window)
Inherited from tdialog.
boost::optional< boost::uint32_t > get_seed()
map_generator * last_map_generator_
Last used map generator, must be in map_generators_.
GLsizei const GLcharARB ** string
int current_map_generator_
Current map generator index.