forked from Ports/perfect_dark
Decompile bgunTickEject
This commit is contained in:
1 parent
cd14cbb406
commit
5b0066926a
4 files changed
+93
-2291
No files matched your search
+81
-2288
File diff suppressed because it is too large.
Load diff
@@ -825,6 +825,15 @@
|
||||
// Might be the same flags as PROJECTILEFLAG
|
||||
#define EMBEDMENTFLAG_FREE 0x00000001
|
||||
|
||||
#define EJECTSTATE_INACTIVE 0
|
||||
#define EJECTSTATE_INIT 1
|
||||
#define EJECTSTATE_AIRBORNE 2
|
||||
#define EJECTSTATE_FINISHED 3
|
||||
|
||||
#define EJECTTYPE_GUN 0
|
||||
#define EJECTTYPE_GRENADEPIN 1
|
||||
#define EJECTTYPE_TRANQCASE 2
|
||||
|
||||
#define EXPLOSIONTYPE_NONE 0
|
||||
#define EXPLOSIONTYPE_BULLETHOLE 1
|
||||
#define EXPLOSIONTYPE_EYESPY 2
|
||||
|
||||
@@ -132,7 +132,7 @@ void bgunUpdateLaser(struct hand *hand);
|
||||
void bgunUpdateMagnum(struct hand *hand, s32 handnum, struct modelfiledata *modeldef, Mtxf *mtx);
|
||||
void bgunUpdateRocketLauncher(struct hand *hand, s32 handnum, struct weaponfunc_shootprojectile *func);
|
||||
void bgun0f0a45d0(struct hand *hand, struct modelfiledata *modeldef, bool isdetonator);
|
||||
void bgun0f0a46a4(struct hand *hand, struct modelfiledata *modeldef, bool isdetonator);
|
||||
void bgunTickEject(struct hand *hand, struct modelfiledata *modeldef, bool isdetonator);
|
||||
void bgun0f0a4e44(struct hand *hand, struct weapon *weapondef, struct modelfiledata *modeldef, struct weaponfunc *funcdef, s32 maxburst, u8 *allocation, s32 weaponnum, bool **arg7, s32 mtxindex, Mtxf *arg9, Mtxf *arg10);
|
||||
void bgunCreateFx(struct hand *hand, s32 handnum, struct weaponfunc *funcdef, s32 weaponnum, struct modelfiledata *modeldef, u8 *allocation);
|
||||
void bgun0f0a5550(s32 handnum);
|
||||
|
||||
+2
-2
@@ -2244,8 +2244,8 @@ struct hand {
|
||||
/*0x0cfc*/ struct coord dotrot;
|
||||
/*0x0d08*/ f32 gangstarot; // frac
|
||||
/*0x0d0c*/ s16 primetimer60;
|
||||
/*0x0d0e*/ u8 unk0d0e_00 : 4;
|
||||
/*0x0d0e*/ u8 unk0d0e_04 : 3;
|
||||
/*0x0d0e*/ u8 ejectstate : 4;
|
||||
/*0x0d0e*/ u8 ejecttype : 3;
|
||||
/*0x0d0e*/ u8 unk0d0e_07 : 1;
|
||||
/*0x0d0f*/ u8 createsmoke : 1;
|
||||
/*0x0d0f*/ u8 forcecreatesmoke : 1;
|
||||
|
||||
Reference in new issue
Block a user