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

Go to the source code of this file.

Macros

#define COMPONENT_FLAG_CHILD_ATTACH_POSITION_SOURCE   ((int32_t)(1 << 0))
#define COMPONENT_FLAG_CHILD_ATTACH_OWNER   ((int32_t)(1 << 1))
#define COMPONENT_FLAG_CHILD_ATTACHMENT_OPTION   ((int32_t)(1 << 2))
#define COMPONENT_FLAG_FOLLOWUP_ATTACH_PARENT   ((int32_t)(1 << 3))
#define COMPONENT_FLAG_FOLLOWUP_ATTACH_SENTINEL   ((int32_t)(1 << 4))
#define COMPONENT_FLAG_FOLLOWUP_ATTACHMENT_OPTION   ((int32_t)(1 << 5))
#define COMPONENT_FLAG_PROJECTILE_ATTACH_POSITION_SOURCE   ((int32_t)(1 << 6))
#define COMPONENT_FLAG_PROJECTILE_ATTACH_PARENT   ((int32_t)(1 << 7))
#define COMPONENT_FLAG_PROJECTILE_ATTACHMENT_OPTION   ((int32_t)(1 << 8))
#define COMPONENT_FLAG_CLEAR_TARGET_IF_UNTRACKED   ((int32_t)(1 << 9))
#define COMPONENT_FLAG_CLEAR_TARGET   ((int32_t)(1 << 10))
#define COMPONENT_FLAG_YAW_ONLY_ORIENTATION   ((int32_t)(1 << 12))
#define COMPONENT_FLAG_AIRBORNE_TARGET   ((int32_t)(1 << 14))
#define COMPONENT_FLAG_BALLISTIC_PITCH   ((int32_t)(1 << 15))
#define COMPONENT_STATE_DIRECTION_DIRTY   ((int32_t)(1 << 0))
#define COMPONENT_STATE_TARGET_CLEARED   ((int32_t)(1 << 1))
#define COMPONENT_STATE_HAS_TARGET   ((int32_t)(1 << 2))
#define COMPONENT_COLLISION_RANGE_DISABLED   (-1)
#define COMPONENT_COLLISION_RANGE_UNLIMITED   ((int32_t)0x3e8000)
#define COMPONENT_COLLISION_RANGE_PADDING   ((int32_t)0xa000)
#define COMPONENT_COLLISION_RANGE_DEFAULT   ((int32_t)0x19000)
#define COMPONENT_FIXED_POSITION_TARGET   ((void *)UINTPTR_MAX)
#define COMPONENT_NO_TEAM   UINT32_MAX
#define COMPONENT_SPAWN_INDEX_MULTIPLIER   ((int32_t)31)
#define COMPONENT_SPAWN_INDEX_SHIFT   ((int32_t)3)
#define COMPONENT_AIRBORNE_TARGET_SHIFT   ((int32_t)14)
#define COMPONENT_FLAG_REJECT_HIT_RESPONSE   ((int32_t)(1 << 13))
#define COMPONENT_FLAG_FOLLOWUP_FOR_PROJECTILE_HITS   ((int32_t)(1 << 16))
#define COMPONENT_AUDIO_FREQUENCY_SHIFT   17
#define COMPONENT_AUDIO_FREQUENCY_MASK   31

Enumerations

enum  Component_ActorKind { COMPONENT_ACTOR_CHILD = 0 , COMPONENT_ACTOR_FOLLOWUP = 1 , COMPONENT_ACTOR_PROJECTILE = 2 }
enum  Component_SoundSlot { COMPONENT_SOUND_SPAWN = 0 , COMPONENT_SOUND_FOLLOWUP = 1 , COMPONENT_SOUND_LAUNCH = 2 }
enum  Component_MovementHandler { COMPONENT_MOVEMENT_IDLE = 0 , COMPONENT_MOVEMENT_PROJECTILE = 2 }
enum  Component_TransitionPhase { COMPONENT_PHASE_INITIAL = 0 , COMPONENT_PHASE_DEFERRED_PROJECTILE = 2 , COMPONENT_PHASE_PAUSE_ATTACHMENT = 3 }

Macro Definition Documentation

◆ COMPONENT_AIRBORNE_TARGET_SHIFT

#define COMPONENT_AIRBORNE_TARGET_SHIFT   ((int32_t)14)

Definition at line 40 of file constants.h.

◆ COMPONENT_AUDIO_FREQUENCY_MASK

#define COMPONENT_AUDIO_FREQUENCY_MASK   31

Definition at line 52 of file constants.h.

◆ COMPONENT_AUDIO_FREQUENCY_SHIFT

#define COMPONENT_AUDIO_FREQUENCY_SHIFT   17

Definition at line 51 of file constants.h.

◆ COMPONENT_COLLISION_RANGE_DEFAULT

#define COMPONENT_COLLISION_RANGE_DEFAULT   ((int32_t)0x19000)

Definition at line 27 of file constants.h.

◆ COMPONENT_COLLISION_RANGE_DISABLED

#define COMPONENT_COLLISION_RANGE_DISABLED   (-1)

Definition at line 24 of file constants.h.

◆ COMPONENT_COLLISION_RANGE_PADDING

#define COMPONENT_COLLISION_RANGE_PADDING   ((int32_t)0xa000)

Definition at line 26 of file constants.h.

◆ COMPONENT_COLLISION_RANGE_UNLIMITED

#define COMPONENT_COLLISION_RANGE_UNLIMITED   ((int32_t)0x3e8000)

Definition at line 25 of file constants.h.

◆ COMPONENT_FIXED_POSITION_TARGET

#define COMPONENT_FIXED_POSITION_TARGET   ((void *)UINTPTR_MAX)

Definition at line 28 of file constants.h.

◆ COMPONENT_FLAG_AIRBORNE_TARGET

#define COMPONENT_FLAG_AIRBORNE_TARGET   ((int32_t)(1 << 14))

Definition at line 18 of file constants.h.

◆ COMPONENT_FLAG_BALLISTIC_PITCH

#define COMPONENT_FLAG_BALLISTIC_PITCH   ((int32_t)(1 << 15))

Definition at line 19 of file constants.h.

◆ COMPONENT_FLAG_CHILD_ATTACH_OWNER

#define COMPONENT_FLAG_CHILD_ATTACH_OWNER   ((int32_t)(1 << 1))

Definition at line 7 of file constants.h.

◆ COMPONENT_FLAG_CHILD_ATTACH_POSITION_SOURCE

#define COMPONENT_FLAG_CHILD_ATTACH_POSITION_SOURCE   ((int32_t)(1 << 0))

Definition at line 6 of file constants.h.

◆ COMPONENT_FLAG_CHILD_ATTACHMENT_OPTION

#define COMPONENT_FLAG_CHILD_ATTACHMENT_OPTION   ((int32_t)(1 << 2))

Definition at line 8 of file constants.h.

◆ COMPONENT_FLAG_CLEAR_TARGET

#define COMPONENT_FLAG_CLEAR_TARGET   ((int32_t)(1 << 10))

Definition at line 16 of file constants.h.

◆ COMPONENT_FLAG_CLEAR_TARGET_IF_UNTRACKED

#define COMPONENT_FLAG_CLEAR_TARGET_IF_UNTRACKED   ((int32_t)(1 << 9))

Definition at line 15 of file constants.h.

◆ COMPONENT_FLAG_FOLLOWUP_ATTACH_PARENT

#define COMPONENT_FLAG_FOLLOWUP_ATTACH_PARENT   ((int32_t)(1 << 3))

Definition at line 9 of file constants.h.

◆ COMPONENT_FLAG_FOLLOWUP_ATTACH_SENTINEL

#define COMPONENT_FLAG_FOLLOWUP_ATTACH_SENTINEL   ((int32_t)(1 << 4))

Definition at line 10 of file constants.h.

◆ COMPONENT_FLAG_FOLLOWUP_ATTACHMENT_OPTION

#define COMPONENT_FLAG_FOLLOWUP_ATTACHMENT_OPTION   ((int32_t)(1 << 5))

Definition at line 11 of file constants.h.

◆ COMPONENT_FLAG_FOLLOWUP_FOR_PROJECTILE_HITS

#define COMPONENT_FLAG_FOLLOWUP_FOR_PROJECTILE_HITS   ((int32_t)(1 << 16))

Definition at line 50 of file constants.h.

◆ COMPONENT_FLAG_PROJECTILE_ATTACH_PARENT

#define COMPONENT_FLAG_PROJECTILE_ATTACH_PARENT   ((int32_t)(1 << 7))

Definition at line 13 of file constants.h.

◆ COMPONENT_FLAG_PROJECTILE_ATTACH_POSITION_SOURCE

#define COMPONENT_FLAG_PROJECTILE_ATTACH_POSITION_SOURCE   ((int32_t)(1 << 6))

Definition at line 12 of file constants.h.

◆ COMPONENT_FLAG_PROJECTILE_ATTACHMENT_OPTION

#define COMPONENT_FLAG_PROJECTILE_ATTACHMENT_OPTION   ((int32_t)(1 << 8))

Definition at line 14 of file constants.h.

◆ COMPONENT_FLAG_REJECT_HIT_RESPONSE

#define COMPONENT_FLAG_REJECT_HIT_RESPONSE   ((int32_t)(1 << 13))

Definition at line 49 of file constants.h.

◆ COMPONENT_FLAG_YAW_ONLY_ORIENTATION

#define COMPONENT_FLAG_YAW_ONLY_ORIENTATION   ((int32_t)(1 << 12))

Definition at line 17 of file constants.h.

◆ COMPONENT_NO_TEAM

#define COMPONENT_NO_TEAM   UINT32_MAX

Definition at line 37 of file constants.h.

◆ COMPONENT_SPAWN_INDEX_MULTIPLIER

#define COMPONENT_SPAWN_INDEX_MULTIPLIER   ((int32_t)31)

Definition at line 38 of file constants.h.

◆ COMPONENT_SPAWN_INDEX_SHIFT

#define COMPONENT_SPAWN_INDEX_SHIFT   ((int32_t)3)

Definition at line 39 of file constants.h.

◆ COMPONENT_STATE_DIRECTION_DIRTY

#define COMPONENT_STATE_DIRECTION_DIRTY   ((int32_t)(1 << 0))

Definition at line 21 of file constants.h.

◆ COMPONENT_STATE_HAS_TARGET

#define COMPONENT_STATE_HAS_TARGET   ((int32_t)(1 << 2))

Definition at line 23 of file constants.h.

◆ COMPONENT_STATE_TARGET_CLEARED

#define COMPONENT_STATE_TARGET_CLEARED   ((int32_t)(1 << 1))

Definition at line 22 of file constants.h.

Enumeration Type Documentation

◆ Component_ActorKind

Enumerator
COMPONENT_ACTOR_CHILD 
COMPONENT_ACTOR_FOLLOWUP 
COMPONENT_ACTOR_PROJECTILE 

Definition at line 30 of file constants.h.

◆ Component_MovementHandler

Enumerator
COMPONENT_MOVEMENT_IDLE 
COMPONENT_MOVEMENT_PROJECTILE 

Definition at line 54 of file constants.h.

◆ Component_SoundSlot

Enumerator
COMPONENT_SOUND_SPAWN 
COMPONENT_SOUND_FOLLOWUP 
COMPONENT_SOUND_LAUNCH 

Definition at line 42 of file constants.h.

◆ Component_TransitionPhase

Enumerator
COMPONENT_PHASE_INITIAL 
COMPONENT_PHASE_DEFERRED_PROJECTILE 
COMPONENT_PHASE_PAUSE_ATTACHMENT 

Definition at line 60 of file constants.h.