Decompile currentPlayerGetGunZoomFov

This commit is contained in:
Ryan Dwyer
2020-05-06 00:00:11 +10:00
parent e2dfe85eeb
commit 1cce73bc39
9 changed files with 48 additions and 77 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ u32 func0f0b11bc(void);
struct inventory_ammo *weaponGetAmmoByFunction(u32 weaponnum, u32 funcnum);
f32 handGetXOffset(u32 arg0);
f32 func0f0b131c(u32 hand);
f32 func0f0b14d8(void);
f32 currentPlayerGetGunZoomFov(void);
u32 func0f0b1588(void);
void currentPlayerUpdateGunZoomFovs(f32 arg0);
bool weaponHasFlag(s32 itemid, u32 flag);
+2 -2
View File
@@ -2071,7 +2071,7 @@ struct player {
/*0x16e8*/ u32 unk16e8;
/*0x16ec*/ u32 unk16ec;
/*0x16f0*/ u32 unk16f0;
/*0x16f4*/ f32 gunzoomfovs[3];
/*0x16f4*/ f32 gunzoomfovs[3]; // saved zoom levels/fovs for sniper, farsight and horizon scanner
/*0x1700*/ u32 lastroomforoffset;
/*0x1704*/ f32 c_screenwidth;
/*0x1708*/ f32 c_screenheight;
@@ -2577,7 +2577,7 @@ struct inventory_menupos {
};
struct inventory_typee {
u32 unk00;
f32 zoomfov;
u32 unk04;
u32 unk08;
u32 unk0c;