mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-27 22:59:11 -04:00
Attempt to decompile menuRenderBanner
This commit is contained in:
@@ -1423,6 +1423,18 @@
|
||||
#define MEMPOOL_7 7
|
||||
#define MEMPOOL_8 8
|
||||
|
||||
#define MENUBANNER_SEARCHINGFORCAMERA 0
|
||||
#define MENUBANNER_CALIBRATINGCAMERA 1
|
||||
#define MENUBANNER_DOWNLOADINGIMAGE 2
|
||||
#define MENUBANNER_LOADINGIMAGE 3
|
||||
#define MENUBANNER_SAVINGIMAGE 4
|
||||
#define MENUBANNER_TRANSFERRINGIMAGE 5
|
||||
#define MENUBANNER_UPLOADINGSEGMENT 6
|
||||
#define MENUBANNER_CHECKINGPAK 7
|
||||
#define MENUBANNER_GETTINGPERFECTHEAD 8
|
||||
#define MENUBANNER_SAVINGPERFECTHEAD 9
|
||||
#define MENUBANNER_AUTOADJUST 10
|
||||
|
||||
#define MENUBG_BLUR 1
|
||||
#define MENUBG_BLACK 2 // solid black, unused?
|
||||
#define MENUBG_FAILURE 3 // solo mission failure endscreen
|
||||
|
||||
@@ -12,12 +12,12 @@ void menuPlaySound(s32 menusound);
|
||||
bool menuIsSoloMissionOrMp(void);
|
||||
bool currentPlayerIsMenuOpenInSoloOrMp(void);
|
||||
bool func0f0f0c68(void);
|
||||
void func0f0f0ca0(s32 value, bool allplayers);
|
||||
void menuSetBanner(s32 bannernum, bool allplayers);
|
||||
|
||||
#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);
|
||||
Gfx *menuRenderBanner(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, bool big, s32 msgnum, s32 arg7, s32 arg8);
|
||||
#else
|
||||
Gfx *menuRenderBannerMessages(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, bool arg5, s32 arg6);
|
||||
Gfx *menuRenderBanner(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, bool big, s32 msgnum);
|
||||
#endif
|
||||
|
||||
struct menudfc *func0f0f1338(struct menuitem *item);
|
||||
|
||||
+2
-2
@@ -4343,7 +4343,7 @@ struct menu {
|
||||
/*0xdf0*/ u8 unkdf0;
|
||||
/*0xdf1*/ u8 unkdf1 : 1;
|
||||
/*0xdf4*/ struct modelpartvisibility *partvisibility;
|
||||
/*0xdf8*/ s8 unkdf8;
|
||||
/*0xdf8*/ s8 bannernum;
|
||||
/*0xdfc*/ struct menudfc unkdfc[4];
|
||||
|
||||
union {
|
||||
@@ -5149,7 +5149,7 @@ struct menudata {
|
||||
/*0x015*/ u8 nextbg;
|
||||
/*0x016*/ u8 unk016;
|
||||
/*0x017*/ u8 playerjoinalpha[4];
|
||||
/*0x01b*/ s8 unk01b;
|
||||
/*0x01b*/ s8 bannernum;
|
||||
/*0x01c*/ u8 unk01c;
|
||||
/*0x020*/ u32 unk020;
|
||||
/*0x024*/ u32 unk024;
|
||||
|
||||
Reference in New Issue
Block a user