Decomp ActorManager

This commit is contained in:
Aetias
2024-10-22 21:25:59 +02:00
parent 52d4fce351
commit bced23471a
8 changed files with 113 additions and 27 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ public:
Actor *func_ov00_020c39ac(u32 index, ActorTypeId *actorTypes, bool param3);
s32 func_ov00_020c3b2c(s32 *param1);
s32 func_ov00_020c3bb0(unk32 param1, s32 *param2);
void func_ov00_020c3ce8(unk32 param1, unk32 param2);
void func_ov00_020c3ce8(unk32 param1, bool param2);
void Actor_vfunc_28();
static bool ActorTypeIsOneOf(ActorTypeId type, ActorTypeId *types);
};
+1 -1
View File
@@ -131,7 +131,7 @@ public:
bool GetEntrancePos(Vec3p *param_2, unk32 entranceId);
bool func_ov00_02083664(Vec3p *param_2, unk32 entranceId);
s32 func_ov00_020836bc(u32 param_2, unk32 *param_3);
u32 func_ov00_020836cc(u32 param_2, AABB *param_3, u32 param_4);
s32 GetTriggerBoundingBoxes(u32 param_2, AABB *param_3, u32 param_4);
unk8 func_ov00_020836dc(unk32 param_2, unk32 param_3);
bool func_ov00_02083770(u32 param_2, unk32 param_3);
bool func_ov00_02083780(unk32 param_2);
+1
View File
@@ -9,5 +9,6 @@ struct AABB {
Vec3p min;
Vec3p max;
bool Contains(Vec3p *vec);
bool ContainsInXZ(Vec3p *vec);
};
+2
View File
@@ -7,6 +7,8 @@
#define SET_FLAG(arr, pos) ((arr)[((u32) (pos)) >> 5] |= 1 << ((pos) & 0x1f))
#define RESET_FLAG(arr, pos) ((arr)[((u32) (pos)) >> 5] &= ~(1 << ((pos) & 0x1f)))
#define ARRAY_LEN(arr) ((sizeof(arr) / sizeof(*arr)))
// Prevent the IDE from reporting errors that the compiler/linker won't report
#ifdef __INTELLISENSE__
#endif