18 #ifndef INCLUDED_VERTEXPATHFINDER 19 #define INCLUDED_VERTEXPATHFINDER 130 void DebugRenderGraph(
const CSimContext& simContext,
const std::vector<Vertex>& vertexes,
const std::vector<Edge>& edges,
const std::vector<Square>& edgeSquares);
133 std::atomic<bool> m_DebugOverlay =
false;
141 #endif // INCLUDED_VERTEXPATHFINDER Definition: VertexPathfinder.h:35
A simple fixed-point number class.
Definition: Fixed.h:119
CFixedVector2D p0
Definition: VertexPathfinder.h:67
Definition: FixedVector2D.h:24
std::vector< SOverlayLine > m_DebugOverlayShortPathLinesSubmitted
Definition: VertexPathfinder.h:136
u8 status
Definition: VertexPathfinder.h:42
Returned path.
Definition: Pathfinding.h:66
uint16_t u16
Definition: types.h:38
u8 quadInward
Definition: VertexPathfinder.h:43
CFixedVector2D p
Definition: VertexPathfinder.h:39
std::vector< EdgeAA > m_EdgesRight
Definition: VertexPathfinder.h:102
Pathfinder goal.
Definition: PathGoal.h:32
std::vector< EdgeAA > m_EdgesTop
Definition: VertexPathfinder.h:104
Contains pointers to various 'global' objects that are needed by the simulation code, to allow easy access without using real (evil) global variables.
Definition: SimContext.h:32
Definition: VertexPathfinder.h:49
uint8_t u8
Definition: types.h:37
std::vector< Edge > m_Edges
Definition: VertexPathfinder.h:111
CFixedVector2D p1
Definition: VertexPathfinder.h:59
const u16 & m_GridSize
Definition: VertexPathfinder.h:94
This interface accepts renderable objects.
Definition: Scene.h:89
Definition: VertexPathfinder.h:65
fixed g
Definition: VertexPathfinder.h:40
Definition: Pathfinding.h:43
fixed c1
Definition: VertexPathfinder.h:68
std::vector< EdgeAA > m_EdgesLeft
Definition: VertexPathfinder.h:101
std::vector< Square > m_EdgeSquares
Definition: VertexPathfinder.h:112
Definition: VertexPathfinder.h:75
VertexPathfinder(VertexPathfinder &&o)
Definition: VertexPathfinder.h:80
VertexPathfinderDebugOverlay g_VertexPathfinderDebugOverlay
Definition: VertexPathfinder.cpp:53
VertexPathfinder(const u16 &gridSize, Grid< NavcellData > *const &terrainOnlyGrid)
Definition: VertexPathfinder.h:78
Definition: VertexPathfinder.h:34
std::vector< EdgeAA > m_EdgesBottom
Definition: VertexPathfinder.h:103
CFixedVector2D p1
Definition: VertexPathfinder.h:51
u8 quadOutward
Definition: VertexPathfinder.h:44
Grid< NavcellData > *const & m_TerrainOnlyGrid
Definition: VertexPathfinder.h:95
A simplified syntax for accessing entity components.
Definition: CmpPtr.h:55
Definition: VertexPathfinder.h:30
void SetDebugOverlay(bool enabled)
Definition: VertexPathfinder.h:125
Definition: VertexPathfinder.h:36
fixed h
Definition: VertexPathfinder.h:40
u16 pred
Definition: VertexPathfinder.h:41
There are several vertex pathfinders running asynchronously, so their debug output might conflict...
Definition: VertexPathfinder.h:121
std::vector< Edge > m_EdgesUnaligned
Definition: VertexPathfinder.h:100
std::vector< Vertex > m_Vertexes
Definition: VertexPathfinder.h:108
Definition: VertexPathfinder.h:57
std::vector< SOverlayLine > m_DebugOverlayShortPathLines
Definition: VertexPathfinder.h:135
Obstruction manager: provides efficient spatial queries over objects in the world.
Definition: ICmpObstructionManager.h:60