diff --git a/DetourCrowd/Include/DetourCrowd.h b/DetourCrowd/Include/DetourCrowd.h index 24c815b..c8cc392 100644 --- a/DetourCrowd/Include/DetourCrowd.h +++ b/DetourCrowd/Include/DetourCrowd.h @@ -45,9 +45,6 @@ static const int DT_CROWDAGENT_MAX_CORNERS = 4; /// dtCrowdAgentParams::obstacleAvoidanceType static const int DT_CROWD_MAX_OBSTAVOIDANCE_PARAMS = 8; -/// The maximum number of query filter types -static const int DT_CROWD_MAX_QUERY_FILTER_TYPE = 16; - /// Provides neighbor data for agents managed by the crowd. /// @ingroup crowd /// @see dtCrowdAgent::neis, dtCrowd @@ -90,7 +87,7 @@ struct dtCrowdAgentParams /// [Limits: 0 <= value <= #DT_CROWD_MAX_OBSTAVOIDANCE_PARAMS] unsigned char obstacleAvoidanceType; - /// The index of the query filter used by this agent. + // [F] unsigned char queryFilterType; /// User defined data attached to the agent. @@ -108,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 @@ -163,6 +163,9 @@ struct dtCrowdAgent dtPathQueueRef targetPathqRef; ///< Path finder ref. bool targetReplan; ///< Flag indicating that the current path is being replanned. float targetReplanTime; ///