|
| | LongPathfinder () |
| |
| | ~LongPathfinder () |
| |
| void | SetDebugOverlay (bool enabled) |
| |
| void | SetDebugPath (const HierarchicalPathfinder &hierPath, entity_pos_t x0, entity_pos_t z0, const PathGoal &goal, pass_class_t passClass) |
| |
| void | Reload (Grid< NavcellData > *passabilityGrid) |
| |
| void | Update (Grid< NavcellData > *passabilityGrid) |
| |
| void | ComputePath (const HierarchicalPathfinder &hierPath, entity_pos_t x0, entity_pos_t z0, const PathGoal &origGoal, pass_class_t passClass, WaypointPath &path) const |
| | Compute a tile-based path from the given point to the goal, and return the set of waypoints. More...
|
| |
| void | ComputePath (const HierarchicalPathfinder &hierPath, entity_pos_t x0, entity_pos_t z0, const PathGoal &origGoal, pass_class_t passClass, std::vector< CircularRegion > excludedRegions, WaypointPath &path) |
| | Compute a tile-based path from the given point to the goal, excluding the regions specified in excludedRegions (which are treated as impassable) and return the set of waypoints. More...
|
| |
| void | GetDebugData (u32 &steps, double &time, Grid< u8 > &grid) const |
| |
|
| PathCost | CalculateHeuristic (int i, int j, int iGoal, int jGoal) const |
| |
| void | ProcessNeighbour (int pi, int pj, int i, int j, PathCost pg, PathfinderState &state) const |
| |
| void | AddJumpedHoriz (int i, int j, int di, PathCost g, PathfinderState &state, bool detectGoal) const |
| | JPS algorithm helper functions. More...
|
| |
| int | HasJumpedHoriz (int i, int j, int di, PathfinderState &state, bool detectGoal) const |
| |
| void | AddJumpedVert (int i, int j, int dj, PathCost g, PathfinderState &state, bool detectGoal) const |
| |
| int | HasJumpedVert (int i, int j, int dj, PathfinderState &state, bool detectGoal) const |
| |
| void | AddJumpedDiag (int i, int j, int di, int dj, PathCost g, PathfinderState &state) const |
| |
| void | ComputeJPSPath (const HierarchicalPathfinder &hierPath, entity_pos_t x0, entity_pos_t z0, const PathGoal &origGoal, pass_class_t passClass, WaypointPath &path) const |
| | See LongPathfinder.cpp for implementation details TODO: cleanup documentation. More...
|
| |
| void | GetDebugDataJPS (u32 &steps, double &time, Grid< u8 > &grid) const |
| |
| void | ImprovePathWaypoints (WaypointPath &path, pass_class_t passClass, entity_pos_t maxDist, entity_pos_t x0, entity_pos_t z0) const |
| | Given a path with an arbitrary collection of waypoints, updates the waypoints to be nicer. More...
|
| |
| void | GenerateSpecialMap (pass_class_t passClass, std::vector< CircularRegion > excludedRegions) |
| | Generate a passability map, stored in the 16th bit of navcells, based on passClass, but with a set of impassable circular regions. More...
|
| |