Decompile currentPlayerSetGunSightVisible

This commit is contained in:
Ryan Dwyer
2020-11-02 00:03:14 +10:00
parent 307687f6a3
commit 0551c0e808
7 changed files with 23 additions and 29 deletions
+4
View File
@@ -735,6 +735,10 @@
#define GOPOSFLAG_DUCK 0x40
#define GOPOSFLAG_80 0x80
#define GUNSIGHTREASON_1 1
#define GUNSIGHTREASON_AIMING 2
#define GUNSIGHTREASON_NOCONTROL 4
#define HANGARBIO_INSTITUTE 0
#define HANGARBIO_DDTOWER 1
#define HANGARBIO_LABBASEMENT 2
+1 -1
View File
@@ -172,7 +172,7 @@ void speedpillRevert(s32 arg0);
void func0f0abba8(void);
void func0f0abbe8(void);
void speedpillTick(void);
void func0f0abc74(u32 arg0, s32 arg1);
void currentPlayerSetGunSightVisible(u32 bits, bool visible);
Gfx *func0f0abcb0(Gfx *gdl);
u32 func0f0abd30(void);
u32 getCurrentPlayerWeaponIdWrapper(u32 arg0);
+1 -1
View File
@@ -2621,7 +2621,7 @@ struct player {
/*0x1798*/ f32 screenyminf;
/*0x179c*/ f32 screenxmaxf;
/*0x17a0*/ f32 screenymaxf;
/*0x17a4*/ s32 gunsightoff;
/*0x17a4*/ u32 gunsightoff;
/*0x17a8*/ s32 ammoheldarr[33]; // ammo quantities not loaded into a gun
/*0x182c*/ u32 unk182c;
/*0x1830*/ u32 unk1830;