102 Dalmatians: Puppies to the Rescue
Decompilation Source Reference | GitLab repository
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/* Recovered declarations; ABI and original layout preserved. */
2#ifndef PCDOGS_NAVIGATION_TYPES_H
3#define PCDOGS_NAVIGATION_TYPES_H
4#include "pcdogs/math/types.h"
6
7#pragma pack(push, 2)
8
10{
11 union
12 {
13 uint16_t packed_id;
14
15 struct
16 {
18 uint8_t node_high;
19 };
20 };
21
22 int16_t cost;
23};
24
25#pragma pack(pop)
26_Static_assert(sizeof(struct Nav_NeighborEntry) == 4, "Nav_NeighborEntry size");
27_Static_assert(offsetof(struct Nav_NeighborEntry, flags_and_node_low) == 0, "Neighbor flags byte offset");
28_Static_assert(sizeof(((struct Nav_NeighborEntry *)0)->flags_and_node_low) == 1, "Neighbor flags byte width");
29
30#pragma pack(push, 4)
31
33{
34 int32_t node_count;
35 struct Nav_Node *nodes;
36};
37
38#pragma pack(pop)
39_Static_assert(sizeof(struct Nav_Network) == 8, "Nav_Network size");
40
41#pragma pack(push, 4)
42
44{
45 uint32_t cost;
46 int16_t node_id;
47 int16_t path_depth;
48};
49
50#pragma pack(pop)
51_Static_assert(sizeof(struct Nav_OpenSetEntry) == 8, "Nav_OpenSetEntry size");
52
53#pragma pack(push, 4)
54
56{
57 uint32_t g_cost;
58 uint16_t node_id;
60 int16_t step_count;
61 int16_t reserved;
62};
63
64#pragma pack(pop)
65_Static_assert(sizeof(struct Nav_PathState) == 12, "Nav_PathState size");
66
67#pragma pack(push, 4)
68
70{
71 uint32_t command_type;
74 int32_t speed;
76};
77
78#pragma pack(pop)
79_Static_assert(sizeof(struct Nav_Command) == 24, "Nav_Command size");
80
81#pragma pack(push, 4)
82
95
96#pragma pack(pop)
97_Static_assert(sizeof(struct Nav_GroundProbeActorView) == 240, "Nav_GroundProbeActorView size");
98
99#pragma pack(push, 4)
100
109
110#pragma pack(pop)
111_Static_assert(sizeof(struct Nav_Node) == 24, "Nav_Node size");
112
113#endif /* PCDOGS_NAVIGATION_TYPES_H */
int16_t target_selector_b
Definition types.h:73
int16_t target_selector_a
Definition types.h:72
struct Math_Vec3I32 pos
Definition types.h:75
uint32_t command_type
Definition types.h:71
int32_t speed
Definition types.h:74
uint32_t behavior_flags
Definition types.h:88
struct Collision_Polygon * ground_contact_polygon
Definition types.h:93
uint8_t reserved_04c[0x3c]
Definition types.h:87
uint8_t reserved_08c[0x3a]
Definition types.h:89
uint8_t reserved_000[0x40]
Definition types.h:85
struct Collision_Node * ground_collision_node
Definition types.h:92
struct Math_Vec3I32 position
Definition types.h:86
uint8_t reserved_0c7[0x21]
Definition types.h:91
uint8_t collision_class
Definition types.h:90
int16_t cost
Definition types.h:22
uint8_t flags_and_node_low
Definition types.h:17
uint16_t packed_id
Definition types.h:13
uint8_t node_high
Definition types.h:18
struct Nav_Node * nodes
Definition types.h:35
int32_t node_count
Definition types.h:34
struct Math_Vec3I32 pos
Definition types.h:103
uint16_t parent_link
Definition types.h:104
struct Nav_NeighborEntry * neighbor_list
Definition types.h:107
struct Nav_OpenSetEntry * pathfind_state
Definition types.h:106
int16_t neighbor_count
Definition types.h:105
int16_t path_depth
Definition types.h:47
int16_t node_id
Definition types.h:46
uint32_t cost
Definition types.h:45
int16_t step_count
Definition types.h:60
uint16_t node_id
Definition types.h:58
int16_t reserved
Definition types.h:61
uint32_t g_cost
Definition types.h:57
uint16_t parent_backlink
Definition types.h:59