|
Pyrogenesis
13997
|
Terrain overlay for pathfinder debugging. More...
Public Member Functions | |
| PathfinderOverlay (CCmpPathfinder &pathfinder) | |
| virtual void | StartRender () |
| Override to perform processing at the start of the overlay rendering, before the ProcessTile calls. More... | |
| virtual void | ProcessTile (ssize_t i, ssize_t j) |
| Override to perform processing of each tile. More... | |
| virtual void | EndRender () |
| Override to perform processing at the end of the overlay rendering, after the ProcessTile calls. More... | |
Public Member Functions inherited from ITerrainOverlay | |
| virtual | ~ITerrainOverlay () |
| virtual void | RenderAfterWater () |
Public Attributes | |
| CCmpPathfinder & | m_Pathfinder |
Private Member Functions | |
| NONCOPYABLE (PathfinderOverlay) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ITerrainOverlay | |
| static void | RenderOverlaysBeforeWater () |
| Draw all ITerrainOverlay objects that exist and that should be drawn before water. More... | |
| static void | RenderOverlaysAfterWater () |
| Draw all ITerrainOverlay objects that exist and that should be drawn after water. More... | |
Protected Member Functions inherited from TerrainOverlay | |
| TerrainOverlay (const CSimContext &simContext, int priority=100) | |
| Construct the object and register it with the global list of terrain overlays. More... | |
| virtual void | GetTileExtents (ssize_t &min_i_inclusive, ssize_t &min_j_inclusive, ssize_t &max_i_inclusive, ssize_t &max_j_inclusive) |
| Override to limit the range over which ProcessTile will be called. More... | |
| void | RenderTile (const CColor &colour, bool draw_hidden) |
| Draw a filled quad on top of the current tile. More... | |
| void | RenderTile (const CColor &colour, bool draw_hidden, ssize_t i, ssize_t j) |
| Draw a filled quad on top of the given tile. More... | |
| void | RenderTileOutline (const CColor &colour, int line_width, bool draw_hidden) |
| Draw an outlined quad on top of the current tile. More... | |
| void | RenderTileOutline (const CColor &colour, int line_width, bool draw_hidden, ssize_t i, ssize_t j) |
| Draw an outlined quad on top of the given tile. More... | |
Protected Member Functions inherited from ITerrainOverlay | |
| ITerrainOverlay (int priority) | |
Terrain overlay for pathfinder debugging.
Renders a representation of the most recent pathfinding operation.
Definition at line 100 of file CCmpPathfinder_Tile.cpp.
|
inline |
Definition at line 106 of file CCmpPathfinder_Tile.cpp.
|
inlinevirtual |
Override to perform processing at the end of the overlay rendering, after the ProcessTile calls.
Reimplemented from TerrainOverlay.
Definition at line 134 of file CCmpPathfinder_Tile.cpp.
|
private |
Override to perform processing of each tile.
Typically calls RenderTile and/or RenderTileOutline.
| i | i coordinate of tile being processed |
| j | j coordinate of tile being processed |
Implements TerrainOverlay.
Definition at line 116 of file CCmpPathfinder_Tile.cpp.
|
inlinevirtual |
Override to perform processing at the start of the overlay rendering, before the ProcessTile calls.
Reimplemented from TerrainOverlay.
Definition at line 111 of file CCmpPathfinder_Tile.cpp.
| CCmpPathfinder& PathfinderOverlay::m_Pathfinder |
Definition at line 104 of file CCmpPathfinder_Tile.cpp.
1.8.5