#include <replay_helper.hpp>
Static Public Member Functions | |
static config | get_recruit (const std::string &type_id, const map_location &loc, const map_location &from) |
static config | get_recall (const std::string &unit_id, const map_location &loc, const map_location &from) |
static config | get_disband (const std::string &unit_id) |
static config | get_movement (const std::vector< map_location > &steps, bool skip_sighted, bool skip_ally_sighted) |
Records a move that follows the provided steps. More... | |
static config | get_attack (const map_location &a, const map_location &b, int att_weapon, int def_weapon, const std::string &attacker_type_id, const std::string &defender_type_id, int attacker_lvl, int defender_lvl, const size_t turn, const time_of_day &t) |
static config | get_auto_shroud (bool turned_on) |
Records that the player has toggled automatic shroud updates. More... | |
static config | get_update_shroud () |
Records that the player has manually updated fog/shroud. More... | |
static config | get_init_side () |
static config | get_event (const std::string &name, const map_location &loc, const map_location *last_select_loc) |
static config | get_lua_ai (const std::string &lua_code) |
Definition at line 23 of file replay_helper.hpp.
|
static |
Definition at line 86 of file replay_helper.cpp.
References config::add_child(), time_of_day::id, int(), and map_location::write().
Referenced by events::mouse_handler::attack_enemy_(), and ai::attack_result::do_execute().
|
static |
Records that the player has toggled automatic shroud updates.
Definition at line 118 of file replay_helper.cpp.
Referenced by playsingle_controller::play_ai_turn(), and events::menu_handler::toggle_shroud_updates().
|
static |
Definition at line 46 of file replay_helper.cpp.
|
static |
Definition at line 141 of file replay_helper.cpp.
References config::add_child(), map_location::valid(), and map_location::write().
Referenced by game_events::wml_menu_item::fire_event().
|
static |
Definition at line 134 of file replay_helper.cpp.
References resources::controller, and play_controller::current_side().
|
static |
Definition at line 157 of file replay_helper.cpp.
Referenced by ai::synced_command_result::do_execute().
|
static |
Records a move that follows the provided steps.
This should be the steps to be taken this turn, ending in an apparently-unoccupied (from the moving team's perspective) hex.
Definition at line 61 of file replay_helper.cpp.
References write_locations().
Referenced by actions::move_unit_and_record().
|
static |
Definition at line 34 of file replay_helper.cpp.
References config::add_child(), and map_location::write().
Referenced by ai::recall_result::do_execute(), wb::recall::execute(), and events::menu_handler::recall().
|
static |
Definition at line 23 of file replay_helper.cpp.
References config::add_child(), and map_location::write().
Referenced by ai::recruit_result::do_execute(), and events::menu_handler::do_recruit().
|
static |
Records that the player has manually updated fog/shroud.
Definition at line 128 of file replay_helper.cpp.
Referenced by playmp_controller::play_human_turn(), and events::menu_handler::update_shroud_now().