added a customizable plugin system

- the base LUA functionality has been implemented as a mandatory plugin
- the jtacautolase functionality has been implemented as a plugin
- added a VEAF framework plugin

The plugins have GUI elements in the Settings window.
This commit is contained in:
David Pierron
2020-10-12 17:27:13 +02:00
parent c77bfe9da2
commit d22943d755
20 changed files with 330 additions and 65 deletions

View File

@@ -205,7 +205,7 @@ class PackageBuilder:
airfield, aircraft = assignment
flight = Flight(aircraft, plan.num_aircraft, airfield, plan.task)
self.package.add_flight(flight)
flight.targetPoint = location
flight.targetPoint = self.package.target
return True
def build(self) -> Package:
@@ -218,7 +218,7 @@ class PackageBuilder:
for flight in flights:
self.global_inventory.return_from_flight(flight)
self.package.remove_flight(flight)
flight.targetPoint = None
flight.targetPoint = None
class ObjectiveFinder:
"""Identifies potential objectives for the mission planner."""