Decompile weaponHasFlag

This commit is contained in:
Ryan Dwyer
2019-11-25 19:49:53 +10:00
parent 4f6e44c7e0
commit 5a3fd51dae
13 changed files with 96 additions and 108 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ u32 func0f0b131c(void);
u32 func0f0b14d8(void);
u32 func0f0b1588(void);
u32 func0f0b16a4(void);
u32 func0f0b17c0(void);
bool weaponHasFlag(s32 itemid, u32 flag);
u32 func0f0b1804(void);
u32 func0f0b184c(void);
u32 func0f0b18bc(u32 arg0);
+23 -23
View File
@@ -825,29 +825,29 @@ struct inventory_ammo {
};
struct inventory_item {
u16 lo_model;
u16 hi_model;
u32 *equip_animation;
u32 *unequip_animation;
u32 *pritosec_animation;
u32 *sectopri_animation;
struct inventory_function *pri_function;
struct inventory_function *sec_function;
struct inventory_ammo *pri_ammo;
struct inventory_ammo *sec_ammo;
struct inventory_typee *eptr;
float sway;
float leftright;
float updown;
float frontback;
float unk38;
struct inventory_typef *fptr;
s8 *gptr;
u16 shortname;
u16 name;
u16 manufacturer;
u16 description;
u32 flags;
/*0x00*/ u16 lo_model;
/*0x02*/ u16 hi_model;
/*0x04*/ u32 *equip_animation;
/*0x08*/ u32 *unequip_animation;
/*0x0c*/ u32 *pritosec_animation;
/*0x10*/ u32 *sectopri_animation;
/*0x14*/ struct inventory_function *pri_function;
/*0x18*/ struct inventory_function *sec_function;
/*0x1c*/ struct inventory_ammo *pri_ammo;
/*0x20*/ struct inventory_ammo *sec_ammo;
/*0x24*/ struct inventory_typee *eptr;
/*0x28*/ float sway;
/*0x2c*/ float leftright;
/*0x30*/ float updown;
/*0x34*/ float frontback;
/*0x38*/ float unk38;
/*0x3c*/ struct inventory_typef *fptr;
/*0x40*/ s8 *gptr;
/*0x44*/ u16 shortname;
/*0x46*/ u16 name;
/*0x48*/ u16 manufacturer;
/*0x4a*/ u16 description;
/*0x4c*/ u32 flags;
};
struct cutsceneentry {