Attempt to decompile handRenderHud

This commit is contained in:
Ryan Dwyer
2021-04-14 17:44:32 +10:00
parent b77e3167ba
commit 125046899e
7 changed files with 458 additions and 57 deletions
+4 -4
View File
@@ -162,12 +162,12 @@ u32 weaponGetAmmoType(u32 weaponnum, u32 func);
s32 currentPlayerGetAmmoQuantityForWeapon(u32 weaponnum, u32 func);
void currentPlayerGiveAmmoForWeapon(u32 weaponnum, u32 func, u32 quantity);
s32 weaponGetAmmoCapacity(s32 weaponnum, s32 func);
u32 func0f0a9b68(void);
u32 func0f0a9d2c(void);
Gfx *handRenderHudString(Gfx *gdl, char *text, s32 arg2, s32 arg3, s32 arg4, s32 arg5, u32 colour);
Gfx *handRenderHudInteger(Gfx *gdl, s32 value, s32 x, bool leftalign, s32 y, s32 arg5, u32 colour);
void abmagReset(struct abmag *abmag);
u32 func0f0a9da8(void);
u32 func0f0a9fc0(void);
Gfx *hudRenderAmmo(Gfx *gdl);
Gfx *handRenderHudGauge(Gfx *gdl, s32 x1, s32 y1, s32 x2, s32 y2, struct abmag *abmag, s32 remaining, s32 capacity, u32 vacantcolour, u32 occupiedcolour, bool flip);
Gfx *handRenderHud(Gfx *gdl);
void cboostAdd(s32 arg0);
void cboostSubtract(s32 arg0);
void cboostBoost(void);
+1 -1
View File
@@ -26,7 +26,7 @@ void func0f153c88(void);
void func0f153ce8(s32 x1, s32 x2, u32 arg2);
void func0f153d24(void);
void func0f153d3c(void);
void func0f153d50(u32 arg0, u32 arg1, u32 arg2);
void func0f153d50(s32 arg0, s32 arg1, s32 arg2);
void func0f153d88(f32 arg0);
void func0f153e38(u32 colour1, u32 colour2);
void func0f153e4c(void);
+3 -3
View File
@@ -188,7 +188,7 @@ struct g_vars {
/*000450*/ s32 pendingantiplayernum;
/*000454*/ s32 coopfriendlyfire;
/*000458*/ u32 modifiedfiles;
/*00045c*/ s32 speedpilltime;
/*00045c*/ s32 speedpilltime; // in time60
/*000460*/ s32 speedpillchange;
/*000464*/ u32 speedpillwant;
/*000468*/ bool speedpillon;
@@ -2500,11 +2500,11 @@ struct gunctrl {
/*0x15e6*/ u8 action;
/*0x15e7*/ u8 fnfader;
/*0x15e8*/ u8 upgradewant;
/*0x15e9*/ u8 lastmag;
/*0x15e9*/ s8 lastmag;
/*0x15ea*/ u8 gunmemowner;
/*0x15eb*/ s8 gunlocktimer;
/*0x15ec*/ u16 curfnstr;
/*0x15ee*/ s8 fnstrtimer;
/*0x15ee*/ u8 fnstrtimer;
/*0x15ef*/ u8 guntypetimer;
/*0x15f0*/ u8 guntypefader;
/*0x15f2*/ u16 curgunstr;