Structure which holds a single route and marks for special events. More...
#include <pathfind.hpp>
Classes | |
struct | mark |
Public Types | |
typedef std::map< map_location, mark > | mark_map |
Public Member Functions | |
marked_route () | |
marked_route (const marked_route &rhs) | |
marked_route & | operator= (const marked_route &rhs) |
Public Attributes | |
plain_route | route |
std::vector< map_location > & | steps |
int & | move_cost |
mark_map | marks |
Structure which holds a single route and marks for special events.
Definition at line 141 of file pathfind.hpp.
typedef std::map<map_location, mark> pathfind::marked_route::mark_map |
Definition at line 183 of file pathfind.hpp.
|
inline |
Definition at line 143 of file pathfind.hpp.
|
inline |
Definition at line 151 of file pathfind.hpp.
|
inline |
Definition at line 159 of file pathfind.hpp.
References marks, pathfind::plain_route::move_cost, move_cost, route, pathfind::plain_route::steps, and steps.
mark_map pathfind::marked_route::marks |
Definition at line 190 of file pathfind.hpp.
Referenced by wb::move::check_validity(), wb::manager::create_temp_move(), game_display::draw_movement_info(), events::menu_handler::execute_gotos(), pathfind::mark_route(), operator=(), and game_display::set_route().
int& pathfind::marked_route::move_cost |
Definition at line 188 of file pathfind.hpp.
Referenced by operator=(), and wb::manager::save_temp_move().
plain_route pathfind::marked_route::route |
Definition at line 184 of file pathfind.hpp.
Referenced by pathfind::mark_route(), and operator=().
std::vector<map_location>& pathfind::marked_route::steps |
Definition at line 187 of file pathfind.hpp.
Referenced by wb::move::check_validity(), wb::manager::create_temp_move(), game_display::draw_movement_info(), events::menu_handler::execute_gotos(), footsteps_images(), game_display::invalidate_route(), events::mouse_handler::mouse_motion(), events::mouse_handler::move_action(), events::mouse_handler::move_unit_along_current_route(), events::menu_handler::move_unit_to_loc(), operator=(), wb::manager::save_temp_move(), events::mouse_handler::save_whiteboard_attack(), events::mouse_handler::select_hex(), events::mouse_handler::set_current_paths(), and game_display::set_route().