mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-30 07:44:34 -04:00
Decompile currentPlayerSetGunSightVisible
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user