94     void set_test(
const std::string& 
id);
 
game_launcher(const commandline_options &cmdline_opts)
 
bool load_prepared_game()
 
utils::optional< std::string > jump_to_editor_
 
const events::event_context main_event_context_
 
game_launcher & operator=(const game_launcher &)=delete
 
unit_test_result single_unit_test()
Internal to the implementation of unit_test().
 
std::string multiplayer_server_
 
std::string jump_to_campaign_id() const
Return the ID of the campaign to jump to (skipping the main menu).
 
bool play_screenshot_mode()
 
jump_to_campaign_info jump_to_campaign_
 
std::string screenshot_filename_
 
void launch_game(reload_mode reload=reload_mode::RELOAD_DATA)
 
sound::music_thinker music_thinker_
 
game_launcher(const game_launcher &)=delete
 
bool jump_to_multiplayer_
 
savegame::load_game_metadata extract_load_data()
Returns the load_game_metadata object stored in load_data_.
 
unit_test_result pass_victory_or_defeat(level_result::type res)
 
bool has_load_data() const
 
bool play_render_image_mode()
 
std::vector< std::string > test_scenarios_
 
unit_test_result
Status code after running a unit test, should match the run_wml_tests script and the documentation fo...
 
@ BROKE_STRICT_TEST_FAIL_BY_DEFEAT
 
@ TEST_FAIL_LOADING_REPLAY
 
@ TEST_FAIL_PLAYING_REPLAY
 
@ TEST_FAIL_WML_EXCEPTION
 
@ BROKE_STRICT_TEST_PASS_BY_VICTORY
 
std::string screenshot_map_
 
const commandline_options & cmdline_opts_
 
font::manager font_manager_
 
const hotkey::manager hotkey_manager_
 
void select_mp_server(const std::string &server)
 
const image::manager image_manager_
 
utils::optional< savegame::load_game_metadata > load_data_
 
void set_test(const std::string &id)
 
bool play_multiplayer_commandline()
 
unit_test_result unit_test()
Runs unit tests specified on the command line.
 
sound::music_muter music_muter_
 
const commandline_options & opts() const
 
bool play_multiplayer(mp_mode mode)
 
editor::EXIT_STATUS start_editor()
 
this class is initialized once at game start put all initialization and wipe code in the methods here...
 
Contains the exception interfaces used to signal completion of a scenario, campaign or turn.
 
std::string filename
Filename.
 
std::string campaign_id
The ID of the campaign to launch.
 
bool jump
Whether the game should immediately start a campaign.
 
std::string scenario_id
The ID of the scenario within the campaign to jump to.
 
bool skip_story
Whether the story screen should be skipped.
 
int difficulty
The difficulty at which to launch the campaign.