Decompile weaponGetModelNum

This commit is contained in:
Ryan Dwyer
2021-01-02 09:10:13 +10:00
parent 80e3e833fc
commit 8bbe2d99ef
6 changed files with 145 additions and 183 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ bool weaponHasInvEFlag(s32 weaponnum, u32 flag);
u32 func0f0b184c(void);
s32 currentPlayerGetDeviceState(s32 weaponnum);
void currentPlayerSetDeviceActive(s32 weaponum, bool active);
u32 func0f0b1a18(s32 weaponnum);
u16 weaponGetModelNum(s32 weaponnum);
u32 func0f0b1ad0(void);
u32 func0f0b1af0(void);
u32 func0f0b1c24(void);
+2 -2
View File
@@ -3004,8 +3004,8 @@ struct modelpartvisibility {
};
struct weapon {
/*0x00*/ u16 lo_model;
/*0x02*/ u16 hi_model;
/*0x00*/ u16 hi_model;
/*0x02*/ u16 lo_model;
/*0x04*/ u32 *equip_animation;
/*0x08*/ u32 *unequip_animation;
/*0x0c*/ u32 *pritosec_animation;