mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-09-13 04:25:18 -04:00
Decompile menuRender
This commit is contained in:
@@ -38,7 +38,7 @@ void currentPlayerTickChrFade(void);
|
||||
void currentPlayerDisplayHealth(void);
|
||||
void currentPlayerTickDamageAndHealth(void);
|
||||
void currentPlayerDisplayDamage(void);
|
||||
Gfx *hudRenderHealthBar(Gfx *gdl);
|
||||
Gfx *playerRenderHealthBar(Gfx *gdl);
|
||||
void currentPlayerSurroundWithExplosions(s32 arg0);
|
||||
void currentPlayerTickExplode(void);
|
||||
void viResetLoResIf4Mb(void);
|
||||
|
||||
@@ -13,7 +13,13 @@ bool menuIsSoloMissionOrMp(void);
|
||||
bool currentPlayerIsMenuOpenInSoloOrMp(void);
|
||||
bool func0f0f0c68(void);
|
||||
void func0f0f0ca0(s32 value, bool allplayers);
|
||||
u32 func0f0f0ce8(void);
|
||||
|
||||
#if VERSION >= VERSION_NTSC_1_0
|
||||
Gfx *menuRenderBannerMessages(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, bool arg5, s32 arg6, s32 arg7, s32 arg8);
|
||||
#else
|
||||
Gfx *menuRenderBannerMessages(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, bool arg5, s32 arg6);
|
||||
#endif
|
||||
|
||||
struct menudfc *func0f0f1338(struct menuitem *item);
|
||||
void func0f0f139c(struct menuitem *item, f32 arg1);
|
||||
void func0f0f13ec(struct menuitem *item);
|
||||
@@ -52,7 +58,7 @@ void menuPopDialog(void);
|
||||
void func0f0f3704(struct menudialogdef *dialogdef);
|
||||
void func0f0f372c(u8 *arg0, f32 x, f32 y, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, s32 arg8);
|
||||
void func0f0f37a4(u8 *arg0);
|
||||
Gfx *func0f0f38b0(Gfx *gdl, u8 *arg1, u32 arg2);
|
||||
Gfx *menuRenderHudPiece(Gfx *gdl, u8 *arg1, u32 arg2);
|
||||
u32 func0f0f5004(void);
|
||||
Gfx *menuApplyScissor(Gfx *gdl);
|
||||
u32 func0f0f5360(void);
|
||||
@@ -68,7 +74,7 @@ void func0f0f8300(void);
|
||||
void menuPushRootDialog(struct menudialogdef *dialogdef, s32 arg1);
|
||||
void func0f0f85e0(struct menudialogdef *dialogdef, s32 root);
|
||||
u32 func0f0f8634(void);
|
||||
u32 func0f0f86a8(void);
|
||||
Gfx *menuRenderDialogs(Gfx *gdl);
|
||||
void func0f0f8bb4(u8 *arg0, u32 arg1, u32 arg2);
|
||||
void menuInit(void);
|
||||
u32 func0f0f9030(void);
|
||||
@@ -76,9 +82,9 @@ u32 func0f0f935c(void);
|
||||
void dialogInitItems(struct menudialog *dialog);
|
||||
void func0f0fa6ac(void);
|
||||
void menuDialogTick(void);
|
||||
u32 func0f0fb488(void);
|
||||
Gfx *func0f0fbba0(Gfx *gdl, u8 param_2, s32 arg2);
|
||||
Gfx *func0f0fbc30(Gfx *gdl);
|
||||
Gfx *menuRenderBackgroundLayer1(Gfx *gdl, u8 bg, f32 frac);
|
||||
Gfx *menuRenderBackgroundLayer2(Gfx *gdl, u8 bg, f32 frac);
|
||||
Gfx *menuRender(Gfx *gdl);
|
||||
u32 menuChooseMusic(void);
|
||||
u32 menuGetRoot(void);
|
||||
void func0f0fce8c(struct menudialogdef *dialogdef, s32 playernum, s32 arg2);
|
||||
|
||||
@@ -17,7 +17,7 @@ Gfx *func0f153858(Gfx *gdl, s32 *x1, s32 *y1, s32 *x2, s32 *y2);
|
||||
Gfx *func0f1538e4(Gfx *gdl, s32 *x1, s32 *y1, s32 *x2, s32 *y2);
|
||||
Gfx *func0f153990(Gfx *gdl, s32 left, s32 top, s32 width, s32 height);
|
||||
Gfx *func0f153a34(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, u32 colour);
|
||||
u32 func0f153ab0(void);
|
||||
Gfx *func0f153ab0(Gfx *gdl);
|
||||
void func0f153b40(void);
|
||||
void func0f153b6c(s32 arg0);
|
||||
void func0f153c20(s32 x, s32 y, f32 arg2, u8 arg3);
|
||||
|
||||
+5
-4
@@ -5148,7 +5148,7 @@ struct menudata {
|
||||
/*0x014*/ u8 bg;
|
||||
/*0x015*/ u8 nextbg;
|
||||
/*0x016*/ u8 unk016;
|
||||
/*0x017*/ u8 unk017[4];
|
||||
/*0x017*/ u8 playerjoinalpha[4];
|
||||
/*0x01b*/ s8 unk01b;
|
||||
/*0x01c*/ u8 unk01c;
|
||||
/*0x020*/ u32 unk020;
|
||||
@@ -5173,7 +5173,8 @@ struct menudata {
|
||||
/*0x06c*/ u32 unk06c;
|
||||
/*0x070*/ u32 unk070;
|
||||
/*0x074*/ u32 unk074;
|
||||
/*0x078*/ u32 unk078;
|
||||
/*0x078*/ u16 unk078;
|
||||
/*0x07a*/ s16 unk07a;
|
||||
/*0x07c*/ u32 unk07c;
|
||||
/*0x080*/ u32 unk080;
|
||||
/*0x084*/ u32 unk084;
|
||||
@@ -5484,8 +5485,8 @@ struct menudata {
|
||||
/*0x548*/ u32 unk548;
|
||||
/*0x54c*/ u32 unk54c;
|
||||
/*0x550*/ u32 unk550;
|
||||
/*0x554*/ f32 unk554;
|
||||
/*0x558*/ f32 unk558;
|
||||
/*0x554*/ f32 hudpiecex; // screen coords of the base of the stem - usually off-screen
|
||||
/*0x558*/ f32 hudpiecey;
|
||||
/*0x55c*/ f32 unk55c;
|
||||
/*0x560*/ f32 unk560;
|
||||
/*0x564*/ f32 unk564;
|
||||
|
||||
Reference in New Issue
Block a user