Replay control code. More...
Go to the source code of this file.
Classes | |
class | chat_msg |
class | replay |
class | replay_network_sender |
Enumerations | |
enum | REPLAY_RETURN { REPLAY_RETURN_AT_END, REPLAY_FOUND_DEPENDENT, REPLAY_FOUND_END_TURN, REPLAY_FOUND_INIT_TURN, REPLAY_FOUND_END_MOVE, REPLAY_FOUND_END_LEVEL } |
Functions | |
REPLAY_RETURN | do_replay (bool one_move=false) |
REPLAY_RETURN | do_replay_handle (bool one_move=false) |
Replay control code.
Definition in file replay.hpp.
enum REPLAY_RETURN |
Enumerator | |
---|---|
REPLAY_RETURN_AT_END | |
REPLAY_FOUND_DEPENDENT | |
REPLAY_FOUND_END_TURN | |
REPLAY_FOUND_INIT_TURN | |
REPLAY_FOUND_END_MOVE | |
REPLAY_FOUND_END_LEVEL |
Definition at line 155 of file replay.hpp.
REPLAY_RETURN do_replay | ( | bool | one_move = false | ) |
Definition at line 659 of file replay.cpp.
References resources::controller, do_replay_handle(), log_scope, display::recalculate_minimap(), and resources::screen.
Referenced by turn_info::handle_turn(), replay_controller::play_side_impl(), playmp_controller::process_network_data(), and turn_info::sync_network().
REPLAY_RETURN do_replay_handle | ( | bool | one_move | ) |
Definition at line 677 of file replay.cpp.
References display_chat_manager::add_chat_message(), config::all_children_count(), config::all_children_range(), config::child(), map_labels::clear(), terrain_label::color(), resources::controller, terrain_label::creator(), play_controller::current_side(), DBG_REPLAY, config::debug(), play_controller::do_init_side(), ERR_REPLAY, unit_map::find(), game_display::get_chat_manager(), replay::get_next_action(), get_time(), config::has_child(), synced_context::is_synced(), display::labels(), terrain_label::location(), LOG_REPLAY, preferences::message_bell(), events::chat_handler::MESSAGE_PRIVATE, events::chat_handler::MESSAGE_PUBLIC, config::ordered_begin(), replay::process_error(), resources::recorder, REPLAY_FOUND_DEPENDENT, REPLAY_FOUND_END_LEVEL, REPLAY_FOUND_END_MOVE, REPLAY_FOUND_END_TURN, REPLAY_FOUND_INIT_TURN, REPLAY_RETURN_AT_END, replay::revert_action(), synced_context::run(), resources::screen, map_labels::set_label(), show_oos_error_error_function(), terrain_label::team_name(), resources::teams, terrain_label::text(), resources::units, unit_map::iterator_base< iter_types >::valid(), verify(), and WRN_REPLAY.
Referenced by synced_context::ask_server_choice(), do_replay(), user_choice_manager::pull(), user_choice_manager::search_in_replay(), and user_choice_manager::user_choice_manager().