Decompile rocketTickFbw

This commit is contained in:
Ryan Dwyer
2022-04-13 23:26:45 +10:00
parent b9f0c86dd2
commit 0d38d52b6c
7 changed files with 235 additions and 1422 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ s32 botactGetWeaponByAmmoType(s32 ammotype);
void botact0f19a37c(struct chrdata *chr);
s32 botactGetShootInterval60(s32 weaponnum, s32 funcnum);
bool botactFindRocketRoute(struct chrdata *chr, struct coord *frompos, struct coord *topos, s16 *fromrooms, s16 *torooms, struct projectile *projectile);
void botactGetRocketSpawnPos(u16 padnum, struct coord *pos);
void botactGetRocketNextStepPos(u16 padnum, struct coord *pos);
void botactCreateSlayerRocket(struct chrdata *chr);
#endif
+1 -1
View File
@@ -155,7 +155,7 @@ void hovercarIncrementStep(struct hovercarobj *hovercar);
f32 objCollide(struct defaultobj *obj, struct coord *arg1, f32 arg2);
void hoverbikeUpdateMovement(struct hoverbikeobj *hoverbike, f32 arg1, f32 arg2, f32 arg3);
void platformDisplaceProps2(struct prop *platform, Mtxf *arg1);
u32 func0f073478(void);
bool rocketTickFbw(struct weaponobj *rocket);
s32 func0f073ae8(struct defaultobj *obj, struct projectile *projectile, struct coord *arg2, struct coord *arg3);
s32 func0f073c6c(struct defaultobj *obj, bool *arg1);
void doorTick(struct prop *doorprop);
+6 -6
View File
@@ -1466,8 +1466,8 @@ struct projectile {
/*0x000*/ u32 flags;
/*0x004*/ struct coord speed; // distance moved in last tick
/*0x010*/ f32 unk010;
/*0x014*/ f32 unk014;
/*0x018*/ f32 unk018;
/*0x014*/ f32 xrot;
/*0x018*/ f32 yrot;
/*0x01c*/ f32 unk01c;
/*0x020*/ Mtxf unk020;
/*0x060*/ f32 unk060;
@@ -1496,8 +1496,8 @@ struct projectile {
/*0x0b8*/ f32 unk0b8;
/*0x0bc*/ f32 unk0bc;
/*0x0c0*/ f32 unk0c0;
/*0x0c4*/ struct coord pos;
/*0x0d0*/ u32 unk0d0;
/*0x0c4*/ struct coord nextsteppos;
/*0x0d0*/ s32 losttimer240;
/*0x0d4*/ struct defaultobj *obj;
/*0x0d8*/ s32 unk0d8;
/*0x0dc*/ f32 unk0dc;
@@ -1506,10 +1506,10 @@ struct projectile {
/*0x0e8*/ struct prop *targetprop; // for homing rockets
/*0x0ec*/ f32 unk0ec;
/*0x0f0*/ f32 unk0f0;
/*0x0f4*/ u32 unk0f4;
/*0x0f4*/ s32 smoketimer240;
/*0x0f8*/ s16 waypads[6];
/*0x104*/ u8 numwaypads;
/*0x105*/ u8 unk105;
/*0x105*/ u8 step;
/*0x108*/ struct prop *unk108;
};