18 #ifndef INCLUDED_ICMPPATHFINDER 19 #define INCLUDED_ICMPPATHFINDER 31 template<
typename T>
class Grid;
66 virtual void GetPassabilityClasses(std::map<std::string, pass_class_t>& passClasses)
const = 0;
71 virtual void GetPassabilityClasses(
72 std::map<std::string, pass_class_t>& nonPathfindingPassClasses,
73 std::map<std::string, pass_class_t>& pathfindingPassClasses)
const = 0;
79 virtual pass_class_t GetPassabilityClass(
const std::string& name)
const = 0;
94 virtual void FlushAIPathfinderDirtinessInformation() = 0;
99 virtual Grid<u16> ComputeShoreGrid(
bool expandOnWater =
false) = 0;
176 virtual void SetDebugOverlay(
bool enabled) = 0;
181 virtual void SetHierDebugOverlay(
bool enabled) = 0;
186 virtual void SendRequestedPaths() = 0;
191 virtual void StartProcessingMoves(
bool useMax) = 0;
196 virtual void UpdateGrid() = 0;
201 virtual void GetDebugData(
u32& steps,
double& time,
Grid<u8>& grid)
const = 0;
206 virtual void SetAtlasOverlay(
bool enable,
pass_class_t passClass = 0) = 0;
211 #endif // INCLUDED_ICMPPATHFINDER Definition: IComponent.h:32
A simple fixed-point number class.
Definition: Fixed.h:119
Interface for ICmpObstructionManager Test functions to filter out unwanted shapes.
Definition: ICmpObstructionManager.h:351
Definition: ICmpPathfinder.h:36
u16 pass_class_t
Definition: Pathfinding.h:27
Returned path.
Definition: Pathfinding.h:66
u32 ticket
Definition: ICmpPathfinder.h:39
Pathfinder goal.
Definition: PathGoal.h:32
Basic 2D array, intended for storing tile data, plus support for lazy updates by ICmpObstructionManag...
Definition: TerritoryBoundary.h:27
EFoundationCheck
Definition: ICmpObstruction.h:33
Pathfinder algorithms.
Definition: ICmpPathfinder.h:59
uint32_t u32
Definition: types.h:39
Definition: Pathfinding.h:43
entity_id_t notify
Definition: ICmpPathfinder.h:42
#define DECLARE_INTERFACE_TYPE(iname)
Definition: Interface.h:23
WaypointPath path
Definition: ICmpPathfinder.h:43
u32 entity_id_t
Entity ID type.
Definition: Entity.h:23