Delta-v/Content.Client/Shuttles/UI
Pieter-Jan Briers f9c225df61
Refactor FTL time tracking code to fix a UI bug (#26538)
The FTL UI on the shuttle console would reset the FTL progress bar every time you open it. This is because the server only sends "time until completion", not a start/end time. The FTL code now uses a separate start/end time so the exact same progress bar can be preserved.

For convenience, I made a StartEndTime record struct that stores the actual tuple. This is now used by the code and has some helpers.

(cherry picked from commit 3b791459c74c6b56c8ae6204a936f6de06674b93)
2024-04-07 14:12:57 +02:00
..
BaseShuttleControl.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
BaseShuttleControl.xaml.cs Reduced Warning Count By 130 For Full Rebuilds (#26518) 2024-04-07 14:11:06 +02:00
DockObject.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
DockObject.xaml.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
DockingScreen.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
DockingScreen.xaml.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
EmergencyConsoleWindow.xaml Minor UI refactor (#11212) 2022-09-11 20:42:12 -07:00
EmergencyConsoleWindow.xaml.cs Move/Rename stuff (#11209) 2022-09-11 18:56:21 -07:00
IFFConsoleWindow.xaml Move/Rename stuff (#11209) 2022-09-11 18:56:21 -07:00
IFFConsoleWindow.xaml.cs Move/Rename stuff (#11209) 2022-09-11 18:56:21 -07:00
MapScreen.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
MapScreen.xaml.cs Refactor FTL time tracking code to fix a UI bug (#26538) 2024-04-07 14:12:57 +02:00
NavScreen.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
NavScreen.xaml.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
RadarConsoleWindow.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
RadarConsoleWindow.xaml.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleConsoleWindow.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleConsoleWindow.xaml.cs Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleDockControl.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleDockControl.xaml.cs Fix shuttle console UI scaling (#25807) 2024-03-08 12:54:54 +01:00
ShuttleMapControl.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleMapControl.xaml.cs FTL UIScale fixes (#26305) 2024-03-24 00:12:31 +01:00
ShuttleNavControl.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
ShuttleNavControl.xaml.cs Fix shuttle IFF drawing (#25821) 2024-03-08 12:54:54 +01:00