mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
The increased precision that we had everywhere except the UI and the interface with DCS was causing issues with ASAP creating barely negative start times. The main cause of this was that we'd compute the earliest possible TOT, it would result in, for example, 23:10.002. When we then set the QTimeEdit for the TOT, we have to round because it does not support (nor do we really want to display) sub-second values, which then caused the previously 0 start time to be -0.002. Instead, since the sub-second values aren't really interesting anyway, we now just round TOTs up and start times down. This should prevent negative start times from occurring (except when they've been manually planned as such), and also prevents start times of 00:00:01. Also rounds the package waypoint times to avoid the same issues, but it's not really important which direction we round these. Fixes https://github.com/Khopa/dcs_liberation/issues/295
About DCS Liberation
DCS Liberation is a DCS World turn based single-player semi dynamic campaign. It is an external program that generates full and complex DCS missions and manage a persistent combat environment.
Downloads
Latest release is available here : https://github.com/Khopa/dcs_liberation/releases
Resources
Tutorials, contributors and developer's guides are available in the project's Wiki
Special Thanks
First, a big thanks to shdwp, for starting the original DCS Liberation project.
Then, DCS Liberation uses pydcs for mission generation, and nothing would be possible without this. It also uses the popular Mist lua framework for mission scripting. And for the JTAC feature, DCS Liberation embed Ciribob's JTAC Autolase script.
Please also show some support to these projects !
Description
Languages
Lua
60.2%
Python
38.3%
TypeScript
1.1%
Jinja
0.2%
CSS
0.2%

