The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
move.hpp File Reference

Various functions related to moving units. More...

#include "units/map.hpp"
#include <vector>
Include dependency graph for move.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Various functions related to moving units.

Definition in file move.hpp.