mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-09 12:35:46 -04:00
Decompile aiDamagePlayer
This commit is contained in:
@@ -3068,10 +3068,11 @@
|
||||
value, \
|
||||
bool,
|
||||
|
||||
#define damage_chr2(chr, value) \
|
||||
#define damage_player(chr, u1, operation) \
|
||||
mkshort(0x016e), \
|
||||
chr, \
|
||||
mkshort(value),
|
||||
u1, \
|
||||
operation,
|
||||
|
||||
// Likely related to being disarmed.
|
||||
// Not sure what this does if the chr had no gun to begin with.
|
||||
|
||||
@@ -48,7 +48,7 @@ u32 func0f033728(void);
|
||||
u32 func0f0338e0(void);
|
||||
void chrSetShield(struct chrdata *chr, f32 shield);
|
||||
u32 func0f034080(void);
|
||||
u32 func0f034124(void);
|
||||
void func0f034124(struct chrdata *chr, f32 arg1, struct coord *coord, u8 *arg3, u32 arg4);
|
||||
u32 func0f03417c(void);
|
||||
u32 func0f0341dc(void);
|
||||
void func0f034330(struct chrdata *chr, f32 arg1, struct coord *pos, u8 *arg3, struct prop *prop, s32 arg5);
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
/*0x016b*/ bool ai016b(void);
|
||||
/*0x016c*/ bool aiNoOp016c(void);
|
||||
/*0x016d*/ bool aiChrAdjustMotionBlur(void);
|
||||
/*0x016e*/ bool ai016e(void);
|
||||
/*0x016e*/ bool aiDamagePlayer(void);
|
||||
/*0x016f*/ bool aiIfChrHasGun(void);
|
||||
/*0x0170*/ bool aiDoGunCommand(void);
|
||||
/*0x0171*/ bool aiIfDistanceToGunLessThan(void);
|
||||
|
||||
Reference in New Issue
Block a user