102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1#ifndef PCDOGS_COMPONENT_CONSTANTS_H
2#define PCDOGS_COMPONENT_CONSTANTS_H
3
4#include <stdint.h>
5
6#define COMPONENT_FLAG_CHILD_ATTACH_POSITION_SOURCE ((int32_t)(1 << 0))
7#define COMPONENT_FLAG_CHILD_ATTACH_OWNER ((int32_t)(1 << 1))
8#define COMPONENT_FLAG_CHILD_ATTACHMENT_OPTION ((int32_t)(1 << 2))
9#define COMPONENT_FLAG_FOLLOWUP_ATTACH_PARENT ((int32_t)(1 << 3))
10#define COMPONENT_FLAG_FOLLOWUP_ATTACH_SENTINEL ((int32_t)(1 << 4))
11#define COMPONENT_FLAG_FOLLOWUP_ATTACHMENT_OPTION ((int32_t)(1 << 5))
12#define COMPONENT_FLAG_PROJECTILE_ATTACH_POSITION_SOURCE ((int32_t)(1 << 6))
13#define COMPONENT_FLAG_PROJECTILE_ATTACH_PARENT ((int32_t)(1 << 7))
14#define COMPONENT_FLAG_PROJECTILE_ATTACHMENT_OPTION ((int32_t)(1 << 8))
15#define COMPONENT_FLAG_CLEAR_TARGET_IF_UNTRACKED ((int32_t)(1 << 9))
16#define COMPONENT_FLAG_CLEAR_TARGET ((int32_t)(1 << 10))
17#define COMPONENT_FLAG_YAW_ONLY_ORIENTATION ((int32_t)(1 << 12))
18#define COMPONENT_FLAG_AIRBORNE_TARGET ((int32_t)(1 << 14))
19#define COMPONENT_FLAG_BALLISTIC_PITCH ((int32_t)(1 << 15))
20
21#define COMPONENT_STATE_DIRECTION_DIRTY ((int32_t)(1 << 0))
22#define COMPONENT_STATE_TARGET_CLEARED ((int32_t)(1 << 1))
23#define COMPONENT_STATE_HAS_TARGET ((int32_t)(1 << 2))
24#define COMPONENT_COLLISION_RANGE_DISABLED (-1)
25#define COMPONENT_COLLISION_RANGE_UNLIMITED ((int32_t)0x3e8000)
26#define COMPONENT_COLLISION_RANGE_PADDING ((int32_t)0xa000)
27#define COMPONENT_COLLISION_RANGE_DEFAULT ((int32_t)0x19000)
28#define COMPONENT_FIXED_POSITION_TARGET ((void *)UINTPTR_MAX)
29
36
37#define COMPONENT_NO_TEAM UINT32_MAX
38#define COMPONENT_SPAWN_INDEX_MULTIPLIER ((int32_t)31)
39#define COMPONENT_SPAWN_INDEX_SHIFT ((int32_t)3)
40#define COMPONENT_AIRBORNE_TARGET_SHIFT ((int32_t)14)
41
48
49#define COMPONENT_FLAG_REJECT_HIT_RESPONSE ((int32_t)(1 << 13))
50#define COMPONENT_FLAG_FOLLOWUP_FOR_PROJECTILE_HITS ((int32_t)(1 << 16))
51#define COMPONENT_AUDIO_FREQUENCY_SHIFT 17
52#define COMPONENT_AUDIO_FREQUENCY_MASK 31
53
59
66
67#endif
Component_SoundSlot
Definition constants.h:43
@ COMPONENT_SOUND_FOLLOWUP
Definition constants.h:45
@ COMPONENT_SOUND_SPAWN
Definition constants.h:44
@ COMPONENT_SOUND_LAUNCH
Definition constants.h:46
Component_MovementHandler
Definition constants.h:55
@ COMPONENT_MOVEMENT_IDLE
Definition constants.h:56
@ COMPONENT_MOVEMENT_PROJECTILE
Definition constants.h:57
Component_TransitionPhase
Definition constants.h:61
@ COMPONENT_PHASE_PAUSE_ATTACHMENT
Definition constants.h:64
@ COMPONENT_PHASE_INITIAL
Definition constants.h:62
@ COMPONENT_PHASE_DEFERRED_PROJECTILE
Definition constants.h:63
Component_ActorKind
Definition constants.h:31
@ COMPONENT_ACTOR_PROJECTILE
Definition constants.h:34
@ COMPONENT_ACTOR_FOLLOWUP
Definition constants.h:33
@ COMPONENT_ACTOR_CHILD
Definition constants.h:32