mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-02 00:14:10 -04:00
Discover face_cover AI command and decompile chrFaceCover
This commit is contained in:
@@ -2856,7 +2856,12 @@
|
||||
mkshort(0x013b), \
|
||||
id,
|
||||
|
||||
#define cmd013c(label) \
|
||||
/**
|
||||
* Makes the current chr face their cover spot. Or face away from it. Not sure.
|
||||
*
|
||||
* The cover spot must have been assigned to the chr already.
|
||||
*/
|
||||
#define face_cover(label) \
|
||||
mkshort(0x013c), \
|
||||
label,
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ u32 func0f02e550(void);
|
||||
u32 func0f02e684(void);
|
||||
void func0f02e6dc(struct chrdata *chr, f32 arg1);
|
||||
void chrStand(struct chrdata *chr);
|
||||
u32 func0f02ec94(struct chrdata *chr);
|
||||
u32 chrFaceCover(struct chrdata *chr);
|
||||
void func0f02ed88(struct chrdata *chr);
|
||||
void func0f02ef40(struct chrdata *chr);
|
||||
void func0f02f070(struct chrdata *chr);
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
/*0x0139*/ bool ai0139(void);
|
||||
/*0x013a*/ bool aiSetChrPresetToUnalertedTeammate(void);
|
||||
/*0x013b*/ bool aiSetSquadron(void);
|
||||
/*0x013c*/ bool ai013c(void);
|
||||
/*0x013c*/ bool aiFaceCover(void);
|
||||
/*0x013d*/ bool aiIfDangerousObjectNearby(void);
|
||||
/*0x013e*/ bool ai013e(void);
|
||||
/*0x013f*/ bool aiIfHeliWeaponsArmed(void);
|
||||
|
||||
+1
-1
@@ -352,7 +352,7 @@ struct aibot {
|
||||
struct act_stand {
|
||||
/*0x2c*/ s32 unk02c;
|
||||
/*0x30*/ u32 face_entitytype;
|
||||
/*0x34*/ u32 face_entityid;
|
||||
/*0x34*/ s32 face_entityid;
|
||||
/*0x38*/ u32 unk038;
|
||||
/*0x3c*/ s32 unk03c;
|
||||
/*0x40*/ u32 unk040;
|
||||
|
||||
Reference in New Issue
Block a user