labeled "freelist" structure fla.c, labeled model animated textures and games animated texture cache
This commit is contained in:
@@ -36,9 +36,9 @@ typedef struct {
|
||||
s16 minCoord[3];
|
||||
s16 maxCoord[3];
|
||||
s16 centerCoord[3];
|
||||
s16 unk12;
|
||||
s16 local_norm; //(distance to furthest vtx relative to model center)
|
||||
s16 count;
|
||||
s16 unk16;
|
||||
s16 global_norm; //(distance to furthest vtx relative to model origin)
|
||||
Vtx vtx_18[];
|
||||
} BKVertexList;
|
||||
|
||||
@@ -167,10 +167,15 @@ typedef struct{
|
||||
//BKModelUnk28_0[]
|
||||
}BKModelUnk28List;
|
||||
|
||||
|
||||
|
||||
typedef struct{
|
||||
u8 pad0[1];
|
||||
//BKModelUnk20_0[]
|
||||
}BKModelUnk2C;
|
||||
s16 frame_size;
|
||||
s16 frame_cnt;
|
||||
f32 frame_rate;
|
||||
}AnimTexture;
|
||||
|
||||
|
||||
|
||||
typedef struct {
|
||||
BKMeshList *meshList_0;
|
||||
@@ -190,10 +195,10 @@ typedef struct{
|
||||
s32 unk20;
|
||||
s32 effects_list_setup_24;
|
||||
s32 unk28;
|
||||
s32 unk2C;
|
||||
s32 animated_texture_list_offset; //AnimTexture[4]
|
||||
}BKModelBin;
|
||||
|
||||
BKVertexList *func_8033A148(BKModelBin *arg0);
|
||||
BKVertexList *model_getVtxList(BKModelBin *arg0);
|
||||
Vtx *vtxList_getVertices(BKVertexList *vtxList);
|
||||
void func_80333D48(BKVertexList *arg0, f32 position[3], f32 rotation[3], f32 scale, f32 arg4[3], BKVertexList *arg5);
|
||||
#endif
|
||||
|
@@ -48,13 +48,13 @@ typedef struct variable_length_array{
|
||||
#define vector(T) struct variable_length_array
|
||||
//^defined to keep element type with vla
|
||||
|
||||
typedef struct static_length_array{
|
||||
typedef struct freelist_s{
|
||||
s16 elem_size;
|
||||
s16 elem_cnt;
|
||||
u8 unk4[];
|
||||
}SLA;
|
||||
}FLA;
|
||||
|
||||
#define array(T) struct static_length_array
|
||||
#define FREE_LIST(T) struct freelist_s
|
||||
//^defined to keep element type with sla
|
||||
|
||||
typedef struct bk_sprite_s{
|
||||
@@ -108,7 +108,7 @@ typedef struct model_cache_s{
|
||||
BKModelBin * modelPtr;
|
||||
BKSprite * unk4;
|
||||
BKSpriteDisplayData *unk8;
|
||||
u32 unkC;
|
||||
u32 animated_texture_cache_id;
|
||||
u32 unk10;
|
||||
} ModelCache;
|
||||
|
||||
@@ -283,7 +283,7 @@ typedef struct struct_11_s{
|
||||
u8 unk14;
|
||||
u8 unk15;
|
||||
u8 pad16[0x2];
|
||||
array(struct12s) *unk18;
|
||||
FREE_LIST(struct12s) *unk18;
|
||||
s32 unk1C[0xE];
|
||||
} CoMusic;
|
||||
|
||||
|
Reference in New Issue
Block a user