Decompile menuRenderItemLabel

This commit is contained in:
Ryan Dwyer
2020-09-24 00:17:49 +10:00
parent 3d1e69d318
commit 98c4695e2c
6 changed files with 211 additions and 492 deletions
+1
View File
@@ -247,6 +247,7 @@ extern u32 var8007fb34;
extern u32 var8007fb38;
extern u32 var8007fb3c;
extern u32 var8007fb5c;
extern u32 var8007fb9c;
extern u32 var8007fbac;
extern u32 var8007fbb0;
extern u32 var8007fbb4;
+1 -1
View File
@@ -21,7 +21,7 @@ Gfx *menuRenderItemSeparator(Gfx *gdl, struct menurenderthing *thing);
Gfx *menuRenderObjective(Gfx *gfx, struct menurenderthing10 *thing10, s32 index, s32 position, s32 x, s32 y, s32 width, s32 height, s32 arg8, s32 arg9);
Gfx *menuRenderItemObjectives(Gfx *gdl, struct menurenderthing *thing);
Gfx *menuRenderItemModel(Gfx *gdl, struct menurenderthing *thing);
Gfx *menuRenderItemLabel(Gfx *gdl);
Gfx *menuRenderItemLabel(Gfx *gdl, struct menurenderthing *thing);
Gfx *menuRenderItemMeter(Gfx *gdl, struct menurenderthing *thing);
Gfx *menuRenderItemSelectable(Gfx *gdl, struct menurenderthing *thing);
u32 func0f0eb46c(void);
+3 -3
View File
@@ -13,9 +13,9 @@ bool currentPlayerIsMenuOpenInSoloOrMp(void);
bool func0f0f0c68(void);
void func0f0f0ca0(s32 value, bool allplayers);
u32 func0f0f0ce8(void);
struct menudfc *func0f0f1338(u32 arg0);
void func0f0f139c(s32 arg0, f32 arg1);
void func0f0f13ec(s32 arg0);
struct menudfc *func0f0f1338(struct menuitem *item);
void func0f0f139c(struct menuitem *item, f32 arg1);
void func0f0f13ec(struct menuitem *item);
void func0f0f1418(void);
void func0f0f1494(void);
char *menuResolveText(u32 thing, struct menuitem *item);
+7 -2
View File
@@ -3326,7 +3326,11 @@ struct menuitem {
u32 param1;
u32 param2;
u32 param3;
s32 (*handler)(u32 operation, struct menuitem *item, union handlerdata *data);
union {
s32 (*handler)(u32 operation, struct menuitem *item, union handlerdata *data);
void (*handlervoid)(u32 operation, struct menuitem *item, union handlerdata *data);
};
};
struct menudialog {
@@ -3561,7 +3565,7 @@ struct menuframe {
};
struct menudfc {
u32 unk00;
struct menuitem *item;
f32 unk04;
};
@@ -6799,6 +6803,7 @@ struct menurenderthing10 {
/*0x3c*/ u8 type2; // used when transitioning
/*0x40*/ f32 transitiontimer; // >= 0 means transitioning from one dialog type to another
/*0x44*/ u32 colourweight;
/*0x48*/ f32 unk48;
};
struct menurenderthing14_controller {