Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/helpers/LongPathfinder.h
Show First 20 Lines • Show All 238 Lines • ▼ Show 20 Lines | public: | ||||
void ComputePath(entity_pos_t x0, entity_pos_t z0, const PathGoal& origGoal, | void ComputePath(entity_pos_t x0, entity_pos_t z0, const PathGoal& origGoal, | ||||
pass_class_t passClass, std::vector<CircularRegion> excludedRegions, WaypointPath& path); | pass_class_t passClass, std::vector<CircularRegion> excludedRegions, WaypointPath& path); | ||||
Grid<u16> GetConnectivityGrid(pass_class_t passClass) | Grid<u16> GetConnectivityGrid(pass_class_t passClass) | ||||
{ | { | ||||
return m_PathfinderHier.GetConnectivityGrid(passClass); | return m_PathfinderHier.GetConnectivityGrid(passClass); | ||||
} | } | ||||
const HierarchicalPathfinder& GetHierarchicalPathfinder() const | |||||
vladislavbelov: No need to have a space before `&`. | |||||
{ | |||||
return m_PathfinderHier; | |||||
} | |||||
void GetDebugData(u32& steps, double& time, Grid<u8>& grid) const | void GetDebugData(u32& steps, double& time, Grid<u8>& grid) const | ||||
{ | { | ||||
GetDebugDataJPS(steps, time, grid); | GetDebugDataJPS(steps, time, grid); | ||||
} | } | ||||
Grid<NavcellData>* m_Grid; | Grid<NavcellData>* m_Grid; | ||||
u16 m_GridSize; | u16 m_GridSize; | ||||
▲ Show 20 Lines • Show All 144 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
No need to have a space before &.