Discover face_cover AI command and decompile chrFaceCover

This commit is contained in:
Ryan Dwyer
2020-05-30 14:48:28 +10:00
parent 7892e3b307
commit 3e04e7b31c
7 changed files with 29 additions and 53 deletions
+6 -1
View File
@@ -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,
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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
View File
@@ -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;