#include <pathfind.hpp>
Public Types | |
typedef std::map < gamemap::location, route > | routes_map |
Public Member Functions | |
paths () | |
paths (gamemap const &map, unit_map const &units, gamemap::location const &loc, std::vector< team > const &teams, bool force_ignore_zocs, bool allow_teleport, const team &viewing_team, int additional_turns=0, bool see_all=false, bool ignore_units=false) | |
Public Attributes | |
routes_map | routes |
Classes | |
struct | route |
Structure which holds a single route between one location and another. More... |
Definition at line 84 of file pathfind.hpp.
typedef std::map<gamemap::location,route> paths::routes_map |
Definition at line 123 of file pathfind.hpp.
paths::paths | ( | ) | [inline] |
Definition at line 86 of file pathfind.hpp.
paths::paths | ( | gamemap const & | map, | |
unit_map const & | units, | |||
gamemap::location const & | loc, | |||
std::vector< team > const & | teams, | |||
bool | force_ignore_zocs, | |||
bool | allow_teleport, | |||
const team & | viewing_team, | |||
int | additional_turns = 0 , |
|||
bool | see_all = false , |
|||
bool | ignore_units = false | |||
) |
Definition at line 203 of file pathfind.cpp.
References unit_map::end(), unit_map::find(), find_routes(), and routes.
Definition at line 124 of file pathfind.hpp.
Referenced by clear_shroud_unit(), events::mouse_handler::current_unit_attacks_from(), do_replay_handle(), game_display::highlight_another_reach(), ai::leader_can_reach_keep(), events::mouse_handler::mouse_motion(), ai::move_leader_after_recruit(), ai::move_leader_to_goals(), ai::move_leader_to_keep(), ai_interface::move_unit_partial(), ai::multistep_move_possible(), paths(), and events::mouse_handler::show_attack_options().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |