Attempt to decompile eyespyProcessInput

This commit is contained in:
Ryan Dwyer
2021-06-21 23:46:20 +10:00
parent ac630cb0c1
commit 4c986d4ee4
8 changed files with 606 additions and 53 deletions
+7
View File
@@ -705,6 +705,13 @@
#define EXPLOSIONTYPE_23 23
#define EXPLOSIONTYPE_25 25
#define EYESPYHIT_NONE 0
#define EYESPYHIT_BG 1
#define EYESPYHIT_CHR 2
#define EYESPYHIT_DOOR 3
#define EYESPYHIT_LASER 4
#define EYESPYHIT_OBJ 5
#define EYESPYMODE_CAMSPY 0
#define EYESPYMODE_DRUGSPY 1
#define EYESPYMODE_BOMBSPY 2
+1 -1
View File
@@ -14,6 +14,6 @@ s32 eyespy0f0cfafc(struct coord *arg0, struct coord *arg1, struct coord *arg2);
s32 eyespy0f0cfdd0(struct coord *vel, struct coord *arg1, struct coord *arg2);
void eyespyUpdateVertical(void);
bool eyespyTryLaunch(void);
void eyespyProcessInput(bool arg0);
void eyespyProcessInput(bool allowbuttons);
#endif
+1 -1
View File
@@ -251,7 +251,7 @@ void ammotypeGetDeterminer(char *dst, s32 ammotype, s32 qty);
void ammotypeGetPickupName(char *dst, s32 ammotype, s32 qty);
void ammotypePlayPickupSound(u32 ammotype);
s32 propPlayPickupSound(struct prop *prop, s32 weapon);
void func0f087d10(s32 weaponnum);
void weaponPlayPickupSound(s32 weaponnum);
void ammotypeGetPickupMessage(char *dst, s32 ammotype, s32 qty);
void currentPlayerQueuePickupAmmoHudmsg(s32 ammotype, s32 pickupqty);
void func0f088028(s32 ammotype, s32 quantity, bool arg2, bool showhudmsg);
+1 -1
View File
@@ -1689,7 +1689,7 @@ enum sfx {
SFX_HIT_METALOBJ_8089,
SFX_HIT_METALOBJ_808A,
SFX_808B,
SFX_808C,
SFX_EYESPYHIT,
SFX_THUD_808D,
SFX_THUD_808E,
SFX_THUD_808F,
+1 -1
View File
@@ -2081,7 +2081,7 @@ struct eyespy {
/*0x35*/ u8 initialised;
/*0x36*/ s8 startuptimer60;
/*0x37*/ s8 active;
/*0x38*/ u8 buttonheld;
/*0x38*/ s8 buttonheld;
/*0x39*/ s8 camerabuttonheld;
/*0x3a*/ s16 bobdir;
/*0x3c*/ u8 bobtimer;