Movement. More...
#include "actions/move.hpp"
#include "actions/undo.hpp"
#include "actions/vision.hpp"
#include "game_events/pump.hpp"
#include "preferences/preferences.hpp"
#include "gettext.hpp"
#include "hotkey/hotkey_item.hpp"
#include "hotkey/hotkey_command.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "mouse_handler_base.hpp"
#include "pathfind/pathfind.hpp"
#include "pathfind/teleport.hpp"
#include "replay.hpp"
#include "replay_helper.hpp"
#include "synced_context.hpp"
#include "play_controller.hpp"
#include "resources.hpp"
#include "units/udisplay.hpp"
#include "font/standard_colors.hpp"
#include "formula/string_utils.hpp"
#include "team.hpp"
#include "units/unit.hpp"
#include "units/animation_component.hpp"
#include "whiteboard/manager.hpp"
#include <deque>
#include <set>
Go to the source code of this file.
Namespaces | |
actions | |
Macros | |
#define | ERR_NG LOG_STREAM(err, log_engine) |
#define | DBG_NG LOG_STREAM(debug, log_engine) |
Functions | |
game_events::pump_result_t | actions::get_village (const map_location &loc, int side, bool *time_bonus=nullptr, bool fire_event=true) |
Makes it so the village at the given location is owned by the given side. More... | |
static void | actions::move_unit_internal (unit_mover &mover) |
void | actions::execute_move_unit (const std::vector< map_location > &steps, bool continued_move, bool skip_ally_sighted, move_unit_spectator *move_spectator) |
Moves a unit across the board. More... | |
void | actions::teleport_unit_and_record (const map_location &teleport_from, const map_location &teleport_to, move_unit_spectator *move_spectator=nullptr) |
Teleports a unit across the board and enters the synced context. More... | |
void | actions::teleport_unit_from_replay (const std::vector< map_location > &steps, bool continued_move, bool skip_ally_sighted, bool show_move) |
Teleports a unit across the board. More... | |
std::size_t | actions::move_unit_and_record (const std::vector< map_location > &steps, bool continued_move, bool *interrupted) |
Wrapper around the other overload. More... | |
void | actions::move_unit_and_record (const std::vector< map_location > &steps, bool continued_move, move_unit_spectator &move_spectator) |
Moves a unit across the board. More... | |
Variables | |
static lg::log_domain | log_engine ("engine") |
Movement.
Definition in file move.cpp.
#define DBG_NG LOG_STREAM(debug, log_engine) |
#define ERR_NG LOG_STREAM(err, log_engine) |
|
private |
|
private |
|
private |
Definition at line 330 of file move.cpp.
Referenced by t_string_base::walker::update().
|
private |
|
private |
|
static |
|
private |
|
private |
|
private |
Definition at line 327 of file move.cpp.
Referenced by footsteps_images().
|
private |