mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 23:37:33 -04:00
Decompile laptopDeploy
This commit is contained in:
+1
-1
@@ -254,7 +254,7 @@ extern f32 g_AmmoMultiplier;
|
||||
extern struct padeffectobj *var80069960;
|
||||
extern s32 var80069964;
|
||||
extern struct autogunobj *g_ThrownLaptops;
|
||||
extern struct var8006996c *var8006996c;
|
||||
extern struct beam *g_ThrownLaptopBeams;
|
||||
extern s32 g_MaxThrownLaptops;
|
||||
extern struct prop *g_Lifts[MAX_LIFTS];
|
||||
extern u32 g_TvCmdlist00[];
|
||||
|
||||
@@ -71,7 +71,7 @@ bool func0f09eae4(void);
|
||||
s32 func0f09ebbc(void);
|
||||
void func0f09ebcc(struct defaultobj *obj, struct coord *coord, s16 *rooms, Mtxf *matrix1, f32 *arg4, Mtxf *matrix2, struct prop *prop, struct coord *pos);
|
||||
void func0f09ed2c(struct defaultobj *obj, struct coord *coord, Mtxf *arg2, f32 *arg3, Mtxf *arg4);
|
||||
struct weaponobj *func0f09ee18(struct chrdata *chr, struct gset *gset, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);
|
||||
struct defaultobj *func0f09ee18(struct chrdata *chr, struct gset *gset, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);
|
||||
void handCreateThrownProjectile(s32 handnum, struct gset *gset);
|
||||
void func0f09f848(s32 handnum);
|
||||
void func0f09f974(s32 handnum, struct weaponfunc_shootprojectile *func);
|
||||
@@ -160,7 +160,7 @@ bool ammotypeAllowsUnlimitedAmmo(u32 ammotype);
|
||||
void currentPlayerGiveUnlimitedAmmo(bool force);
|
||||
u32 weaponGetAmmoType(u32 weaponnum, u32 func);
|
||||
s32 currentPlayerGetAmmoQuantityForWeapon(u32 weaponnum, u32 func);
|
||||
void currentPlayerGiveAmmoForWeapon(u32 weaponnum, u32 func, u32 quantity);
|
||||
void currentPlayerSetAmmoQtyForWeapon(u32 weaponnum, u32 func, u32 quantity);
|
||||
s32 weaponGetAmmoCapacity(s32 weaponnum, s32 func);
|
||||
Gfx *handRenderHudString(Gfx *gdl, char *text, s32 x, bool halign, s32 y, s32 valign, u32 colour);
|
||||
Gfx *handRenderHudInteger(Gfx *gdl, s32 value, s32 x, bool halign, s32 y, s32 valign, u32 colour);
|
||||
|
||||
@@ -14,7 +14,7 @@ extern f32 var8006994c;
|
||||
extern f32 var80069950;
|
||||
extern f32 var80069954;
|
||||
extern f32 var80069958;
|
||||
extern struct var8006996c *var8006996c;
|
||||
extern struct beam *g_ThrownLaptopBeams;
|
||||
|
||||
void alarmActivate(void);
|
||||
void alarmDeactivate(void);
|
||||
@@ -285,7 +285,7 @@ u32 func0f08ae54(struct defaultobj *obj, struct chrdata *chr);
|
||||
struct prop *func0f08b108(struct weaponobj *weapon, struct chrdata *chr, struct modelfiledata *modelfiledata, struct prop *prop, struct model *model);
|
||||
void func0f08b208(struct weaponobj *weapon, struct chrdata *chr);
|
||||
void func0f08b25c(struct weaponobj *weapon, struct chrdata *chr);
|
||||
struct weaponobj *func0f08b27c(s32 modelnum, struct gset *gset, struct chrdata *chr);
|
||||
struct autogunobj *laptopDeploy(s32 modelnum, struct gset *gset, struct chrdata *chr);
|
||||
struct weaponobj *func0f08b658(s32 modelnum, struct gset *gset, struct chrdata *chr);
|
||||
struct weaponobj *func0f08b880(s32 modelnum, s32 weaponnum, struct chrdata *chr);
|
||||
void chrSetObjHiddenFlag4OnWeapon(struct chrdata *chr, s32 hand);
|
||||
|
||||
+1
-14
@@ -1770,6 +1770,7 @@ struct autogunobj { // objtype 0x0d
|
||||
/*0xa4*/ u32 unka4;
|
||||
/*0xa8*/ u8 targetteam;
|
||||
/*0xa9*/ u8 ammoquantity;
|
||||
/*0xaa*/ u16 nextchrtest;
|
||||
};
|
||||
|
||||
struct linkgunsobj { // objtype 0x0e
|
||||
@@ -6785,20 +6786,6 @@ struct var8009ce60 {
|
||||
/*0x5c*/ u32 unk5c;
|
||||
};
|
||||
|
||||
struct var8006996c {
|
||||
/*0x00*/ u32 unk00;
|
||||
/*0x04*/ u32 unk04;
|
||||
/*0x08*/ u32 unk08;
|
||||
/*0x0c*/ u32 unk0c;
|
||||
/*0x10*/ u32 unk10;
|
||||
/*0x14*/ u32 unk14;
|
||||
/*0x18*/ u32 unk18;
|
||||
/*0x1c*/ u32 unk1c;
|
||||
/*0x20*/ u32 unk20;
|
||||
/*0x24*/ u32 unk24;
|
||||
/*0x28*/ u32 unk28;
|
||||
};
|
||||
|
||||
struct nbomb {
|
||||
struct coord pos;
|
||||
s32 age240;
|
||||
|
||||
Reference in New Issue
Block a user