Add escort mission planning to the UI.

This commit is contained in:
Dan Albert 2020-10-04 14:42:24 -07:00
parent 9e96aee89f
commit e0725ff139
3 changed files with 4 additions and 2 deletions

View File

@ -89,6 +89,7 @@ class Package:
FlightType.CAP, FlightType.CAP,
FlightType.BARCAP, FlightType.BARCAP,
FlightType.EWAR, FlightType.EWAR,
FlightType.ESCORT,
] ]
for task in task_priorities: for task in task_priorities:
if flight_counts[task]: if flight_counts[task]:

View File

@ -18,11 +18,11 @@ class QFlightTypeComboBox(QComboBox):
"""Combo box for selecting a flight task type.""" """Combo box for selecting a flight task type."""
COMMON_ENEMY_MISSIONS = [ COMMON_ENEMY_MISSIONS = [
FlightType.ESCORT,
FlightType.TARCAP, FlightType.TARCAP,
FlightType.SEAD, FlightType.SEAD,
FlightType.DEAD, FlightType.DEAD,
# TODO: FlightType.ELINT, # TODO: FlightType.ELINT,
# TODO: FlightType.ESCORT,
# TODO: FlightType.EWAR, # TODO: FlightType.EWAR,
# TODO: FlightType.RECON, # TODO: FlightType.RECON,
] ]
@ -42,9 +42,9 @@ class QFlightTypeComboBox(QComboBox):
] ]
ENEMY_CARRIER_MISSIONS = [ ENEMY_CARRIER_MISSIONS = [
FlightType.ESCORT,
FlightType.TARCAP, FlightType.TARCAP,
# TODO: FlightType.ANTISHIP # TODO: FlightType.ANTISHIP
# TODO: FlightType.ESCORT,
] ]
ENEMY_AIRBASE_MISSIONS = [ ENEMY_AIRBASE_MISSIONS = [

View File

@ -57,6 +57,7 @@ class QFlightWaypointTab(QFrame):
recreate_types = [ recreate_types = [
FlightType.CAS, FlightType.CAS,
FlightType.CAP, FlightType.CAP,
FlightType.ESCORT,
FlightType.SEAD, FlightType.SEAD,
FlightType.STRIKE FlightType.STRIKE
] ]