mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
Fix offset and size comments in collision_check structs (#115)
This commit is contained in:
parent
e4846409f9
commit
10d45ed7ea
1 changed files with 25 additions and 25 deletions
|
@ -62,7 +62,7 @@ typedef struct {
|
|||
/* 0x02 */ u8 acFlags;
|
||||
/* 0x03 */ u8 maskA; // Bitwise-And with maskB
|
||||
/* 0x04 */ u8 shape; // Collider Type
|
||||
} ColliderInit_Set3; // size = 0x06
|
||||
} ColliderInit_Set3; // size = 0x05
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ struct Actor* actor;
|
||||
|
@ -121,9 +121,9 @@ typedef struct {
|
|||
} ColliderJntSphItemDim; // size = 0x18
|
||||
|
||||
typedef struct {
|
||||
u8 joint;
|
||||
Sphere16 modelSphere;
|
||||
s16 scale;
|
||||
/* 0x00 */ u8 joint;
|
||||
/* 0x02 */ Sphere16 modelSphere;
|
||||
/* 0x0A */ s16 scale;
|
||||
} ColliderJntSphItemDimInit; // size = 0x0C
|
||||
|
||||
typedef struct {
|
||||
|
@ -140,25 +140,25 @@ typedef struct {
|
|||
/* 0x00 */ Collider base;
|
||||
/* 0x18 */ s32 count;
|
||||
/* 0x1C */ ColliderJntSphItem* list;
|
||||
} ColliderJntSph; // size 0x20
|
||||
} ColliderJntSph; // size = 0x20
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit base;
|
||||
/* 0x08 */ s32 count;
|
||||
/* 0x0C */ ColliderJntSphItemInit* list;
|
||||
} ColliderJntSphInit;
|
||||
} ColliderJntSphInit; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit_Set3 base;
|
||||
/* 0x08 */ s32 count;
|
||||
/* 0x0C */ ColliderJntSphItemInit* list;
|
||||
} ColliderJntSphInit_Set3;
|
||||
} ColliderJntSphInit_Set3; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit_Actor base;
|
||||
/* 0x08 */ s32 count;
|
||||
/* 0x0C */ ColliderJntSphItemInit* list;
|
||||
} ColliderJntSphInit_Actor;
|
||||
} ColliderJntSphInit_Actor; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Collider base;
|
||||
|
@ -208,13 +208,13 @@ typedef struct {
|
|||
/* 0x00 */ ColliderInit base;
|
||||
/* 0x08 */ s32 count;
|
||||
/* 0x0C */ ColliderTrisItemInit* list;
|
||||
} ColliderTrisInit;
|
||||
} ColliderTrisInit; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit_Set3 base;
|
||||
/* 0x08 */ s32 count;
|
||||
/* 0x0C */ ColliderTrisItemInit* list;
|
||||
} ColliderTrisInit_Set3;
|
||||
} ColliderTrisInit_Set3; // size = 0x10
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Vec3f quad[4];
|
||||
|
@ -225,7 +225,7 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
/* 0x00 */ Vec3f quad[4];
|
||||
} ColliderQuadDimInit;
|
||||
} ColliderQuadDimInit; // size = 0x30
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ Collider base;
|
||||
|
@ -235,19 +235,19 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit base;
|
||||
/* 0x18 */ ColliderBodyInit body;
|
||||
/* 0x30 */ ColliderQuadDimInit dim;
|
||||
} ColliderQuadInit; // size 0x60
|
||||
/* 0x08 */ ColliderBodyInit body;
|
||||
/* 0x20 */ ColliderQuadDimInit dim;
|
||||
} ColliderQuadInit; // size = 0x50
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ ColliderInit_Set3 base;
|
||||
/* 0x18 */ ColliderBodyInit body;
|
||||
/* 0x30 */ ColliderQuadDimInit dim;
|
||||
} ColliderQuadInit_Set3;
|
||||
/* 0x08 */ ColliderBodyInit body;
|
||||
/* 0x20 */ ColliderQuadDimInit dim;
|
||||
} ColliderQuadInit_Set3; // size = 0x50
|
||||
|
||||
typedef struct {
|
||||
Linef line;
|
||||
u16 unk_18;
|
||||
} OcLine;
|
||||
/* 0x00 */ Linef line;
|
||||
/* 0x18 */ u16 unk_18;
|
||||
} OcLine; // size = 0x1C
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue