38 , skip_story_(skip_story)
39 , difficulty_(difficulty)
40 , campaign_id_(campaign_id)
41 , scenario_id_(scenario_id)
67 TEST_FAIL_LOADING_REPLAY = 3,
68 TEST_FAIL_PLAYING_REPLAY = 4,
73 bool init_lua_script();
76 bool play_screenshot_mode();
77 bool play_render_image_mode();
81 bool is_loading()
const;
82 void clear_loaded_game();
85 void set_test(
const std::string&
id);
88 std::string jump_to_campaign_id()
const;
91 bool goto_multiplayer();
98 bool play_multiplayer_commandline();
99 bool change_language();
101 void show_preferences();
109 void start_wesnothd();
116 void mark_completed_campaigns(std::vector<config>& campaigns);
sound::music_muter music_muter_
const hotkey::manager hotkey_manager_
bool jump_to_multiplayer_
const std::unique_ptr< CVideo > video_
this class is initialized once at game start put all initialization and wipe code in the methods here...
jump_to_campaign_info(bool jump, bool skip_story, int difficulty, const std::string &campaign_id, const std::string &scenario_id)
jump_to_campaign_info jump_to_campaign_
std::vector< std::string > test_scenarios_
const commandline_options & opts() const
unit_test_result
Status code after running a unit test, should match the run_wml_tests script and the documentation fo...
font::manager font_manager_
std::string multiplayer_server_
editor::EXIT_STATUS start_editor()
void select_mp_server(const std::string &server)
bool jump_to_editor() const
std::string screenshot_map_
std::unique_ptr< savegame::load_game_metadata > load_data_
const preferences::manager prefs_manager_
the image manager is responsible for setting up images, and destroying all images when the program ex...
const commandline_options & cmdline_opts_
std::string jump(const unsigned amount)
sound::music_thinker music_thinker_
const events::event_context main_event_context_
A config object defines a single node in a WML file, with access to child nodes.
const image::manager image_manager_