102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference |
GitLab repository
Toggle main menu visibility
Loading...
Searching...
No Matches
constants.h
Go to the documentation of this file.
1
#ifndef PCDOGS_ENTITY_CONSTANTS_H
2
#define PCDOGS_ENTITY_CONSTANTS_H
3
4
#include <stdint.h>
5
6
/* Bits without a proven domain meaning retain their field and bit identity. */
7
#define ENTITY_FLAG_BIT_0 ((int32_t)(1 << 0))
8
#define ENTITY_FLAG_BIT_1 ((int32_t)(1 << 1))
9
#define ENTITY_FLAG_ACTIVE_WORKLIST_REQUEST ((int32_t)(1 << 2))
10
#define ENTITY_FLAG_FACING_REQUEST ((int32_t)(1 << 3))
11
#define ENTITY_FLAG_ACTIVE_WORKLIST_DEFERRED ((int32_t)(1 << 4))
12
#define ENTITY_FLAG_WALK_REQUEST ((int32_t)(1 << 5))
13
#define ENTITY_FLAG_RUN_REQUEST ((int32_t)(1 << 6))
14
#define ENTITY_FLAG_GROUP_REVERSE ((int32_t)(1 << 7))
15
#define ENTITY_FLAG_GROUP_RANDOM ((int32_t)(1 << 8))
16
#define ENTITY_FLAG_GROUP_BIT_9 ((int32_t)(1 << 9))
17
#define ENTITY_FLAG_ACTIVATION_REQUEST ((int32_t)(1 << 10))
18
#define ENTITY_FLAG_RESTORE_DEFAULTS ((int32_t)(1 << 11))
19
#define ENTITY_FLAG_UPDATE_GUARD ((int32_t)(1 << 12))
20
#define ENTITY_FLAG_SCRIPT_PAUSED ((int32_t)(1 << 13))
21
#define ENTITY_FLAG_COLLISION_LIST_UNLINKED ((int32_t)(1 << 14))
22
#define ENTITY_FLAG_PERSISTENT_BIT_15 ((int32_t)(1 << 15))
23
#define ENTITY_FLAG_NAVIGATION_GOAL_ENABLED ((int32_t)(1 << 16))
24
#define ENTITY_FLAG_PERSISTENT_BIT_17 ((int32_t)(1 << 17))
25
#define ENTITY_FLAG_ACTOR_COLLISION_SCAN ((int32_t)(1 << 18))
26
#define ENTITY_FLAG_PAUSE_EXEMPT ((int32_t)(1 << 19))
27
#define ENTITY_FLAG_DAMAGE_REACTION_DISABLED ((int32_t)(1 << 20))
28
29
#define ENTITY_PROPERTY_RESTORE_SAVED (-1)
30
#define ENTITY_PROPERTY_FLAG_BASE ((int32_t)0x80)
31
#define ENTITY_RECORD_STRIDE ((uint32_t)0x180)
32
#define ENTITY_ANGLE_SCALE_Q12 ((int32_t)0xb60b)
33
#define ENTITY_INDEX_RECIPROCAL ((int32_t)0x2aaaaaab)
34
#define ENTITY_VISIBILITY_ENTER_MARGIN ((int32_t)0x140)
35
#define ENTITY_VISIBILITY_LEAVE_MARGIN ((int32_t)0x280)
36
37
#define ENTITY_FLAG_INDEX_MASK ((int32_t)31)
38
#define ENTITY_FIXED_UPDATE_RATE ((int32_t)30)
39
#define ENTITY_ANIMATION_PENDING ((int32_t)0xffff)
40
41
#define ENTITY_RUNTIME_BINDING_BYTES ((int32_t)0x68)
42
#define ENTITY_CONTROLLER_RESET_BYTES ((int32_t)12)
43
#define ENTITY_UNLIMITED_LIVES ((int32_t)0xffff)
44
#define ENTITY_DISTANCE_LIMIT_DISABLED UINT32_MAX
45
#define ENTITY_CONTROLLER_COLLISION_SLOT_COUNT ((int32_t)2)
46
47
/* Modes at and above this boundary select speed and apply the live height offset. */
48
enum
Entity_DirectionMode
49
{
50
ENTITY_DIRECTION_SPEED_HEIGHT_OFFSET_FIRST
= 2
51
};
52
53
#endif
Entity_DirectionMode
Entity_DirectionMode
Definition
constants.h:49
ENTITY_DIRECTION_SPEED_HEIGHT_OFFSET_FIRST
@ ENTITY_DIRECTION_SPEED_HEIGHT_OFFSET_FIRST
Definition
constants.h:50
include
pcdogs
entity
constants.h
Generated by
1.17.0