You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/bodyprog/bodyprog.h
+24-36Lines changed: 24 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -921,12 +921,12 @@ typedef struct
921
921
} s_func_800452EC;
922
922
923
923
// Maybe a collection of matrices.
924
-
typedefstruct
924
+
typedefstruct_Bone
925
925
{
926
926
s_800BCE18_2BEC_0_0field_x0;
927
927
s8field_10;
928
928
s8unk_11[3];
929
-
s32field_14;
929
+
struct_Bone*next_14;
930
930
} s_Bone;
931
931
STATIC_ASSERT_SIZEOF(s_Bone, 24);
932
932
@@ -937,19 +937,11 @@ typedef struct
937
937
u8boneIdx_1; // Current bone index? Used in traversal.
938
938
u8field_2;
939
939
s8field_3;
940
-
s_func_800452EC*field_4;
940
+
s_Bone*bones_4;
941
941
s_Bone*bones_8;
942
-
943
-
// Maybe incorrect.
944
-
s8field_C[4]; // Maybe struct similar to `s_Bone` but smaller.
945
-
u8field_10; // Some count related to bone hierarchy.
946
-
s8field_11;
947
-
s8field_12;
948
-
s8field_13;
949
-
structs_Skeleton*skeleton_14;
950
-
s8unk_18[4];
942
+
s_BoneboneArr_C[56];
951
943
} s_Skeleton;
952
-
STATIC_ASSERT_SIZEOF(s_Skeleton, 28);
944
+
STATIC_ASSERT_SIZEOF(s_Skeleton, 0x54C);
953
945
954
946
typedefstruct
955
947
{
@@ -1055,8 +1047,9 @@ typedef struct
1055
1047
s32queueIdx_4;
1056
1048
s_LmHeader*lmHdr_8;
1057
1049
s_FsImageDesctexture_C;
1058
-
s_Skeletonfield_14; // Could be different struct?
1059
-
} s_800BCE18_0_CC; // Unknown size.
1050
+
s_Skeletonskeleton_14; // Could be different struct?
1051
+
} s_SkeletonStuff; // Unknown size.
1052
+
STATIC_ASSERT_SIZEOF(s_SkeletonStuff, 0x560);
1060
1053
1061
1054
typedefstruct_MapType
1062
1055
{
@@ -1074,14 +1067,11 @@ typedef struct
1074
1067
s8field_4;
1075
1068
u8unk_5[3];
1076
1069
VECTOR3field_8; // Position.
1077
-
s32field_14; // Used frequently as `s_LmHeader*`, but code adds file lengths to it. Could just be `u8*` pointing to current file data?
1078
-
s_800BCE18_0_CC*field_18[Chara_Count]; // Per-character data? So far only seen accessed by `map4_s03::800D59EC` which calls `func_8003BE50(Chara_Twinfeeler)`.
1079
-
s_800BCE18_0_CCfield_CC;
1080
-
u8unk_D0[368];
1081
-
s32field_26C;
1082
-
u8unk_270[752];
1070
+
s32dataPtr_14; // Used frequently as `s_LmHeader*`, but code adds file lengths to it. Could just be `u8*` pointing to current file data?
0 commit comments