- Created a new AI_AIR class. AI_A2A and AI_A2G inherit from AI_AIR.
- Created a new AI_A2G_DISPATCHER class.
- Created a new AI_A2G_ENGAGE class, that implements the SEAD, CAS and BAI actions.
- The AI_A2G_DISPATCHER implements now:
* SEAD, CAS and BAI attacks from airbases.
* AddDefenseCoordinate() to set a defense coordinate.
* RemoveDefenseCoordinate() to remove a defense coordinate.
* SetDefenseReactivenessHigh() for high reactiveness.
* SetDefenseReactivenessMedium() for medium reactiveness.
* SetDefenseReactivenessLow() for low reactiveness.
* Overhead for ground attacks.
* Grouping for ground attacks.
* Evaluates task type based on enemy group composition.
- Tested AI_A2A_DISPATCHER for backward compatibility.
- Implemented spawning of airplanes in AI_A2A_DISPATCHER:
* SetSquadronVisible() method to make the squadron visible at the airport.
* Fixed bug for distance to spawn zone.
* Fixed bug when carriers get killed.
* Added example for supply chains to docs.
* Added option to specify skll and livery when adding assets.
* Added option for specifying assignments when adding assets.
- Added check if spawn zones are on land
- Removed check that ground units cannot go to ships
- Added check that spawn zone is 5 km from warehouse (needs to be revised).
Coordinate:
- added surface type checks api functions
- Scan initial units within the subscribed airbases.
- Scan if at a birth the unit is within an airbase.
- Scan upon checking if the units are within the airbases.