mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-15 22:19:51 -04:00
Decompile menuRenderItemLabel
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user