Decompile aiIfSquadronIsDead

This commit is contained in:
Ryan Dwyer
2020-02-09 17:05:41 +10:00
parent 3fd7c27483
commit e1ae236f24
4 changed files with 40 additions and 77 deletions
+3
View File
@@ -2778,6 +2778,9 @@
/**
* Checks if all chrs in the given squadron are dead.
*
* Note: Due to a bug, this command ends up only checking if the last chr in the
* squadron is dead.
*/
#define if_all_chrs_in_squadron_are_dead(squadron, label) \
mkshort(0x0147), \
+1 -1
View File
@@ -325,7 +325,7 @@
/*0x0144*/ bool aiHeliUnarmWeapons(void);
/*0x0145*/ bool aiRebuildTeams(void);
/*0x0146*/ bool aiRebuildSquadrons(void);
/*0x0147*/ bool ai0147(void);
/*0x0147*/ bool aiIfSquadronIsDead(void);
/*0x0148*/ bool aiChrSetListening(void);
/*0x0149*/ bool aiIfChrListening(void);
/*0x014a*/ bool aiIfTrue(void);