Contains the exception interfaces used to signal completion of a scenario, campaign or turn. More...
#include "lua_jailbreak_exception.hpp"#include "utils/make_enum.hpp"#include <string>#include <exception>#include <boost/optional.hpp>

Go to the source code of this file.
Classes | |
| class | quit_game_exception |
| struct | transient_end_level |
| The non-persistent part of end_level_data. More... | |
| struct | end_level_data |
| Additional information on the game outcome which can be provided by WML. More... | |
Functions | |
| MAKE_ENUM (LEVEL_RESULT,(VICTORY,"victory")(DEFEAT,"defeat")(QUIT,"quit")(OBSERVER_END,"observer_end")) class return_to_play_side_exception | |
| Exception used to escape form the ai or ui code to playsingle_controller::play_side. More... | |
| const char * | what () const throw () |
| void | throw_quit_game_exception () |
Contains the exception interfaces used to signal completion of a scenario, campaign or turn.
Definition in file game_end_exceptions.hpp.
| MAKE_ENUM | ( | LEVEL_RESULT | , |
| (VICTORY,"victory")(DEFEAT,"defeat")(QUIT,"quit")(OBSERVER_END,"observer_end") | |||
| ) |
Exception used to escape form the ai or ui code to playsingle_controller::play_side.
Never thrown during replays.
Definition at line 35 of file game_end_exceptions.hpp.
|
inlineprivate |
Definition at line 109 of file game_end_exceptions.hpp.
Referenced by events::console_handler::do_quit(), throw_end_level::operator()(), turn_info::process_network_data(), quit_confirmation::quit_to_title(), savegame::savegame::save_game_interactive(), and playmp_controller::wait_for_upload().
| const char* what | ( | ) | const | |
| throw | ( | |||
| ) | ||||
Definition at line 55 of file game_end_exceptions.hpp.
Referenced by auxgetinfo(), kname(), luaL_execresult(), and start_capture().
1.8.8