Attempt to decompile chrAssignCoverByCriteria

This commit is contained in:
Ryan Dwyer
2021-06-28 22:29:38 +10:00
parent 0e8b55b265
commit f28074d92a
12 changed files with 230 additions and 55 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ struct prop *chrSpawnAtCoord(s32 body, s32 head, struct coord *pos, s16 *room, f
bool func0f04b658(struct chrdata *chr);
bool chrMoveToPos(struct chrdata *chr, struct coord *pos, s16 *room, f32 angle, bool allowonscreen);
bool chrCheckCoverOutOfSight(struct chrdata *chr, s32 covernum, bool arg2);
s32 func0f04ba34(struct chrdata *chr, u16 arg1, u32 arg2);
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);
+3 -3
View File
@@ -290,9 +290,9 @@
/*0x011e*/ bool aiIfHuman(void);
/*0x011f*/ bool aiIfSkedar(void);
/*0x0120*/ bool ai0120(void);
/*0x0121*/ bool ai0121(void);
/*0x0122*/ bool ai0122(void);
/*0x0123*/ bool ai0123(void);
/*0x0121*/ bool aiFindCover(void);
/*0x0122*/ bool aiFindCoverWithinDist(void);
/*0x0123*/ bool aiFindCoverOutsideDist(void);
/*0x0124*/ bool aiGoToCover(void);
/*0x0125*/ bool aiCheckCoverOutOfSight(void);
/*0x0126*/ bool aiIfPlayerUsingCmpOrAr34(void);