Various functions related to moving units. More...
Go to the source code of this file.
Classes | |
class | actions::move_unit_spectator |
Namespaces | |
actions | |
Functions | |
bool | 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... | |
size_t | actions::move_unit_and_record (const std::vector< map_location > &steps, undo_list *undo_stack, bool continued_move, bool show_move, bool *interrupted, move_unit_spectator *move_spectator) |
Moves a unit across the board. More... | |
size_t | actions::move_unit_from_replay (const std::vector< map_location > &steps, undo_list *undo_stack, bool continued_move, bool skip_ally_sighted, bool show_move=true) |
Moves a unit across the board. More... | |
Various functions related to moving units.
Definition in file move.hpp.