#include <synced_context.hpp>
Public Member Functions | |
set_scontext_synced () | |
set_scontext_synced (int num) | |
~set_scontext_synced () | |
int | get_random_calls () |
void | do_final_checkup (bool dont_throw=false) |
Private Member Functions | |
void | init () |
Private Member Functions inherited from set_scontext_synced_base | |
set_scontext_synced_base () | |
~set_scontext_synced_base () | |
Static Private Member Functions | |
static checkup * | generate_checkup (const std::string &tagname) |
Private Attributes | |
checkup * | old_checkup_ |
boost::scoped_ptr< checkup > | new_checkup_ |
events::command_disabler | disabler_ |
bool | did_final_checkup_ |
Private Attributes inherited from set_scontext_synced_base | |
boost::shared_ptr < random_new::rng > | new_rng_ |
random_new::rng * | old_rng_ |
Definition at line 199 of file synced_context.hpp.
set_scontext_synced::set_scontext_synced | ( | ) |
Definition at line 411 of file synced_context.cpp.
References init().
set_scontext_synced::set_scontext_synced | ( | int | num | ) |
Definition at line 418 of file synced_context.cpp.
References init().
set_scontext_synced::~set_scontext_synced | ( | ) |
Definition at line 488 of file synced_context.cpp.
References checkup_instance, did_final_checkup_, LOG_REPLAY, new_checkup_, and old_checkup_.
void set_scontext_synced::do_final_checkup | ( | bool | dont_throw = false | ) |
Definition at line 448 of file synced_context.cpp.
References checkup_instance, config::debug(), did_final_checkup_, ERR_REPLAY, flush(), resources::gameboard, checkup::local_checkup(), game_logic::msg(), set_scontext_synced_base::new_rng_, and replay::process_error().
Referenced by ai::attack_result::do_execute(), play_controller::do_init_side(), play_controller::finish_side_turn(), play_controller::finish_turn(), actions::move_unit_and_record(), actions::undo::recruit_action::redo(), actions::undo::recall_action::redo(), synced_context::run(), and play_controller::start_game().
|
staticprivate |
Definition at line 425 of file synced_context.cpp.
References resources::classification, and resources::recorder.
int set_scontext_synced::get_random_calls | ( | ) |
Definition at line 499 of file synced_context.cpp.
References set_scontext_synced_base::new_rng_.
|
private |
Definition at line 440 of file synced_context.cpp.
References checkup_instance, did_final_checkup_, LOG_REPLAY, new_checkup_, and old_checkup_.
Referenced by set_scontext_synced().
|
private |
Definition at line 217 of file synced_context.hpp.
Referenced by do_final_checkup(), init(), and ~set_scontext_synced().
|
private |
Definition at line 216 of file synced_context.hpp.
|
private |
Definition at line 215 of file synced_context.hpp.
Referenced by init(), and ~set_scontext_synced().
|
private |
Definition at line 214 of file synced_context.hpp.
Referenced by init(), and ~set_scontext_synced().