Decompile func0f09aba4

This commit is contained in:
Ryan Dwyer
2021-04-08 21:41:25 +10:00
parent 23817a5804
commit e648b050b7
7 changed files with 223 additions and 790 deletions
+2
View File
@@ -981,6 +981,8 @@
#define HANDSTATEFLAG_00000010 0x00000010
#define HANDSTATEFLAG_00000020 0x00000020
#define HANDSTATEFLAG_00000040 0x00000040
#define HANDSTATEFLAG_00000080 0x00000080
#define HANDSTATEMINOR_IDLE 0
#define HANDSTATEMINOR_START 1
+1 -1
View File
@@ -33,7 +33,7 @@ s32 handTickIncReload(struct handweaponinfo *info, s32 handnum, struct hand *han
s32 handTickIncChangeFunc(struct handweaponinfo *info, s32 handnum, struct hand *hand, s32 lvupdate);
s32 func0f09a3f8(struct hand *hand, struct weaponfunc *func);
void func0f09a6f8(struct handweaponinfo *info, s32 handnum, struct hand *hand, struct weaponfunc *func);
bool func0f09aba4(struct hand *hand, struct handweaponinfo *info, s32 handnum, struct weaponfunc *func);
bool func0f09aba4(struct hand *hand, struct handweaponinfo *info, s32 handnum, struct weaponfunc_shoot *func);
bool handTickIncAttackingShoot(struct handweaponinfo *info, s32 handnum, struct hand *hand);
bool handTickIncAttackingThrow(s32 handnum, struct hand *hand);
s32 weaponGetMinClipQty(s32 weaponnum, s32 funcnum);
+1 -1
View File
@@ -13,7 +13,7 @@ struct weaponfunc *currentPlayerGetWeaponFunction(u32 hand);
struct inventory_class *func0f0b11bc(struct shorthand *hand);
struct inventory_ammo *weaponGetAmmoByFunction(u32 weaponnum, u32 funcnum);
f32 handGetXShift(s32 handnum);
f32 func0f0b131c(u32 hand);
f32 func0f0b131c(s32 handnum);
f32 currentPlayerGetGunZoomFov(void);
void currentPlayerZoomOut(f32 fovpersec);
void currentPlayerZoomIn(f32 fovpersec);
+6 -6
View File
@@ -2096,13 +2096,13 @@ struct hand {
/*0x0674*/ u32 pausechange;
/*0x0678*/ u32 nextprevchange; // "
/*0x067c*/ struct coord posstart;
/*0x0688*/ u32 rotxstart;
/*0x0688*/ f32 rotxstart;
/*0x068c*/ struct coord posend;
/*0x0698*/ u32 rotxend;
/*0x0698*/ f32 rotxend;
/*0x069c*/ struct coord posoffset;
/*0x06a8*/ u32 rotxoffset;
/*0x06a8*/ f32 rotxoffset;
/*0x06ac*/ Mtxf posrotmtx;
/*0x06ec*/ u32 useposrot;
/*0x06ec*/ bool useposrot;
/*0x06f0*/ struct coord damppos;
/*0x06fc*/ struct coord damplook;
/*0x0708*/ struct coord dampup;
@@ -2378,7 +2378,7 @@ struct hand {
/*0x0cd4*/ f32 unk0cd4;
/*0x0cd8*/ f32 unk0cd8;
/*0x0cdc*/ u32 unk0cdc;
/*0x0ce0*/ u32 unk0ce0;
/*0x0ce0*/ s32 statevar1;
/*0x0ce4*/ u32 attacktype;
/*0x0ce8*/ struct guncmd *unk0ce8;
/*0x0cec*/ ubool unk0cec;
@@ -3112,7 +3112,7 @@ struct weaponfunc {
struct weaponfunc_shoot {
struct weaponfunc base;
/*0x14*/ struct inventory_menupos *unk14;
/*0x18*/ u32 unk18;
/*0x18*/ s8 unk18;
/*0x1c*/ f32 damage;
/*0x20*/ f32 spread;