46 virtual const std::string&
window_id()
const override;
96 template<
typename w
idget>
Abstract base class for all modal dialogs.
field_bool * shuffle_sides_
void load_game_callback()
field_integer * turn_bonus_
std::unique_ptr< ng::configure_engine > config_engine_
bool dialog_exit_hook(window &)
Dialog exit hook to bring up the difficulty dialog when starting a campaign.
std::pair< level_type::type, std::string > level_type_info
void show_generator_settings()
void on_mod_toggle(const std::string id, toggle_button *sender)
void display_games_of_type(level_type::type type, const std::string &level)
virtual void post_show() override
Actions to be taken after the window has been shown.
field_integer * action_bonus_
void set_active_mods(const std::vector< std::string > &val)
void show_description(const std::string &new_description)
virtual void pre_show() override
Actions to be taken before showing the window.
void sync_with_depcheck()
void update_map_settings()
mp_create_game(saved_game &state, bool local_mode)
field_integer * init_turn_limit_
std::unique_ptr< mp_options_helper > options_manager_
field_integer * experience_
menu_button * eras_menu_button_
void reset_timer_settings()
std::vector< level_type_info > level_types_
field_bool * strict_sync_
DEFINE_SIMPLE_EXECUTE_WRAPPER(mp_create_game)
The execute function.
field_bool * private_replay_
ng::create_engine create_engine_
void on_filter_change(const std::string &id, bool do_select)
void on_random_faction_mode_select()
std::vector< std::string > get_active_mods()
virtual const std::string & window_id() const override
The ID of the window to build.
int convert_to_game_filtered_index(const unsigned int initial_index)
field_bool * use_map_settings_
All fields are also in the normal field vector, but they need to be manually controlled as well so ad...
void regenerate_random_map()
field_integer * reservoir_
Specialized field class for boolean.
Template class to implement the generic field implementation.
base class of top level items, the only item which needs to store the final canvases to draw on.
static const std::string & type()
Static type getter that does not rely on the widget being constructed.
Various uncategorised dialogs.