Functions | |
bool | enter_create_mode (CVideo &video, const config &game_config, saved_game &state, jump_to_campaign_info jump_to_campaign, bool local_players_only) |
bool | enter_configure_mode (CVideo &video, const config &game_config, saved_game &state, bool local_players_only) |
bool | enter_connect_mode (CVideo &video, const config &game_config, saved_game &state, bool local_players_only) |
bool sp::enter_configure_mode | ( | CVideo & | video, |
const config & | game_config, | ||
saved_game & | state, | ||
bool | local_players_only | ||
) |
Definition at line 131 of file singleplayer.cpp.
References mp::ui::CREATE, enter_connect_mode(), mp::configure::get_parameters(), mp::ui::get_result(), mp::ui::QUIT, and mp::run_lobby_loop().
Referenced by enter_create_mode().
bool sp::enter_connect_mode | ( | CVideo & | video, |
const config & | game_config, | ||
saved_game & | state, | ||
bool | local_players_only | ||
) |
Definition at line 157 of file singleplayer.cpp.
References mp::ui::CREATE, enter_create_mode(), saved_game::mp_settings(), mp_game_settings::name, mp::ui::PLAY, mp::ui::QUIT, mp::run_lobby_loop(), mp_game_settings::show_connect, and ng::connect_engine::start_game().
Referenced by enter_configure_mode().
bool sp::enter_create_mode | ( | CVideo & | video, |
const config & | game_config, | ||
saved_game & | state, | ||
jump_to_campaign_info | jump_to_campaign, | ||
bool | local_players_only | ||
) |
Definition at line 25 of file singleplayer.cpp.
References _(), jump_to_campaign_info::campaign_id_, saved_game::classification(), jump_to_campaign_info::difficulty_, e, enter_configure_mode(), game_config_manager::get(), gui2::tcampaign_selection::get_deterministic(), ng::create_engine::get_levels_by_type_unfiltered(), ng::create_engine::get_parameters(), gui2::tdialog::get_retval(), saved_game::get_scenario_id(), i, gui2::twindow::OK, ng::create_engine::prepare_for_campaign(), ng::create_engine::prepare_for_era_and_mods(), ng::create_engine::prepare_for_new_level(), game_classification::random_mode, jump_to_campaign_info::scenario_id_, ng::create_engine::select_campaign_difficulty(), saved_game::set_carryover_sides_start(), ng::create_engine::set_current_level(), ng::create_engine::set_current_level_type(), twml_exception::show(), gui2::tdialog::show(), gui2::show_error_message(), and saved_game::valid().
Referenced by enter_connect_mode(), and game_launcher::new_campaign().