mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 23:26:00 -04:00
Discover and document AI command try_run_from_target and attempt to decompile chrRunFromTarget
This commit is contained in:
@@ -404,7 +404,12 @@
|
||||
#define deactivate_alarm \
|
||||
mkshort(0x0029),
|
||||
|
||||
#define cmd002a(label) \
|
||||
/**
|
||||
* Makes the chr attempt to run 1000 units in the opposite direction to their
|
||||
* target, without any pathfinding. If this destination is obstructed by a wall
|
||||
* then they'll run as far as they can and stop at the wall.
|
||||
*/
|
||||
#define try_run_from_target(label) \
|
||||
mkshort(0x002a), \
|
||||
label,
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ u32 func0f03645c(void);
|
||||
u32 func0f03654c(void);
|
||||
bool propHasClearLineToPos(struct prop *prop, struct coord *dstpos, struct coord *vector);
|
||||
bool func0f036918(struct prop *prop, struct coord *coord, f32 arg2);
|
||||
u32 func0f036974(void);
|
||||
bool func0f036974(struct prop *prop, struct coord *coord);
|
||||
void chrGetSideVectorToTarget(struct chrdata *chr, bool side, struct coord *vector);
|
||||
u32 chrCanRollInDirection(struct chrdata *chr, bool side, f32 distance);
|
||||
void chrGetSideVector(struct chrdata *chr, bool side, struct coord *vector);
|
||||
@@ -102,7 +102,7 @@ u32 func0f03a3ec(struct chrdata *chr, u32 arg1, u32 arg2, u32 arg3, u32 arg4);
|
||||
u32 func0f03a894(struct chrdata *chr, s32 pad, s32 arg2);
|
||||
u32 func0f03abd0(void);
|
||||
u32 func0f03aca0(struct chrdata *chr, u32 arg1, u32 arg2);
|
||||
u32 func0f03afac(struct chrdata *chr);
|
||||
u32 chrTryRunFromTarget(struct chrdata *chr);
|
||||
u32 func0f03b1e0(struct chrdata *chr);
|
||||
bool chrDropItem(struct chrdata *chr, u32 modelnum, u32 weaponnum);
|
||||
void func0f03ba44(struct chrdata *chr, u32 arg1, u32 arg2, u32 arg3);
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
/*0x0027*/ bool aiTryStartAlarm(void);
|
||||
/*0x0028*/ bool aiActivateAlarm(void);
|
||||
/*0x0029*/ bool aiDeactivateAlarm(void);
|
||||
/*0x002a*/ bool ai002a(void);
|
||||
/*0x002a*/ bool aiTryRunFromTarget(void);
|
||||
/*0x002b*/ bool aiTryJogToTargetProp(void);
|
||||
/*0x002c*/ bool aiTryWalkToTargetProp(void);
|
||||
/*0x002d*/ bool aiTryRunToTargetProp(void);
|
||||
|
||||
@@ -27,7 +27,7 @@ void func00024e4c(struct coord *arg0, struct coord *arg1, u32 line, char *file);
|
||||
f32 func00024e98(void);
|
||||
u32 func00024ea4(void);
|
||||
struct prop *func00024eb0(void);
|
||||
u32 func00024ebc(void);
|
||||
void func00024ebc(struct coord *pos, u32 line, char *file);
|
||||
u32 func00024ee8(void);
|
||||
u32 func00024f10(void);
|
||||
u32 func00024f6c(void);
|
||||
@@ -102,7 +102,7 @@ u32 func0002d15c(void);
|
||||
u32 func0002d3b0(void);
|
||||
bool func0002d6ac(struct coord *pos, s16 *rooms, struct coord *targetpos, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
|
||||
u32 func0002d72c(void);
|
||||
u32 func0002d7c0(void);
|
||||
bool func0002d7c0(struct coord *pos, s16 *rooms, struct coord *arg2, u32 arg3, u32 arg4, f32 arg5, f32 arg6);
|
||||
u32 func0002d840(void);
|
||||
u32 func0002d8b8(void);
|
||||
u32 func0002d95c(void);
|
||||
|
||||
Reference in New Issue
Block a user