diff --git a/DetourCrowd/Include/DetourCrowd.h b/DetourCrowd/Include/DetourCrowd.h index 243ac5a..c8cc392 100644 --- a/DetourCrowd/Include/DetourCrowd.h +++ b/DetourCrowd/Include/DetourCrowd.h @@ -87,6 +87,9 @@ struct dtCrowdAgentParams /// [Limits: 0 <= value <= #DT_CROWD_MAX_OBSTAVOIDANCE_PARAMS] unsigned char obstacleAvoidanceType; + // [F] + unsigned char queryFilterType; + /// User defined data attached to the agent. void* userData; }; @@ -102,6 +105,9 @@ enum MoveRequestState DT_CROWDAGENT_TARGET_VELOCITY, }; +// [F] +static const int DT_CROWD_MAX_QUERY_FILTER_TYPE = 16; + /// Represents an agent managed by a #dtCrowd object. /// @ingroup crowd struct dtCrowdAgent @@ -157,6 +163,9 @@ struct dtCrowdAgent dtPathQueueRef targetPathqRef; ///< Path finder ref. bool targetReplan; ///< Flag indicating that the current path is being replanned. float targetReplanTime; ///