Decompile modelRenderNodeGundl

This commit is contained in:
Ryan Dwyer
2021-04-29 18:33:00 +10:00
parent 1554d08078
commit 1c5cbb234e
7 changed files with 75 additions and 159 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ extern u32 var8005efb4;
extern f32 var8005efb8;
extern bool var8005efbc;
extern u32 var8005efc0;
extern void *var8005efc4;
extern bool (*var8005efc4)(struct model *model, struct modelnode *node);
extern void *var8005efc8;
extern void *var8005efcc;
extern u32 var8005efd0;
+1 -1
View File
@@ -32,7 +32,7 @@ void chrSetHudpieceVisible(struct chrdata *chr, bool visible);
void chrDropWeapons(struct chrdata *chr);
void func0f0246e4(u8 *arg0);
bool func0f024738(struct chrdata *chr);
u32 func0f024b18(void);
bool func0f024b18(struct model *model, struct modelnode *node);
void chrRenderAttachedObject(struct prop *prop, struct modelrenderdata *renderdata, bool withalpha, struct chrdata *chr);
void bodyGetBloodColour(s16 bodynum, u8 *colour1, u32 *colour2);
Gfx *chrRender(struct prop *prop, Gfx *gdl, bool withalpha);
+5 -5
View File
@@ -79,11 +79,11 @@ bool func0001e2a8(void);
u32 func0001e2b4(void);
void func0001ee18(struct model *model, s32 lvupdate240, bool arg2);
u32 func0001f314(void);
u32 func0001f7e0(void);
u32 func0001f890(void);
u32 func00020248(void);
u32 func00020bdc(void);
u32 func00020c90(void);
void func0001f7e0(struct modelrenderdata *renderdata);
void func0001f890(struct modelrenderdata *renderdata, bool arg1);
void func00020248(struct modelrenderdata *renderdata, bool arg1);
void func00020bdc(struct modelrenderdata *renderdata);
void func00020c90(struct modelrenderdata *renderdata);
void modelRenderNodeGundl(struct modelrenderdata *renderdata, struct model *model, struct modelnode *node);
void modelRenderNodeDl(struct modelrenderdata *renderdata, struct model *model, struct modelnode *node);
void modelRenderNodeType16(struct modelrenderdata *renderdata, struct modelnode *node);
+11 -1
View File
@@ -527,6 +527,15 @@ struct modelrodata_position { // type 0x02
f32 drawdist;
};
struct modelrodata_gundl { // type 0x04
Gfx *unk00;
Gfx *unk04;
void *unk08;
u32 unk0c;
u16 unk10;
s16 unk12;
};
struct modelrodata_distance { // type 0x08
f32 near;
f32 far;
@@ -616,6 +625,7 @@ struct modelrodata_dl { // type 0x18
union modelrodata {
struct modelrodata_chrinfo chrinfo;
struct modelrodata_position position;
struct modelrodata_gundl gundl;
struct modelrodata_distance distance;
struct modelrodata_reorder reorder;
struct modelrodata_bbox bbox;
@@ -6018,7 +6028,7 @@ struct objticksp476 {
struct modelrenderdata {
/*0x00*/ u32 unk00;
/*0x04*/ s32 unk04;
/*0x08*/ u32 unk08;
/*0x08*/ u32 flags;
/*0x0c*/ Gfx *gdl;
/*0x10*/ u32 unk10;
/*0x14*/ u32 unk14;