mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Add waypoint departure time to the kneeboard.
This commit is contained in:
@@ -145,6 +145,7 @@ class FlightPlanBuilder:
|
||||
waypoint.waypoint.pretty_name,
|
||||
str(int(units.meters_to_feet(waypoint.waypoint.alt))),
|
||||
self._format_time(waypoint.waypoint.tot),
|
||||
self._format_time(waypoint.waypoint.departure_time),
|
||||
])
|
||||
|
||||
def _format_time(self, time: Optional[int]) -> str:
|
||||
@@ -187,7 +188,7 @@ class BriefingPage(KneeboardPage):
|
||||
for num, waypoint in enumerate(self.flight.waypoints):
|
||||
flight_plan_builder.add_waypoint(num, waypoint)
|
||||
writer.table(flight_plan_builder.build(),
|
||||
headers=["STPT", "Action", "Alt", "TOT"])
|
||||
headers=["#", "Action", "Alt", "Time", "Departure"])
|
||||
|
||||
writer.heading("Comm Ladder")
|
||||
comms = []
|
||||
|
||||
Reference in New Issue
Block a user