Dan Albert 5ba633c8a1 Round TOT/start time as needed.
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
2020-11-01 13:31:10 -08:00
2020-10-30 13:51:18 -07:00
2020-10-31 20:09:20 -07:00
2020-11-01 13:31:10 -08:00
2020-08-22 20:00:07 -07:00
2020-10-24 01:10:11 -07:00
2020-10-15 20:58:06 +02:00
2020-10-31 20:09:20 -07:00
2020-10-31 19:55:26 -07:00
2020-10-01 19:06:38 +02:00
2020-10-22 16:29:46 -05:00
2020-08-17 15:22:39 +02:00

Logo

Donate Patreon

Download

Discord

GitHub pull requests GitHub issues GitHub stars

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.

Logo

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
Dynamic campaign mission generator for DCS World
Readme 386 MiB
Languages
Lua 60.2%
Python 38.3%
TypeScript 1.1%
Jinja 0.2%
CSS 0.2%