Decompile bgunUpdateGangsta

This commit is contained in:
Ryan Dwyer
2022-04-02 12:10:51 +10:00
parent 67dfeb0e87
commit 3e93b586a2
3 changed files with 101 additions and 715 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ void bgunLoseGun(struct prop *attacker);
void bgun0f0a2da8(u32 arg0);
s32 bgun0f0a2e94(struct model *model, struct modelnode *node, s32 arg2);
void bgunStartDetonateAnimation(s32 playernum);
void bgun0f0a3160(struct hand *hand, s32 handnum, struct coord *arg2, struct weaponfunc *funcdef, Mtxf *arg4, Mtxf *arg5);
void bgunUpdateGangsta(struct hand *hand, s32 handnum, struct coord *arg2, struct weaponfunc *funcdef, Mtxf *arg4, Mtxf *arg5);
void bgun0f0a3490(struct hand *hand, s32 handnum, s32 weaponnum, struct weaponfunc *funcdef);
void bgunUpdateLasersight(struct hand *hand, struct modelfiledata *modeldef, s32 handnum, u8 *allocation);
void bgunUpdateReaper(struct hand *hand, struct modelfiledata *modeldef);
+3 -3
View File
@@ -2374,7 +2374,7 @@ struct hand {
#else
/*0x0cc0*/ u32 animframeincfreal;
#endif
/*0x0cc4*/ u32 animmode;
/*0x0cc4*/ s32 animmode;
/*0x0cc8*/ u8 unk0cc8_01 : 1;
/*0x0cc8*/ u8 unk0cc8_02 : 1;
/*0x0cc8*/ u8 unk0cc8_03 : 1;
@@ -2391,7 +2391,7 @@ struct hand {
/*0x0cec*/ ubool hasdotinfo;
/*0x0cf0*/ struct coord dotpos;
/*0x0cfc*/ struct coord dotrot;
/*0x0d08*/ f32 gangstarot;
/*0x0d08*/ f32 gangstarot; // frac
/*0x0d0c*/ s16 primetimer;
/*0x0d0e*/ u8 unk0d0e_00 : 4;
/*0x0d0e*/ u8 unk0d0e_04 : 3;
@@ -2426,7 +2426,7 @@ struct hand {
/*0x0d6c*/ u32 unk0d6c;
/*0x0d70*/ u32 unk0d70;
/*0x0d74*/ u16 gunroundsspent[4]; // actually a countdown timer
/*0x0d7c*/ u32 ispare1;
/*0x0d7c*/ s32 ispare1;
/*0x0d80*/ struct guncmd *unk0d80;
/*0x0d84*/ struct sndstate *audiohandle;
/*0x0d88*/ u32 ispare4;