Decompile aiDamagePlayer

This commit is contained in:
Ryan Dwyer
2020-05-11 20:20:04 +10:00
parent 65176271d0
commit e7d3399ade
10 changed files with 933 additions and 1010 deletions
+3 -2
View File
@@ -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.
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);