102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
constants.h File Reference

Go to the source code of this file.

Macros

#define ACTOR_BEHAVIOR_SKIP_UPDATE   0x1
#define ACTOR_BEHAVIOR_DEFERRED_DESTROY   0x2
#define ACTOR_BEHAVIOR_CULL_MODE   0x4
#define ACTOR_BEHAVIOR_TRAIL_OVERRIDE   0x8
#define ACTOR_BEHAVIOR_SKIP_ANIMATION   0x10
#define ACTOR_BEHAVIOR_GROUND_TRACKING   0x20
#define ACTOR_BEHAVIOR_AIRBORNE   0x40
#define ACTOR_BEHAVIOR_GROUNDED_MOTION   0x80
#define ACTOR_BEHAVIOR_VISIBILITY_PENDING   0x100
#define ACTOR_BEHAVIOR_MOVEMENT_LOCKED   0x200
#define ACTOR_BEHAVIOR_MOVING_LEFT   0x400
#define ACTOR_BEHAVIOR_BYPASS_COLLISION   0x800
#define ACTOR_BEHAVIOR_MOVEMENT_ACTIVE   0x1000
#define ACTOR_BEHAVIOR_PREPROCESSED   0x2000
#define ACTOR_BEHAVIOR_GROUND_TILT_ENABLED   0x4000
#define ACTOR_ROOT_MOTION_LOOP   0x8000
#define ACTOR_ROOT_MOTION_WRAP   0x10000
#define ACTOR_ROOT_MOTION_REVERSE   0x20000
#define ACTOR_ROOT_MOTION_LATCHED   0x40000
#define ACTOR_ROOT_MOTION_STEP   0x80000
#define ACTOR_BEHAVIOR_ANIMATION_PENDING   0x100000
#define ACTOR_BEHAVIOR_DESTROY_AFTER_ANIMATION   0x400000
#define ACTOR_BEHAVIOR_FADE_DESTROY   0x800000
#define ACTOR_BEHAVIOR_FORCE_VISIBLE   0x1000000
#define ACTOR_BEHAVIOR_PENETRATING   0x2000000
#define ACTOR_BEHAVIOR_GROUND_BASIS_CHANGED   0x4000000
#define ACTOR_BEHAVIOR_COLLISION_CORRECTION   0x8000000
#define ACTOR_BEHAVIOR_WORKLIST_MEMBER   0x10000000
#define ACTOR_BEHAVIOR_FORCE_PRIMARY_LOD   0x40000000
#define ACTOR_BEHAVIOR_FORCE_ALTERNATE_LOD   0x80000000u
#define ACTOR_BEHAVIOR_UPPER_WORD_MASK   0xffff0000u
#define ACTOR_LIFECYCLE_DISABLED   0x1
#define ACTOR_LIFECYCLE_HIDDEN   0x4
#define ACTOR_LIFECYCLE_DESTROY_QUEUED   0x8
#define ACTOR_LIFECYCLE_COLLISION_ENABLED   0x10
#define ACTOR_LIFECYCLE_DESTROYING   0x20
#define ACTOR_LIFECYCLE_FORCE_HIDDEN   0x80
#define ACTOR_ATTACHMENT_INHERIT_ROTATION   0x1
#define ACTOR_ATTACHMENT_HAS_TIMED_EVENT   0x1
#define ACTOR_ATTACHMENT_SUPPRESS_PLATFORM_CONTACT   0x4
#define ACTOR_CONTROLLER_PRESERVE_DEFAULTS   0x20
#define ACTOR_CONTROLLER_BONE_ACTION   0x40
#define ACTOR_CONTROLLER_GROUND_REACTION   0x80
#define ACTOR_BEHAVIOR_POWERUP_ACTOR   0x20000000
#define ACTOR_ROOT_MOTION_LEFT   ACTOR_BEHAVIOR_MOVING_LEFT
#define ACTOR_ROOT_MOTION_RIGHT   ACTOR_BEHAVIOR_BYPASS_COLLISION
#define ACTOR_TRACE_VIEW_CONE   0x8
#define ACTOR_TRACE_USE_TARGET_POSITION   0x20
#define ACTOR_TRACE_USE_TARGET_RESULT   0x40
#define ACTOR_TRACE_SKIP_ACTOR_OCCLUSION   0x80
#define ACTOR_TRACE_KEEP_NEAREST   0x100
#define ACTOR_TRACE_NAVIGATION_RECORDS   0x200
#define ACTOR_TRACE_MATCH_ACTIVATION   0x400
#define ACTOR_TRACE_INCLUDE_PERSISTENT   0x8000
#define ACTOR_CONTACT_REQUIRES_JUMP_SURFACE   0x4
#define ACTOR_CONTACT_INPUT_SELECTOR_MASK   0xf
#define ACTOR_COLLISION_RESPONSE_REJECT_BIT   0x1
#define ACTOR_SOUND_VARIANT_LOW_BIT   0x2
#define ACTOR_RENDER_ENTRY_INITIALIZED   0x40
#define ACTOR_RENDER_ENTRY_INDEX_MASK   0x3f
#define ACTOR_RENDER_FADE_COLOR_MASK   0xffffff
#define ACTOR_RENDER_CONTROLLER_GROUP_RELOCATED   0x80
#define ACTOR_ANIMATION_INTERRUPTS_MOVEMENT   0x4
#define ACTOR_ATTACHMENT_RETRY_TICKS   30
#define ACTOR_REACTION_ANIMATION_TICKS   30
#define ACTOR_RUNNING_INPUT_MAGNITUDE_Q12   0x6c2
#define ACTOR_COMPONENT_DISABLE_POSITIVE_COLLISION   0x2000
#define ACTOR_FADE_MODE_LOW   0x10000
#define ACTOR_FADE_OUT   0x20000
#define ACTOR_FADE_MODE_HIGH   0x40000
#define ACTOR_FADE_ACTIVE   0x80000
#define ACTOR_LOD_SHRINK_START_DISTANCE   0xa000
#define ACTOR_LOD_SHRINK_END_DISTANCE   0x64000
#define ACTOR_LOD_SHRINK_RAMP_MULTIPLIER   45
#define ACTOR_LOD_MINIMUM_SCALE_Q12   0x800
#define ACTOR_DEATH_AIRBORNE_TIMEOUT   300
#define ACTOR_DEATH_SETTLE_TICKS   60
#define ACTOR_DEATH_INITIAL_HEALTH   (-0x1400)
#define ACTOR_DEATH_FADE_STEP_Q12   0x111
#define ACTOR_COLLISION_AUDIO_COOLDOWN_FRAMES   15
#define ACTOR_FADE_ALPHA_MAX   0x7f
#define ACTOR_DEATH_FADE_TICKS   15
#define ACTOR_ANIMATION_FRAMES_PER_SECOND   30
#define ACTOR_CAMERA_DEATH_TRANSITION_TICKS   30
#define ACTOR_TARGET_DEFAULT_RADIUS   0x1800
#define ACTOR_STEERING_PHASE_LIMIT   0x400000
#define ACTOR_STEERING_PHASE_BIAS   0x800000
#define ACTOR_PUPPY_MAX_WEIGHT_RATIO   10
#define ACTOR_FACING_TARGET_TOLERANCE   0x71
#define ACTOR_POSITION_FACING_EPSILON   0x20
#define ACTOR_CHILD_TILT_BLEND_TICKS   0x100
#define ACTOR_GROUND_HEIGHT_SLOP   0xaa
#define ACTOR_GROUND_ALIGNMENT_NEAR_ONE   0xff8
#define ACTOR_GROUND_DETACH_SPEED   0x2aa
#define ACTOR_CONTACT_DEFAULT_IMPULSE   0x199
#define ACTOR_DAMAGE_ACCELERATION_PRIMARY   0x4cc
#define ACTOR_DAMAGE_ACCELERATION_SECONDARY   0x999
#define ACTOR_COLLISION_COMPONENT_QUERY_RADIUS   0x64000
#define ACTOR_RENDER_EXCLUDED_DISTANCE   0x8381
#define ACTOR_RENDER_EXCLUDED_RANGE_BEGIN   0x30d40
#define ACTOR_RENDER_EXCLUDED_RANGE_END   0x493e0
#define ACTOR_ANIMATION_BLEND_UNIT_Q18   0x40000
#define ACTOR_VELOCITY_FACING_EPSILON   32
#define ACTOR_PATH_OCCLUSION_PROBE_RADIUS   16
#define ACTOR_LANDING_SOUND_BASE_INDEX   11
#define ACTOR_DEATH_MUSIC_VOLUME_Q12   2048
#define ACTOR_DEATH_MUSIC_FADE_FRAMES   9
#define ACTOR_INPUT_CONTACT_LAYER_MAX   11
#define ACTOR_CONDITION_LAYER_COUNT   11
#define ACTOR_ANIMATION_DEFAULT_SPEED_Q6   64
#define ACTOR_ROLL_RECENTER_STEP   64
#define ACTOR_MOVE_TARGET_GROUND_HEIGHT_SLOP   170

Enumerations

enum  Actor_MovementOpcode {
  ACTOR_MOVE_RESET = 0 , ACTOR_MOVE_RIGHT = 1 , ACTOR_MOVE_LEFT = 2 , ACTOR_MOVE_FORWARD = 3 ,
  ACTOR_MOVE_STEP_FORWARD = 4 , ACTOR_MOVE_REVERSE = 5 , ACTOR_MOVE_STEP_REVERSE = 6 , ACTOR_MOVE_RESUME = 7 ,
  ACTOR_MOVE_PAUSE = 8 , ACTOR_MOVE_SKIP_UPDATE = 9 , ACTOR_MOVE_LATCH_STOP = 10
}
enum  Actor_AnimationState {
  ACTOR_ANIMATION_NONE = -1 , ACTOR_ANIMATION_IDLE = 0 , ACTOR_ANIMATION_DEATH = 1 , ACTOR_ANIMATION_WALK = 2 ,
  ACTOR_ANIMATION_RUN = 3 , ACTOR_ANIMATION_JUMP_START = 4 , ACTOR_ANIMATION_AIRBORNE = 5 , ACTOR_ANIMATION_DAMAGE = 6 ,
  ACTOR_ANIMATION_DRIFT = 7 , ACTOR_ANIMATION_PRIMARY_ACTION = 8 , ACTOR_ANIMATION_ATTACHMENT_ACTION = 9 , ACTOR_ANIMATION_FORCED = 10 ,
  ACTOR_ANIMATION_NO_BONE = 18 , ACTOR_ANIMATION_BONE_ACTION = 19 , ACTOR_ANIMATION_DEATH_SETTLE = 20 , ACTOR_ANIMATION_SURFACE_IDLE = 21 ,
  ACTOR_ANIMATION_SURFACE_MOVE = 22
}
enum  Actor_DeathStage {
  ACTOR_DEATH_ALIVE = 0 , ACTOR_DEATH_WAIT_FOR_LANDING = 1 , ACTOR_DEATH_ANIMATING = 2 , ACTOR_DEATH_SETTLING = 3 ,
  ACTOR_DEATH_RESPAWN_OR_FADE = 4
}
enum  Actor_ObjectKind {
  ACTOR_OBJECT_UNTYPED = 0 , ACTOR_OBJECT_SCENE_OWNER = 1 , ACTOR_OBJECT_STATIC_COLLISION = 2 , ACTOR_OBJECT_RUNTIME = 3 ,
  ACTOR_OBJECT_FORCE_EMITTER = 4
}
enum  Actor_TransitionPhase { ACTOR_PHASE_NONE = 0 , ACTOR_PHASE_ACTIVE = 1 , ACTOR_PHASE_PROJECTILE = 2 , ACTOR_PHASE_LEAVING = 3 }
enum  Actor_TraceTarget {
  ACTOR_TARGET_ACTIVE_ENTITIES = -32768 , ACTOR_TARGET_CURRENT_RESPAWN = -32767 , ACTOR_TARGET_NEAREST_RESPAWN = -32766 , ACTOR_TARGET_ENTITY_SCAN = -32765 ,
  ACTOR_TARGET_NAVIGATION_POSITION = -32764 , ACTOR_TARGET_CURRENT_RESPAWN_ALTERNATE = -32763 , ACTOR_TARGET_FIRST_RESPAWN = -32762 , ACTOR_TARGET_LAST_RESPAWN = -32761 ,
  ACTOR_TARGET_NAVIGATION_POSITION_ALTERNATE = -32760 , ACTOR_TARGET_CURRENT_RESPAWN_FALLBACK = -32759 , ACTOR_TARGET_BONUS_RESPAWN_POSITION = -32756 , ACTOR_TARGET_ALL_ENTITIES = -32755 ,
  ACTOR_TARGET_COMMAND_FIRST = -20000 , ACTOR_TARGET_COMMAND_END = -19745
}
enum  Actor_InputCondition {
  ACTOR_INPUT_CONDITION_ALWAYS = 0 , ACTOR_INPUT_CONDITION_MOVING = 1 , ACTOR_INPUT_CONDITION_ACTION_1 = 2 , ACTOR_INPUT_CONDITION_ACTION_2 = 3 ,
  ACTOR_INPUT_CONDITION_ACTION_3 = 4 , ACTOR_INPUT_CONDITION_CONFIRM = 5 , ACTOR_INPUT_CONDITION_LEFT = 6 , ACTOR_INPUT_CONDITION_RIGHT = 7 ,
  ACTOR_INPUT_CONDITION_UP = 8 , ACTOR_INPUT_CONDITION_DOWN = 9
}
enum  Actor_FacingSelector { ACTOR_FACING_RELATIVE = -32760 , ACTOR_FACING_ABSOLUTE = -32758 }
enum  Actor_ConditionSelector { ACTOR_CONDITION_ALWAYS = 0 , ACTOR_CONDITION_HAZARD_TIMER_EXPIRED = 1 , ACTOR_CONDITION_CAMERA_PRIORITY = 2 , ACTOR_CONDITION_INPUT_OR_CONTACT = 3 }
enum  Actor_ContactLayer {
  ACTOR_CONTACT_RESPONSE_SLOT_0 = 13 , ACTOR_CONTACT_TIMED_DAMAGE = 14 , ACTOR_CONTACT_RESPONSE_SLOT_2 = 15 , ACTOR_CONTACT_RESPONSE_SLOT_3 = 16 ,
  ACTOR_CONTACT_RESPONSE_SLOT_4 = 17 , ACTOR_CONTACT_MOVING_PLATFORM = 18 , ACTOR_CONTACT_CAMERA_OVERRIDE = 19
}
enum  Actor_RenderExclusionMode { ACTOR_RENDER_DISTANCE_RANGE_EXCLUSION = 17 }
enum  Actor_TraceFilter { ACTOR_TRACE_FILTER_ACTIVE_ENTITIES = -19896 , ACTOR_TRACE_FILTER_INACTIVE_ENTITIES = -19895 }
enum  Actor_NavigationCommand { ACTOR_NAV_COMMAND_DEATH = 100 , ACTOR_NAV_COMMAND_GEOMETRY_CONTACT = 102 , ACTOR_NAV_COMMAND_ACTOR_CONTACT = 103 , ACTOR_NAV_COMMAND_FIRST_COMPONENT_ACTION = 106 }

Macro Definition Documentation

◆ ACTOR_ANIMATION_BLEND_UNIT_Q18

#define ACTOR_ANIMATION_BLEND_UNIT_Q18   0x40000

Definition at line 223 of file constants.h.

◆ ACTOR_ANIMATION_DEFAULT_SPEED_Q6

#define ACTOR_ANIMATION_DEFAULT_SPEED_Q6   64

Definition at line 248 of file constants.h.

◆ ACTOR_ANIMATION_FRAMES_PER_SECOND

#define ACTOR_ANIMATION_FRAMES_PER_SECOND   30

Definition at line 204 of file constants.h.

◆ ACTOR_ANIMATION_INTERRUPTS_MOVEMENT

#define ACTOR_ANIMATION_INTERRUPTS_MOVEMENT   0x4

Definition at line 89 of file constants.h.

◆ ACTOR_ATTACHMENT_HAS_TIMED_EVENT

#define ACTOR_ATTACHMENT_HAS_TIMED_EVENT   0x1

Definition at line 47 of file constants.h.

◆ ACTOR_ATTACHMENT_INHERIT_ROTATION

#define ACTOR_ATTACHMENT_INHERIT_ROTATION   0x1

Definition at line 46 of file constants.h.

◆ ACTOR_ATTACHMENT_RETRY_TICKS

#define ACTOR_ATTACHMENT_RETRY_TICKS   30

Definition at line 90 of file constants.h.

◆ ACTOR_ATTACHMENT_SUPPRESS_PLATFORM_CONTACT

#define ACTOR_ATTACHMENT_SUPPRESS_PLATFORM_CONTACT   0x4

Definition at line 48 of file constants.h.

◆ ACTOR_BEHAVIOR_AIRBORNE

#define ACTOR_BEHAVIOR_AIRBORNE   0x40

Definition at line 13 of file constants.h.

◆ ACTOR_BEHAVIOR_ANIMATION_PENDING

#define ACTOR_BEHAVIOR_ANIMATION_PENDING   0x100000

Definition at line 27 of file constants.h.

◆ ACTOR_BEHAVIOR_BYPASS_COLLISION

#define ACTOR_BEHAVIOR_BYPASS_COLLISION   0x800

Definition at line 18 of file constants.h.

◆ ACTOR_BEHAVIOR_COLLISION_CORRECTION

#define ACTOR_BEHAVIOR_COLLISION_CORRECTION   0x8000000

Definition at line 33 of file constants.h.

◆ ACTOR_BEHAVIOR_CULL_MODE

#define ACTOR_BEHAVIOR_CULL_MODE   0x4

Definition at line 9 of file constants.h.

◆ ACTOR_BEHAVIOR_DEFERRED_DESTROY

#define ACTOR_BEHAVIOR_DEFERRED_DESTROY   0x2

Definition at line 8 of file constants.h.

◆ ACTOR_BEHAVIOR_DESTROY_AFTER_ANIMATION

#define ACTOR_BEHAVIOR_DESTROY_AFTER_ANIMATION   0x400000

Definition at line 28 of file constants.h.

◆ ACTOR_BEHAVIOR_FADE_DESTROY

#define ACTOR_BEHAVIOR_FADE_DESTROY   0x800000

Definition at line 29 of file constants.h.

◆ ACTOR_BEHAVIOR_FORCE_ALTERNATE_LOD

#define ACTOR_BEHAVIOR_FORCE_ALTERNATE_LOD   0x80000000u

Definition at line 36 of file constants.h.

◆ ACTOR_BEHAVIOR_FORCE_PRIMARY_LOD

#define ACTOR_BEHAVIOR_FORCE_PRIMARY_LOD   0x40000000

Definition at line 35 of file constants.h.

◆ ACTOR_BEHAVIOR_FORCE_VISIBLE

#define ACTOR_BEHAVIOR_FORCE_VISIBLE   0x1000000

Definition at line 30 of file constants.h.

◆ ACTOR_BEHAVIOR_GROUND_BASIS_CHANGED

#define ACTOR_BEHAVIOR_GROUND_BASIS_CHANGED   0x4000000

Definition at line 32 of file constants.h.

◆ ACTOR_BEHAVIOR_GROUND_TILT_ENABLED

#define ACTOR_BEHAVIOR_GROUND_TILT_ENABLED   0x4000

Definition at line 21 of file constants.h.

◆ ACTOR_BEHAVIOR_GROUND_TRACKING

#define ACTOR_BEHAVIOR_GROUND_TRACKING   0x20

Definition at line 12 of file constants.h.

◆ ACTOR_BEHAVIOR_GROUNDED_MOTION

#define ACTOR_BEHAVIOR_GROUNDED_MOTION   0x80

Definition at line 14 of file constants.h.

◆ ACTOR_BEHAVIOR_MOVEMENT_ACTIVE

#define ACTOR_BEHAVIOR_MOVEMENT_ACTIVE   0x1000

Definition at line 19 of file constants.h.

◆ ACTOR_BEHAVIOR_MOVEMENT_LOCKED

#define ACTOR_BEHAVIOR_MOVEMENT_LOCKED   0x200

Definition at line 16 of file constants.h.

◆ ACTOR_BEHAVIOR_MOVING_LEFT

#define ACTOR_BEHAVIOR_MOVING_LEFT   0x400

Definition at line 17 of file constants.h.

◆ ACTOR_BEHAVIOR_PENETRATING

#define ACTOR_BEHAVIOR_PENETRATING   0x2000000

Definition at line 31 of file constants.h.

◆ ACTOR_BEHAVIOR_POWERUP_ACTOR

#define ACTOR_BEHAVIOR_POWERUP_ACTOR   0x20000000

Definition at line 69 of file constants.h.

◆ ACTOR_BEHAVIOR_PREPROCESSED

#define ACTOR_BEHAVIOR_PREPROCESSED   0x2000

Definition at line 20 of file constants.h.

◆ ACTOR_BEHAVIOR_SKIP_ANIMATION

#define ACTOR_BEHAVIOR_SKIP_ANIMATION   0x10

Definition at line 11 of file constants.h.

◆ ACTOR_BEHAVIOR_SKIP_UPDATE

#define ACTOR_BEHAVIOR_SKIP_UPDATE   0x1

Definition at line 7 of file constants.h.

◆ ACTOR_BEHAVIOR_TRAIL_OVERRIDE

#define ACTOR_BEHAVIOR_TRAIL_OVERRIDE   0x8

Definition at line 10 of file constants.h.

◆ ACTOR_BEHAVIOR_UPPER_WORD_MASK

#define ACTOR_BEHAVIOR_UPPER_WORD_MASK   0xffff0000u

Definition at line 37 of file constants.h.

◆ ACTOR_BEHAVIOR_VISIBILITY_PENDING

#define ACTOR_BEHAVIOR_VISIBILITY_PENDING   0x100

Definition at line 15 of file constants.h.

◆ ACTOR_BEHAVIOR_WORKLIST_MEMBER

#define ACTOR_BEHAVIOR_WORKLIST_MEMBER   0x10000000

Definition at line 34 of file constants.h.

◆ ACTOR_CAMERA_DEATH_TRANSITION_TICKS

#define ACTOR_CAMERA_DEATH_TRANSITION_TICKS   30

Definition at line 205 of file constants.h.

◆ ACTOR_CHILD_TILT_BLEND_TICKS

#define ACTOR_CHILD_TILT_BLEND_TICKS   0x100

Definition at line 212 of file constants.h.

◆ ACTOR_COLLISION_AUDIO_COOLDOWN_FRAMES

#define ACTOR_COLLISION_AUDIO_COOLDOWN_FRAMES   15

Definition at line 201 of file constants.h.

◆ ACTOR_COLLISION_COMPONENT_QUERY_RADIUS

#define ACTOR_COLLISION_COMPONENT_QUERY_RADIUS   0x64000

Definition at line 219 of file constants.h.

◆ ACTOR_COLLISION_RESPONSE_REJECT_BIT

#define ACTOR_COLLISION_RESPONSE_REJECT_BIT   0x1

Definition at line 83 of file constants.h.

◆ ACTOR_COMPONENT_DISABLE_POSITIVE_COLLISION

#define ACTOR_COMPONENT_DISABLE_POSITIVE_COLLISION   0x2000

Definition at line 93 of file constants.h.

◆ ACTOR_CONDITION_LAYER_COUNT

#define ACTOR_CONDITION_LAYER_COUNT   11

Definition at line 247 of file constants.h.

◆ ACTOR_CONTACT_DEFAULT_IMPULSE

#define ACTOR_CONTACT_DEFAULT_IMPULSE   0x199

Definition at line 216 of file constants.h.

◆ ACTOR_CONTACT_INPUT_SELECTOR_MASK

#define ACTOR_CONTACT_INPUT_SELECTOR_MASK   0xf

Definition at line 82 of file constants.h.

◆ ACTOR_CONTACT_REQUIRES_JUMP_SURFACE

#define ACTOR_CONTACT_REQUIRES_JUMP_SURFACE   0x4

Definition at line 81 of file constants.h.

◆ ACTOR_CONTROLLER_BONE_ACTION

#define ACTOR_CONTROLLER_BONE_ACTION   0x40

Definition at line 50 of file constants.h.

◆ ACTOR_CONTROLLER_GROUND_REACTION

#define ACTOR_CONTROLLER_GROUND_REACTION   0x80

Definition at line 51 of file constants.h.

◆ ACTOR_CONTROLLER_PRESERVE_DEFAULTS

#define ACTOR_CONTROLLER_PRESERVE_DEFAULTS   0x20

Definition at line 49 of file constants.h.

◆ ACTOR_DAMAGE_ACCELERATION_PRIMARY

#define ACTOR_DAMAGE_ACCELERATION_PRIMARY   0x4cc

Definition at line 217 of file constants.h.

◆ ACTOR_DAMAGE_ACCELERATION_SECONDARY

#define ACTOR_DAMAGE_ACCELERATION_SECONDARY   0x999

Definition at line 218 of file constants.h.

◆ ACTOR_DEATH_AIRBORNE_TIMEOUT

#define ACTOR_DEATH_AIRBORNE_TIMEOUT   300

Definition at line 124 of file constants.h.

◆ ACTOR_DEATH_FADE_STEP_Q12

#define ACTOR_DEATH_FADE_STEP_Q12   0x111

Definition at line 127 of file constants.h.

◆ ACTOR_DEATH_FADE_TICKS

#define ACTOR_DEATH_FADE_TICKS   15

Definition at line 203 of file constants.h.

◆ ACTOR_DEATH_INITIAL_HEALTH

#define ACTOR_DEATH_INITIAL_HEALTH   (-0x1400)

Definition at line 126 of file constants.h.

◆ ACTOR_DEATH_MUSIC_FADE_FRAMES

#define ACTOR_DEATH_MUSIC_FADE_FRAMES   9

Definition at line 245 of file constants.h.

◆ ACTOR_DEATH_MUSIC_VOLUME_Q12

#define ACTOR_DEATH_MUSIC_VOLUME_Q12   2048

Definition at line 244 of file constants.h.

◆ ACTOR_DEATH_SETTLE_TICKS

#define ACTOR_DEATH_SETTLE_TICKS   60

Definition at line 125 of file constants.h.

◆ ACTOR_FACING_TARGET_TOLERANCE

#define ACTOR_FACING_TARGET_TOLERANCE   0x71

Definition at line 210 of file constants.h.

◆ ACTOR_FADE_ACTIVE

#define ACTOR_FADE_ACTIVE   0x80000

Definition at line 119 of file constants.h.

◆ ACTOR_FADE_ALPHA_MAX

#define ACTOR_FADE_ALPHA_MAX   0x7f

Definition at line 202 of file constants.h.

◆ ACTOR_FADE_MODE_HIGH

#define ACTOR_FADE_MODE_HIGH   0x40000

Definition at line 118 of file constants.h.

◆ ACTOR_FADE_MODE_LOW

#define ACTOR_FADE_MODE_LOW   0x10000

Definition at line 116 of file constants.h.

◆ ACTOR_FADE_OUT

#define ACTOR_FADE_OUT   0x20000

Definition at line 117 of file constants.h.

◆ ACTOR_GROUND_ALIGNMENT_NEAR_ONE

#define ACTOR_GROUND_ALIGNMENT_NEAR_ONE   0xff8

Definition at line 214 of file constants.h.

◆ ACTOR_GROUND_DETACH_SPEED

#define ACTOR_GROUND_DETACH_SPEED   0x2aa

Definition at line 215 of file constants.h.

◆ ACTOR_GROUND_HEIGHT_SLOP

#define ACTOR_GROUND_HEIGHT_SLOP   0xaa

Definition at line 213 of file constants.h.

◆ ACTOR_INPUT_CONTACT_LAYER_MAX

#define ACTOR_INPUT_CONTACT_LAYER_MAX   11

Definition at line 246 of file constants.h.

◆ ACTOR_LANDING_SOUND_BASE_INDEX

#define ACTOR_LANDING_SOUND_BASE_INDEX   11

Definition at line 243 of file constants.h.

◆ ACTOR_LIFECYCLE_COLLISION_ENABLED

#define ACTOR_LIFECYCLE_COLLISION_ENABLED   0x10

Definition at line 42 of file constants.h.

◆ ACTOR_LIFECYCLE_DESTROY_QUEUED

#define ACTOR_LIFECYCLE_DESTROY_QUEUED   0x8

Definition at line 41 of file constants.h.

◆ ACTOR_LIFECYCLE_DESTROYING

#define ACTOR_LIFECYCLE_DESTROYING   0x20

Definition at line 43 of file constants.h.

◆ ACTOR_LIFECYCLE_DISABLED

#define ACTOR_LIFECYCLE_DISABLED   0x1

Definition at line 39 of file constants.h.

◆ ACTOR_LIFECYCLE_FORCE_HIDDEN

#define ACTOR_LIFECYCLE_FORCE_HIDDEN   0x80

Definition at line 44 of file constants.h.

◆ ACTOR_LIFECYCLE_HIDDEN

#define ACTOR_LIFECYCLE_HIDDEN   0x4

Definition at line 40 of file constants.h.

◆ ACTOR_LOD_MINIMUM_SCALE_Q12

#define ACTOR_LOD_MINIMUM_SCALE_Q12   0x800

Definition at line 123 of file constants.h.

◆ ACTOR_LOD_SHRINK_END_DISTANCE

#define ACTOR_LOD_SHRINK_END_DISTANCE   0x64000

Definition at line 121 of file constants.h.

◆ ACTOR_LOD_SHRINK_RAMP_MULTIPLIER

#define ACTOR_LOD_SHRINK_RAMP_MULTIPLIER   45

Definition at line 122 of file constants.h.

◆ ACTOR_LOD_SHRINK_START_DISTANCE

#define ACTOR_LOD_SHRINK_START_DISTANCE   0xa000

Definition at line 120 of file constants.h.

◆ ACTOR_MOVE_TARGET_GROUND_HEIGHT_SLOP

#define ACTOR_MOVE_TARGET_GROUND_HEIGHT_SLOP   170

Definition at line 265 of file constants.h.

◆ ACTOR_PATH_OCCLUSION_PROBE_RADIUS

#define ACTOR_PATH_OCCLUSION_PROBE_RADIUS   16

Definition at line 242 of file constants.h.

◆ ACTOR_POSITION_FACING_EPSILON

#define ACTOR_POSITION_FACING_EPSILON   0x20

Definition at line 211 of file constants.h.

◆ ACTOR_PUPPY_MAX_WEIGHT_RATIO

#define ACTOR_PUPPY_MAX_WEIGHT_RATIO   10

Definition at line 209 of file constants.h.

◆ ACTOR_REACTION_ANIMATION_TICKS

#define ACTOR_REACTION_ANIMATION_TICKS   30

Definition at line 91 of file constants.h.

◆ ACTOR_RENDER_CONTROLLER_GROUP_RELOCATED

#define ACTOR_RENDER_CONTROLLER_GROUP_RELOCATED   0x80

Definition at line 88 of file constants.h.

◆ ACTOR_RENDER_ENTRY_INDEX_MASK

#define ACTOR_RENDER_ENTRY_INDEX_MASK   0x3f

Definition at line 86 of file constants.h.

◆ ACTOR_RENDER_ENTRY_INITIALIZED

#define ACTOR_RENDER_ENTRY_INITIALIZED   0x40

Definition at line 85 of file constants.h.

◆ ACTOR_RENDER_EXCLUDED_DISTANCE

#define ACTOR_RENDER_EXCLUDED_DISTANCE   0x8381

Definition at line 220 of file constants.h.

◆ ACTOR_RENDER_EXCLUDED_RANGE_BEGIN

#define ACTOR_RENDER_EXCLUDED_RANGE_BEGIN   0x30d40

Definition at line 221 of file constants.h.

◆ ACTOR_RENDER_EXCLUDED_RANGE_END

#define ACTOR_RENDER_EXCLUDED_RANGE_END   0x493e0

Definition at line 222 of file constants.h.

◆ ACTOR_RENDER_FADE_COLOR_MASK

#define ACTOR_RENDER_FADE_COLOR_MASK   0xffffff

Definition at line 87 of file constants.h.

◆ ACTOR_ROLL_RECENTER_STEP

#define ACTOR_ROLL_RECENTER_STEP   64

Definition at line 249 of file constants.h.

◆ ACTOR_ROOT_MOTION_LATCHED

#define ACTOR_ROOT_MOTION_LATCHED   0x40000

Definition at line 25 of file constants.h.

◆ ACTOR_ROOT_MOTION_LEFT

#define ACTOR_ROOT_MOTION_LEFT   ACTOR_BEHAVIOR_MOVING_LEFT

Definition at line 71 of file constants.h.

◆ ACTOR_ROOT_MOTION_LOOP

#define ACTOR_ROOT_MOTION_LOOP   0x8000

Definition at line 22 of file constants.h.

◆ ACTOR_ROOT_MOTION_REVERSE

#define ACTOR_ROOT_MOTION_REVERSE   0x20000

Definition at line 24 of file constants.h.

◆ ACTOR_ROOT_MOTION_RIGHT

#define ACTOR_ROOT_MOTION_RIGHT   ACTOR_BEHAVIOR_BYPASS_COLLISION

Definition at line 72 of file constants.h.

◆ ACTOR_ROOT_MOTION_STEP

#define ACTOR_ROOT_MOTION_STEP   0x80000

Definition at line 26 of file constants.h.

◆ ACTOR_ROOT_MOTION_WRAP

#define ACTOR_ROOT_MOTION_WRAP   0x10000

Definition at line 23 of file constants.h.

◆ ACTOR_RUNNING_INPUT_MAGNITUDE_Q12

#define ACTOR_RUNNING_INPUT_MAGNITUDE_Q12   0x6c2

Definition at line 92 of file constants.h.

◆ ACTOR_SOUND_VARIANT_LOW_BIT

#define ACTOR_SOUND_VARIANT_LOW_BIT   0x2

Definition at line 84 of file constants.h.

◆ ACTOR_STEERING_PHASE_BIAS

#define ACTOR_STEERING_PHASE_BIAS   0x800000

Definition at line 208 of file constants.h.

◆ ACTOR_STEERING_PHASE_LIMIT

#define ACTOR_STEERING_PHASE_LIMIT   0x400000

Definition at line 207 of file constants.h.

◆ ACTOR_TARGET_DEFAULT_RADIUS

#define ACTOR_TARGET_DEFAULT_RADIUS   0x1800

Definition at line 206 of file constants.h.

◆ ACTOR_TRACE_INCLUDE_PERSISTENT

#define ACTOR_TRACE_INCLUDE_PERSISTENT   0x8000

Definition at line 80 of file constants.h.

◆ ACTOR_TRACE_KEEP_NEAREST

#define ACTOR_TRACE_KEEP_NEAREST   0x100

Definition at line 77 of file constants.h.

◆ ACTOR_TRACE_MATCH_ACTIVATION

#define ACTOR_TRACE_MATCH_ACTIVATION   0x400

Definition at line 79 of file constants.h.

◆ ACTOR_TRACE_NAVIGATION_RECORDS

#define ACTOR_TRACE_NAVIGATION_RECORDS   0x200

Definition at line 78 of file constants.h.

◆ ACTOR_TRACE_SKIP_ACTOR_OCCLUSION

#define ACTOR_TRACE_SKIP_ACTOR_OCCLUSION   0x80

Definition at line 76 of file constants.h.

◆ ACTOR_TRACE_USE_TARGET_POSITION

#define ACTOR_TRACE_USE_TARGET_POSITION   0x20

Definition at line 74 of file constants.h.

◆ ACTOR_TRACE_USE_TARGET_RESULT

#define ACTOR_TRACE_USE_TARGET_RESULT   0x40

Definition at line 75 of file constants.h.

◆ ACTOR_TRACE_VIEW_CONE

#define ACTOR_TRACE_VIEW_CONE   0x8

Definition at line 73 of file constants.h.

◆ ACTOR_VELOCITY_FACING_EPSILON

#define ACTOR_VELOCITY_FACING_EPSILON   32

Definition at line 241 of file constants.h.

Enumeration Type Documentation

◆ Actor_AnimationState

Enumerator
ACTOR_ANIMATION_NONE 
ACTOR_ANIMATION_IDLE 
ACTOR_ANIMATION_DEATH 
ACTOR_ANIMATION_WALK 
ACTOR_ANIMATION_RUN 
ACTOR_ANIMATION_JUMP_START 
ACTOR_ANIMATION_AIRBORNE 
ACTOR_ANIMATION_DAMAGE 
ACTOR_ANIMATION_DRIFT 
ACTOR_ANIMATION_PRIMARY_ACTION 
ACTOR_ANIMATION_ATTACHMENT_ACTION 
ACTOR_ANIMATION_FORCED 
ACTOR_ANIMATION_NO_BONE 
ACTOR_ANIMATION_BONE_ACTION 
ACTOR_ANIMATION_DEATH_SETTLE 
ACTOR_ANIMATION_SURFACE_IDLE 
ACTOR_ANIMATION_SURFACE_MOVE 

Definition at line 95 of file constants.h.

◆ Actor_ConditionSelector

Enumerator
ACTOR_CONDITION_ALWAYS 
ACTOR_CONDITION_HAZARD_TIMER_EXPIRED 
ACTOR_CONDITION_CAMERA_PRIORITY 
ACTOR_CONDITION_INPUT_OR_CONTACT 

Definition at line 193 of file constants.h.

◆ Actor_ContactLayer

Enumerator
ACTOR_CONTACT_RESPONSE_SLOT_0 
ACTOR_CONTACT_TIMED_DAMAGE 
ACTOR_CONTACT_RESPONSE_SLOT_2 
ACTOR_CONTACT_RESPONSE_SLOT_3 
ACTOR_CONTACT_RESPONSE_SLOT_4 
ACTOR_CONTACT_MOVING_PLATFORM 
ACTOR_CONTACT_CAMERA_OVERRIDE 

Definition at line 225 of file constants.h.

◆ Actor_DeathStage

Enumerator
ACTOR_DEATH_ALIVE 
ACTOR_DEATH_WAIT_FOR_LANDING 
ACTOR_DEATH_ANIMATING 
ACTOR_DEATH_SETTLING 
ACTOR_DEATH_RESPAWN_OR_FADE 

Definition at line 129 of file constants.h.

◆ Actor_FacingSelector

Enumerator
ACTOR_FACING_RELATIVE 
ACTOR_FACING_ABSOLUTE 

Definition at line 187 of file constants.h.

◆ Actor_InputCondition

Enumerator
ACTOR_INPUT_CONDITION_ALWAYS 
ACTOR_INPUT_CONDITION_MOVING 
ACTOR_INPUT_CONDITION_ACTION_1 
ACTOR_INPUT_CONDITION_ACTION_2 
ACTOR_INPUT_CONDITION_ACTION_3 
ACTOR_INPUT_CONDITION_CONFIRM 
ACTOR_INPUT_CONDITION_LEFT 
ACTOR_INPUT_CONDITION_RIGHT 
ACTOR_INPUT_CONDITION_UP 
ACTOR_INPUT_CONDITION_DOWN 

Definition at line 173 of file constants.h.

◆ Actor_MovementOpcode

Enumerator
ACTOR_MOVE_RESET 
ACTOR_MOVE_RIGHT 
ACTOR_MOVE_LEFT 
ACTOR_MOVE_FORWARD 
ACTOR_MOVE_STEP_FORWARD 
ACTOR_MOVE_REVERSE 
ACTOR_MOVE_STEP_REVERSE 
ACTOR_MOVE_RESUME 
ACTOR_MOVE_PAUSE 
ACTOR_MOVE_SKIP_UPDATE 
ACTOR_MOVE_LATCH_STOP 

Definition at line 54 of file constants.h.

◆ Actor_NavigationCommand

Enumerator
ACTOR_NAV_COMMAND_DEATH 
ACTOR_NAV_COMMAND_GEOMETRY_CONTACT 
ACTOR_NAV_COMMAND_ACTOR_CONTACT 
ACTOR_NAV_COMMAND_FIRST_COMPONENT_ACTION 

Definition at line 257 of file constants.h.

◆ Actor_ObjectKind

Enumerator
ACTOR_OBJECT_UNTYPED 
ACTOR_OBJECT_SCENE_OWNER 
ACTOR_OBJECT_STATIC_COLLISION 
ACTOR_OBJECT_RUNTIME 
ACTOR_OBJECT_FORCE_EMITTER 

Definition at line 138 of file constants.h.

◆ Actor_RenderExclusionMode

Enumerator
ACTOR_RENDER_DISTANCE_RANGE_EXCLUSION 

Definition at line 236 of file constants.h.

◆ Actor_TraceFilter

Enumerator
ACTOR_TRACE_FILTER_ACTIVE_ENTITIES 
ACTOR_TRACE_FILTER_INACTIVE_ENTITIES 

Definition at line 251 of file constants.h.

◆ Actor_TraceTarget

Enumerator
ACTOR_TARGET_ACTIVE_ENTITIES 
ACTOR_TARGET_CURRENT_RESPAWN 
ACTOR_TARGET_NEAREST_RESPAWN 
ACTOR_TARGET_ENTITY_SCAN 
ACTOR_TARGET_NAVIGATION_POSITION 
ACTOR_TARGET_CURRENT_RESPAWN_ALTERNATE 
ACTOR_TARGET_FIRST_RESPAWN 
ACTOR_TARGET_LAST_RESPAWN 
ACTOR_TARGET_NAVIGATION_POSITION_ALTERNATE 
ACTOR_TARGET_CURRENT_RESPAWN_FALLBACK 
ACTOR_TARGET_BONUS_RESPAWN_POSITION 
ACTOR_TARGET_ALL_ENTITIES 
ACTOR_TARGET_COMMAND_FIRST 
ACTOR_TARGET_COMMAND_END 

Definition at line 155 of file constants.h.

◆ Actor_TransitionPhase

Enumerator
ACTOR_PHASE_NONE 
ACTOR_PHASE_ACTIVE 
ACTOR_PHASE_PROJECTILE 
ACTOR_PHASE_LEAVING 

Definition at line 147 of file constants.h.