Structure which holds a single route between one location and another. More...
#include <pathfind.hpp>
Public Member Functions | |
plain_route () | |
Public Attributes | |
std::vector< map_location > | steps |
int | move_cost |
Movement cost for reaching the end of the route. More... | |
Structure which holds a single route between one location and another.
Definition at line 132 of file pathfind.hpp.
|
inline |
Definition at line 134 of file pathfind.hpp.
int pathfind::plain_route::move_cost |
Movement cost for reaching the end of the route.
Definition at line 137 of file pathfind.hpp.
Referenced by pathfind::a_star_search(), wb::move::calculate_new_route(), ai::ai_default_rca::move_to_targets_phase::choose_move(), ai::ai_default_rca::move_leader_to_keep_phase::evaluate(), intf_find_path(), game_lua_kernel::intf_find_path(), pathfind::marked_route::operator=(), and ai::ai_default_rca::move_to_targets_phase::rate_target().
std::vector<map_location> pathfind::plain_route::steps |
Definition at line 135 of file pathfind.hpp.
Referenced by pathfind::a_star_search(), ai::ai_default_rca::move_to_targets_phase::access_points(), game_state::can_recruit_on(), ai::ai_default_rca::move_to_targets_phase::choose_move(), default_map_generator_job::default_generate_map(), ai::ai_default_rca::goto_phase::evaluate(), ai::ai_default_rca::move_leader_to_goals_phase::evaluate(), ai::ai_default_rca::move_leader_to_keep_phase::evaluate(), intf_find_path(), game_lua_kernel::intf_find_path(), pathfind::mark_route(), pathfind::marked_route::operator=(), cave_map_generator::cave_map_generator_job::place_passage(), and ai::ai_default_rca::move_to_targets_phase::rate_target().