Port some of hsfload.c

This commit is contained in:
dbalatoni13 2025-04-10 01:09:20 +02:00
parent 909c743527
commit f31f250258
6 changed files with 1118 additions and 228 deletions

View file

@ -227,9 +227,8 @@ typedef struct hsf_cluster {
s32 target;
};
HsfPart *part;
float unk10;
float unk14[1]; // unknown array size
u8 unk18[124];
float index;
float weight[32]; // unknown array size
u8 adjusted;
u8 unk95;
u16 type;
@ -261,7 +260,7 @@ typedef struct hsf_object_data {
} mesh;
struct hsf_object *replica;
};
HsfBuffer *face;
HsfBuffer *vertex;
HsfBuffer *normal;
@ -397,6 +396,9 @@ typedef struct hsf_data {
HsfObject *object;
HsfMapAttr *mapAttr;
HsfMatrix *matrix;
#ifdef TARGET_PC
void **symbol;
#endif
s16 sceneCnt;
s16 attributeCnt;
s16 materialCnt;