mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-14 14:07:56 -04:00
Decompile chopperIncrementBarrel
This commit is contained in:
@@ -2138,7 +2138,7 @@
|
||||
#define MODELPART_CHOPPER_0000 0x0000 // position
|
||||
#define MODELPART_CHOPPER_0001 0x0001 // position
|
||||
#define MODELPART_CHOPPER_0002 0x0002 // position
|
||||
#define MODELPART_CHOPPER_0003 0x0003 // gunfire
|
||||
#define MODELPART_CHOPPER_GUNFLASH 0x0003 // gunfire
|
||||
#define MODELPART_CHOPPER_0005 0x0005 // toggle
|
||||
#define MODELPART_CHRGUN_GUNFIRE 0x0000 // gunfire
|
||||
#define MODELPART_CHRGUN_0001 0x0001 // positionheld
|
||||
@@ -4233,7 +4233,7 @@ enum weaponnum {
|
||||
/*0x56*/ WEAPON_BOLT,
|
||||
/*0x57*/ WEAPON_BRIEFCASE2,
|
||||
/*0x58*/ WEAPON_SKROCKET,
|
||||
/*0x59*/ WEAPON_59,
|
||||
/*0x59*/ WEAPON_CHOPPERGUN,
|
||||
/*0x5a*/ WEAPON_WATCHLASER,
|
||||
/*0x5b*/ WEAPON_MPSHIELD,
|
||||
/*0x5c*/ WEAPON_DISABLED,
|
||||
|
||||
@@ -185,7 +185,7 @@ f32 chopperGetTimer(struct chopperobj *heli);
|
||||
void chopperSetMaxDamage(struct chopperobj *obj, u16 health);
|
||||
f32 func0f07b164(struct coord *pos1, struct coord *pos2, struct coord *pos3, struct coord *pos4);
|
||||
void chopperFireRocket(struct chopperobj *chopper, bool side);
|
||||
void func0f07b3f0(struct prop *prop, bool firing);
|
||||
void chopperIncrementBarrel(struct prop *prop, bool firing);
|
||||
void chopperIncrementMovement(struct prop *prop, f32 goalroty, f32 goalrotx, struct coord *dir, bool firing);
|
||||
void chopperTickFall(struct prop *chopper);
|
||||
void chopperTickIdle(struct prop *chopper);
|
||||
|
||||
+2
-2
@@ -2052,8 +2052,8 @@ struct chopperobj { // objtype 0x39
|
||||
/*0xbc*/ bool targetvisible;
|
||||
/*0xc0*/ s32 timer60;
|
||||
/*0xc4*/ s32 patroltimer60;
|
||||
/*0xc8*/ u32 gunturnyspeed60;
|
||||
/*0xcc*/ u32 gunturnxspeed60;
|
||||
/*0xc8*/ f32 gunturnyspeed60;
|
||||
/*0xcc*/ f32 gunturnxspeed60;
|
||||
/*0xd0*/ f32 gunroty;
|
||||
/*0xd4*/ f32 gunrotx;
|
||||
/*0xd8*/ f32 barrelrotspeed;
|
||||
|
||||
Reference in New Issue
Block a user