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 CAMERA_DEFINITION_TARGET_ENTITY_RELATIVE   0x1
#define CAMERA_DEFINITION_ORBIT   0x2
#define CAMERA_DEFINITION_AVOID_POSITIVE_YAW   0x4
#define CAMERA_DEFINITION_AVOID_NEGATIVE_YAW   0x8
#define CAMERA_DEFINITION_FOLLOW_CHILD   0x10
#define CAMERA_DEFINITION_PERSIST_OVERRIDE   0x20
#define CAMERA_DEFINITION_FIXED_EYE   0x40
#define CAMERA_DEFINITION_MODE_MASK   0xf
#define CAMERA_POSE_FOLLOW_UPDATED   0x1
#define CAMERA_SHAKE_DURATION_FRAMES   10
#define CAMERA_AUTOMATIC_YAW_STEP   22
#define CAMERA_MANUAL_YAW_STEP   44
#define CAMERA_DEFAULT_DISTANCE_LIMIT_Q12   0x7ffff000
#define CAMERA_DEFAULT_TRANSITION_FRAMES   30
#define CAMERA_FOLLOW_CURRENT_ENTITY_SELECTOR   0x8008
#define CAMERA_PITCH_PROBE_MINIMUM   56
#define CAMERA_PITCH_PROBE_LOW   170
#define CAMERA_PITCH_PROBE_MIDDLE   341
#define CAMERA_PITCH_PROBE_HIGH   512
#define CAMERA_PITCH_PROBE_MAXIMUM   1023
#define CAMERA_PITCH_PROBE_DISTANCE_PADDING_Q12   8192
#define CAMERA_PITCH_FINE_STEP   45
#define CAMERA_PITCH_MEDIUM_STEP   90
#define CAMERA_PITCH_COARSE_STEP   180
#define CAMERA_PITCH_COARSE_THRESHOLD   360
#define CAMERA_PITCH_SMOOTH_FINE_STEP   11
#define CAMERA_PITCH_SMOOTH_STEP   22
#define CAMERA_FOLLOW_BASIS_TOLERANCE_Q12   64
#define CAMERA_FOLLOW_BASIS_TOLERANCE_RANGE_Q12   128
#define CAMERA_DIRECTION_NORMALIZATION_SCALE   256
#define CAMERA_OBSTRUCTION_RADIUS_EXPANSION_Q6   128
#define CAMERA_UP_BASIS_SQUARED_SCALE   0x8000000
#define CAMERA_NORMALIZED_DIRECTION_LENGTH   0x100000
#define CAMERA_GROUND_ALIGNMENT_THRESHOLD_Q24   0xb50000
#define CAMERA_TRANSITION_DISTANCE_Q12   0x3000
#define CAMERA_DEGREES_TO_ANGLE_DIVISOR   45
#define CAMERA_DEFAULT_VIEWPORT_WIDTH   640
#define CAMERA_DEFAULT_VIEWPORT_HEIGHT   480
#define CAMERA_MAX_RENDER_DISTANCE_Q12   0x3e8000
#define CAMERA_DEFAULT_FOV_ANGLE   0x30f
#define CAMERA_CLIP_PLANE_EPSILON   9.99999997e-07f
#define CAMERA_FLOAT_ONE_BITS   0x3f800000
#define CAMERA_PROJECTION_NEAR_W_BITS   0x3f801002
#define CAMERA_PROJECTION_FAR_W_BITS   0xbf001002
#define CAMERA_COLLISION_PROBE_RADIUS_Q6   8
#define CAMERA_YAW_RETRY_BATCH_SIZE   2
#define CAMERA_RESUME_MUSIC_FADE_FRAMES   7

Enumerations

enum  Camera_DefinitionMode { CAMERA_DEFINITION_ENTITY_RELATIVE = 0 , CAMERA_DEFINITION_ABSOLUTE = 1 }
enum  Camera_ScreenBorderState { CAMERA_SCREEN_BORDER_ACTIVE = 1 , CAMERA_SCREEN_BORDER_SKIPPABLE = 2 }

Macro Definition Documentation

◆ CAMERA_AUTOMATIC_YAW_STEP

#define CAMERA_AUTOMATIC_YAW_STEP   22

Definition at line 21 of file constants.h.

◆ CAMERA_CLIP_PLANE_EPSILON

#define CAMERA_CLIP_PLANE_EPSILON   9.99999997e-07f

Definition at line 60 of file constants.h.

◆ CAMERA_COLLISION_PROBE_RADIUS_Q6

#define CAMERA_COLLISION_PROBE_RADIUS_Q6   8

Definition at line 65 of file constants.h.

◆ CAMERA_DEFAULT_DISTANCE_LIMIT_Q12

#define CAMERA_DEFAULT_DISTANCE_LIMIT_Q12   0x7ffff000

Definition at line 24 of file constants.h.

◆ CAMERA_DEFAULT_FOV_ANGLE

#define CAMERA_DEFAULT_FOV_ANGLE   0x30f

Definition at line 59 of file constants.h.

◆ CAMERA_DEFAULT_TRANSITION_FRAMES

#define CAMERA_DEFAULT_TRANSITION_FRAMES   30

Definition at line 25 of file constants.h.

◆ CAMERA_DEFAULT_VIEWPORT_HEIGHT

#define CAMERA_DEFAULT_VIEWPORT_HEIGHT   480

Definition at line 57 of file constants.h.

◆ CAMERA_DEFAULT_VIEWPORT_WIDTH

#define CAMERA_DEFAULT_VIEWPORT_WIDTH   640

Definition at line 56 of file constants.h.

◆ CAMERA_DEFINITION_AVOID_NEGATIVE_YAW

#define CAMERA_DEFINITION_AVOID_NEGATIVE_YAW   0x8

Definition at line 13 of file constants.h.

◆ CAMERA_DEFINITION_AVOID_POSITIVE_YAW

#define CAMERA_DEFINITION_AVOID_POSITIVE_YAW   0x4

Definition at line 12 of file constants.h.

◆ CAMERA_DEFINITION_FIXED_EYE

#define CAMERA_DEFINITION_FIXED_EYE   0x40

Definition at line 16 of file constants.h.

◆ CAMERA_DEFINITION_FOLLOW_CHILD

#define CAMERA_DEFINITION_FOLLOW_CHILD   0x10

Definition at line 14 of file constants.h.

◆ CAMERA_DEFINITION_MODE_MASK

#define CAMERA_DEFINITION_MODE_MASK   0xf

Definition at line 17 of file constants.h.

◆ CAMERA_DEFINITION_ORBIT

#define CAMERA_DEFINITION_ORBIT   0x2

Definition at line 11 of file constants.h.

◆ CAMERA_DEFINITION_PERSIST_OVERRIDE

#define CAMERA_DEFINITION_PERSIST_OVERRIDE   0x20

Definition at line 15 of file constants.h.

◆ CAMERA_DEFINITION_TARGET_ENTITY_RELATIVE

#define CAMERA_DEFINITION_TARGET_ENTITY_RELATIVE   0x1

Definition at line 10 of file constants.h.

◆ CAMERA_DEGREES_TO_ANGLE_DIVISOR

#define CAMERA_DEGREES_TO_ANGLE_DIVISOR   45

Definition at line 55 of file constants.h.

◆ CAMERA_DIRECTION_NORMALIZATION_SCALE

#define CAMERA_DIRECTION_NORMALIZATION_SCALE   256

Definition at line 49 of file constants.h.

◆ CAMERA_FLOAT_ONE_BITS

#define CAMERA_FLOAT_ONE_BITS   0x3f800000

Definition at line 61 of file constants.h.

◆ CAMERA_FOLLOW_BASIS_TOLERANCE_Q12

#define CAMERA_FOLLOW_BASIS_TOLERANCE_Q12   64

Definition at line 47 of file constants.h.

◆ CAMERA_FOLLOW_BASIS_TOLERANCE_RANGE_Q12

#define CAMERA_FOLLOW_BASIS_TOLERANCE_RANGE_Q12   128

Definition at line 48 of file constants.h.

◆ CAMERA_FOLLOW_CURRENT_ENTITY_SELECTOR

#define CAMERA_FOLLOW_CURRENT_ENTITY_SELECTOR   0x8008

Definition at line 26 of file constants.h.

◆ CAMERA_GROUND_ALIGNMENT_THRESHOLD_Q24

#define CAMERA_GROUND_ALIGNMENT_THRESHOLD_Q24   0xb50000

Definition at line 53 of file constants.h.

◆ CAMERA_MANUAL_YAW_STEP

#define CAMERA_MANUAL_YAW_STEP   44

Definition at line 22 of file constants.h.

◆ CAMERA_MAX_RENDER_DISTANCE_Q12

#define CAMERA_MAX_RENDER_DISTANCE_Q12   0x3e8000

Definition at line 58 of file constants.h.

◆ CAMERA_NORMALIZED_DIRECTION_LENGTH

#define CAMERA_NORMALIZED_DIRECTION_LENGTH   0x100000

Definition at line 52 of file constants.h.

◆ CAMERA_OBSTRUCTION_RADIUS_EXPANSION_Q6

#define CAMERA_OBSTRUCTION_RADIUS_EXPANSION_Q6   128

Definition at line 50 of file constants.h.

◆ CAMERA_PITCH_COARSE_STEP

#define CAMERA_PITCH_COARSE_STEP   180

Definition at line 43 of file constants.h.

◆ CAMERA_PITCH_COARSE_THRESHOLD

#define CAMERA_PITCH_COARSE_THRESHOLD   360

Definition at line 44 of file constants.h.

◆ CAMERA_PITCH_FINE_STEP

#define CAMERA_PITCH_FINE_STEP   45

Definition at line 41 of file constants.h.

◆ CAMERA_PITCH_MEDIUM_STEP

#define CAMERA_PITCH_MEDIUM_STEP   90

Definition at line 42 of file constants.h.

◆ CAMERA_PITCH_PROBE_DISTANCE_PADDING_Q12

#define CAMERA_PITCH_PROBE_DISTANCE_PADDING_Q12   8192

Definition at line 40 of file constants.h.

◆ CAMERA_PITCH_PROBE_HIGH

#define CAMERA_PITCH_PROBE_HIGH   512

Definition at line 38 of file constants.h.

◆ CAMERA_PITCH_PROBE_LOW

#define CAMERA_PITCH_PROBE_LOW   170

Definition at line 36 of file constants.h.

◆ CAMERA_PITCH_PROBE_MAXIMUM

#define CAMERA_PITCH_PROBE_MAXIMUM   1023

Definition at line 39 of file constants.h.

◆ CAMERA_PITCH_PROBE_MIDDLE

#define CAMERA_PITCH_PROBE_MIDDLE   341

Definition at line 37 of file constants.h.

◆ CAMERA_PITCH_PROBE_MINIMUM

#define CAMERA_PITCH_PROBE_MINIMUM   56

Definition at line 35 of file constants.h.

◆ CAMERA_PITCH_SMOOTH_FINE_STEP

#define CAMERA_PITCH_SMOOTH_FINE_STEP   11

Definition at line 45 of file constants.h.

◆ CAMERA_PITCH_SMOOTH_STEP

#define CAMERA_PITCH_SMOOTH_STEP   22

Definition at line 46 of file constants.h.

◆ CAMERA_POSE_FOLLOW_UPDATED

#define CAMERA_POSE_FOLLOW_UPDATED   0x1

Definition at line 18 of file constants.h.

◆ CAMERA_PROJECTION_FAR_W_BITS

#define CAMERA_PROJECTION_FAR_W_BITS   0xbf001002

Definition at line 63 of file constants.h.

◆ CAMERA_PROJECTION_NEAR_W_BITS

#define CAMERA_PROJECTION_NEAR_W_BITS   0x3f801002

Definition at line 62 of file constants.h.

◆ CAMERA_RESUME_MUSIC_FADE_FRAMES

#define CAMERA_RESUME_MUSIC_FADE_FRAMES   7

Definition at line 67 of file constants.h.

◆ CAMERA_SHAKE_DURATION_FRAMES

#define CAMERA_SHAKE_DURATION_FRAMES   10

Definition at line 20 of file constants.h.

◆ CAMERA_TRANSITION_DISTANCE_Q12

#define CAMERA_TRANSITION_DISTANCE_Q12   0x3000

Definition at line 54 of file constants.h.

◆ CAMERA_UP_BASIS_SQUARED_SCALE

#define CAMERA_UP_BASIS_SQUARED_SCALE   0x8000000

Definition at line 51 of file constants.h.

◆ CAMERA_YAW_RETRY_BATCH_SIZE

#define CAMERA_YAW_RETRY_BATCH_SIZE   2

Definition at line 66 of file constants.h.

Enumeration Type Documentation

◆ Camera_DefinitionMode

Enumerator
CAMERA_DEFINITION_ENTITY_RELATIVE 
CAMERA_DEFINITION_ABSOLUTE 

Definition at line 4 of file constants.h.

◆ Camera_ScreenBorderState

Enumerator
CAMERA_SCREEN_BORDER_ACTIVE 
CAMERA_SCREEN_BORDER_SKIPPABLE 

Definition at line 28 of file constants.h.