Decompile chr0f04c874

This commit is contained in:
Ryan Dwyer
2022-04-19 20:35:13 +10:00
parent 3019187375
commit b0f4af068f
4 changed files with 120 additions and 1332 deletions
+2 -2
View File
@@ -2948,9 +2948,9 @@
// I think this is related to flanking, where the value arg is the angle
// relative to the player's direction. 335 is the same as 25 degress to the
// right (360 - 25).
#define cmd0139(value, u1, bool) \
#define cmd0139(angle, u1, bool) \
mkshort(0x0139), \
mkword(value), \
mkword(angle), \
u1, \
bool,
+1 -1
View File
@@ -219,7 +219,7 @@ s32 chrAssignCoverByCriteria(struct chrdata *chr, u16 arg1, s32 arg2);
s32 chrAssignCoverAwayFromDanger(struct chrdata *chr, s32 mindist, s32 maxdist);
bool chrRunFromPos(struct chrdata *chr, u32 speed, f32 distance, struct coord *frompos);
f32 func0f04c784(struct chrdata *chr);
bool func0f04c874(struct chrdata *chr, u32 angle360, struct coord *pos, u8 arg3, u8 arg4);
bool chr0f04c874(struct chrdata *chr, u32 angle360, struct coord *pos, u8 arg3, u8 arg4);
void rebuildTeams(void);
void rebuildSquadrons(void);
void chrAvoid(struct chrdata *chr);