mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-04 00:49:17 -04:00
Decompile bgunCreateThrownProjectile
This commit is contained in:
@@ -969,7 +969,7 @@
|
||||
#define FUNCFLAG_AUTOSWITCHUNSELECTABLE 0x00100000
|
||||
#define FUNCFLAG_PSYCHOSIS 0x00200000
|
||||
#define FUNCFLAG_00400000 0x00400000 // punch, disarm and pistol whip
|
||||
#define FUNCFLAG_00800000 0x00800000 // mostly throwables but some projectiles too
|
||||
#define FUNCFLAG_CALCULATETRAJECTORY 0x00800000 // throwables will land on crosshair
|
||||
#define FUNCFLAG_08000000 0x08000000 // rockets
|
||||
#define FUNCFLAG_10000000 0x10000000 // grenade launchers
|
||||
#define FUNCFLAG_20000000 0x20000000 // explosives related
|
||||
@@ -3042,6 +3042,7 @@
|
||||
#define OBJHFLAG_REAPABLE 0x00000004
|
||||
#define OBJHFLAG_ISRETICK 0x00000008
|
||||
#define OBJHFLAG_TAGGED 0x00000010
|
||||
#define OBJHFLAG_00000020 0x00000020 // thrown knife
|
||||
#define OBJHFLAG_00000040 0x00000040
|
||||
#define OBJHFLAG_AIRBORNE 0x00000080
|
||||
#define OBJHFLAG_00000100 0x00000100
|
||||
|
||||
@@ -73,9 +73,9 @@ void bgunTickIncLoad(void);
|
||||
void bgunTickLoad(void);
|
||||
bool bgun0f09eae4(void);
|
||||
struct modelfiledata *bgun0f09ebbc(void);
|
||||
void bgun0f09ebcc(struct defaultobj *obj, struct coord *coord, s16 *rooms, Mtxf *matrix1, struct coord *arg4, Mtxf *matrix2, struct prop *prop, struct coord *pos);
|
||||
void bgun0f09ed2c(struct defaultobj *obj, struct coord *coord, Mtxf *arg2, struct coord *arg3, Mtxf *arg4);
|
||||
struct defaultobj *bgun0f09ee18(struct chrdata *chr, struct gset *gset, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *arg5);
|
||||
void bgun0f09ebcc(struct defaultobj *obj, struct coord *coord, s16 *rooms, Mtxf *matrix1, struct coord *velocity, Mtxf *matrix2, struct prop *prop, struct coord *pos);
|
||||
void bgun0f09ed2c(struct defaultobj *obj, struct coord *coord, Mtxf *arg2, struct coord *velocity, Mtxf *arg4);
|
||||
struct defaultobj *bgunCreateThrownProjectile2(struct chrdata *chr, struct gset *gset, struct coord *pos, s16 *rooms, Mtxf *arg4, struct coord *velocity);
|
||||
void bgunCreateThrownProjectile(s32 handnum, struct gset *gset);
|
||||
void bgunUpdateHeldRocket(s32 handnum);
|
||||
void bgunCreateHeldRocket(s32 handnum, struct weaponfunc_shootprojectile *func);
|
||||
|
||||
@@ -145,7 +145,7 @@ f32 chrGetAimLimitAngle(f32 sqdist);
|
||||
void chrCalculateHit(struct chrdata *chr, bool *angleokptr, bool *hit, struct gset *gset);
|
||||
bool chrGetGunPos(struct chrdata *chr, s32 handnum, struct coord *gunpos);
|
||||
void chrCalculateShieldHit(struct chrdata *chr, struct coord *pos, struct coord *vector, struct modelnode **node, s32 *hitpart, struct model **model, s32 *side);
|
||||
void func0f04031c(struct coord *frompos, f32 arg1, struct coord *aimpos, struct coord *arg3);
|
||||
void chrCalculateTrajectory(struct coord *frompos, f32 arg1, struct coord *aimpos, struct coord *arg3);
|
||||
void chrShoot(struct chrdata *chr, s32 handnum);
|
||||
void func0f041a74(struct chrdata *chr);
|
||||
bool func0f041c44(struct chrdata *chr);
|
||||
|
||||
+1
-1
@@ -2392,7 +2392,7 @@ struct hand {
|
||||
/*0x0cf0*/ struct coord dotpos;
|
||||
/*0x0cfc*/ struct coord dotrot;
|
||||
/*0x0d08*/ f32 gangstarot; // frac
|
||||
/*0x0d0c*/ s16 primetimer;
|
||||
/*0x0d0c*/ s16 primetimer60;
|
||||
/*0x0d0e*/ u8 unk0d0e_00 : 4;
|
||||
/*0x0d0e*/ u8 unk0d0e_04 : 3;
|
||||
/*0x0d0e*/ u8 unk0d0e_07 : 1;
|
||||
|
||||
Reference in New Issue
Block a user