Attempt to decompile currentPlayerAutoSwitchWeapon

This commit is contained in:
Ryan Dwyer
2021-04-05 19:39:45 +10:00
parent 2fb55acd61
commit ade9387d43
4 changed files with 214 additions and 31 deletions
+1
View File
@@ -851,6 +851,7 @@
#define FUNCFLAG_00040000 0x00040000
#define FUNCFLAG_00080000 0x00080000
#define FUNCFLAG_00100000 0x00100000
#define GAILIST_IDLE 0x0000
#define GAILIST_UNALERTED_0001 0x0001
+1 -1
View File
@@ -97,7 +97,7 @@ void func0f0a1ab0(void);
void func0f0a1b50(void);
void func0f0a1c2c(void);
bool currentPlayerHasAmmoForWeapon(s32 weaponnum);
void func0f0a1df4(void);
void currentPlayerAutoSwitchWeapon(void);
void currentPlayerEquipWeaponWrapper(bool arg0, s32 weaponnum);
s32 handIsFiring(s32 handnum);
s32 handGetAttackType(s32 handnum);
+1 -1
View File
@@ -2464,7 +2464,7 @@ struct gunctrl {
/*0x1583*/ u8 invertgunfunc : 1;
/*0x1583*/ u8 unk1583_03 : 1;
/*0x1583*/ u8 unk1583_04 : 1;
/*0x1583*/ u8 unk1583_05 : 1;
/*0x1583*/ u8 wantammo : 1;
/*0x1583*/ u8 unk1583_06 : 1;
/*0x1583*/ u8 passivemode : 1;
/*0x1584*/ s32 gunmemnew;