Decompile bgunUpdateSlide

This commit is contained in:
Ryan Dwyer
2022-04-02 10:02:48 +10:00
parent c39fac2f09
commit 49a49987ae
4 changed files with 54 additions and 115 deletions
+2 -2
View File
@@ -110,8 +110,8 @@ u16 bgunGetNameId(s32 weaponnum);
char *bgunGetShortName(s32 arg0);
void bgunReloadIfPossible(s32 handnum);
void bgunSetAdjustPos(f32 angle);
void bgunResetSlideInc(s32 handnum);
void bgun0f0a233c(s32 handnum);
void bgunStartSlide(s32 handnum);
void bgunUpdateSlide(s32 handnum);
f32 bgun0f0a2498(f32 arg0, f32 arg1, f32 arg2, f32 arg3);
void bgun0f0a24f0(struct coord *arg0, s32 handnum);
bool bgun0f0a27c8(void);
+3 -3
View File
@@ -2287,8 +2287,8 @@ struct hand {
/*0x0814*/ struct beam beam;
/*0x0840*/ f32 noiseradius;
/*0x0844*/ u32 fingerroty;
/*0x0848*/ f32 slidetrans;
/*0x084c*/ u32 slideinc;
/*0x0848*/ f32 slidetrans; // 0 at rest, positive when back (struct weaponfunc_shoot.slidemax)
/*0x084c*/ bool slideinc; // true when moving back, false when moving forward or not moving
/*0x0850*/ struct weaponobj *rocket;
/*0x0854*/ bool firedrocket;
/*0x0858*/ s32 loadedammo[2];
@@ -3063,7 +3063,7 @@ struct weaponfunc_shoot {
/*0x28*/ f32 recoil;
/*0x2c*/ f32 unk2c;
/*0x30*/ f32 unk30;
/*0x30*/ f32 slidemax;
/*0x34*/ f32 strength;
/*0x38*/ u8 unk38;
/*0x3a*/ u16 shootsound;