AgentMovementSpeeds

C++
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;
  };
};
File

IAgent.h

AgentMovementSpeeds::EAgentMovementStance Enumeration
C++
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
};
File

IAgent.h

AgentMovementSpeeds::EAgentMovementUrgency Enumeration
C++
enum EAgentMovementUrgency {
  AMU_SLOW,
  AMU_WALK,
  AMU_RUN,
  AMU_SPRINT,
  AMU_NUM_VALUES
};
File

IAgent.h

AgentMovementSpeeds::SSpeedRange Structure
C++
struct SSpeedRange {
  float def, min, max;
};
File

IAgent.h

AgentMovementSpeeds::AgentMovementSpeeds Constructor
C++
AgentMovementSpeeds();
AgentMovementSpeeds::CopyRanges Method
C++
void CopyRanges(int stance, int toUrgency, int fromUrgency);
AgentMovementSpeeds::GetRange Method (int, int)
C++
SSpeedRange& GetRange(int stance, int urgency);
Description

(MATT) Non-const version needed for serialisation {2009/04/23

AgentMovementSpeeds::GetRange Method (int, int)
C++
const SSpeedRange& GetRange(int stance, int urgency) const;
AgentMovementSpeeds::SetBasicSpeeds Method
C++
void SetBasicSpeeds(float slow, float walk, float run, float sprint, float maneuver);
AgentMovementSpeeds::SetRanges Method
C++
void SetRanges(int stance, int urgency, float sdef, float smin, float smax);