| 23 | #define DEFENSE_AIR_TO_AIR 3 |
| 24 | |
| 25 | class AIController |
| 26 | { |
| 27 | public: |
| 28 | AIController(); |
| 29 | ~AIController(); |
| 30 | |
| 31 | bool IsCampaign() const; |
| 32 | int GetCastingCooldown() const; |
| 33 | void SetCastingCooldown(int time); |
| 34 | |
| 35 | |
| 36 | void AttackAdd(int count, BWAPI::UnitType type); |
| 37 | void DefenseClear(int type); |
| 38 | void DefenseBuild(int type, int count, BWAPI::UnitType uType); |
| 39 | void DefenseUse(int type, int count, BWAPI::UnitType uType); |
| 40 | |
| 41 | WORD getFlags() const; |
| 42 | void setFlags(WORD wFlags); |
| 43 | void clearFlags(WORD wFlags); |
| 44 | |
| 45 | BYTE bNukeRate; |
| 46 | BYTE bAttacks; |
| 47 | DWORD dwLastNukeTime; |
| 48 | WORD wFlags; |
| 49 | WORD wPanicBlock; |
| 50 | WORD wMaxForce; |
| 51 | WORD wAttackGroup; |
| 52 | WORD wWaitForType; |
| 53 | BYTE bDefaultMin; |
| 54 | |
| 55 | int castingCooldown; |
| 56 | |
| 57 | DWORD dwLastIndividualUnitUpdateTime; |
| 58 | DWORD dwAttackTime; |
| 59 | |
| 60 | BYTE bIfDif; |
| 61 | WORD attackGroups[64]; |
| 62 | DWORD defensebuild[4][10]; |
| 63 | DWORD defenseuse[4][10]; |
| 64 | BYTE bDefineMax[228]; |
| 65 | |
| 66 | Location genCmdTarget; |
| 67 | }; |
| 68 | |
| 69 | extern AIController MainController; |
nothing calls this directly
no outgoing calls
no test coverage detected