struct AgentMovementSpeeds { enum EAgentMovementUrgency { AMU_SLOW, AMU_WALK, AMU_RUN, AMU_SPRINT, AMU_NUM_VALUES }; enum EAgentMovementStance { AMS_RELAXED, AMS_COMBAT, AMS_STEALTH, AMS_ALERTED, AMS_LOW_COVER, AMS_HIGH_COVER, AMS_CROUCH, AMS_PRONE, AMS_SWIM, AMS_NUM_VALUES }; struct SSpeedRange { float def, min, max; }; };
IAgent.h
enum EAgentMovementStance { AMS_RELAXED, AMS_COMBAT, AMS_STEALTH, AMS_ALERTED, AMS_LOW_COVER, AMS_HIGH_COVER, AMS_CROUCH, AMS_PRONE, AMS_SWIM, AMS_NUM_VALUES };
IAgent.h
enum EAgentMovementUrgency { AMU_SLOW, AMU_WALK, AMU_RUN, AMU_SPRINT, AMU_NUM_VALUES };
IAgent.h
struct SSpeedRange { float def, min, max; };
IAgent.h
AgentMovementSpeeds();
void CopyRanges(int stance, int toUrgency, int fromUrgency);
SSpeedRange& GetRange(int stance, int urgency);
(MATT) Non-const version needed for serialisation {2009/04/23
const SSpeedRange& GetRange(int stance, int urgency) const;
void SetBasicSpeeds(float slow, float walk, float run, float sprint, float maneuver);
void SetRanges(int stance, int urgency, float sdef, float smin, float smax);