Dan Albert
b0787d9a3f
Build a proper type for StartType.
2021-10-22 11:42:13 -07:00
Magnus Wolffelt
3e6d63e8f7
Fix random heading function, randomize wind better ( #1619 )
...
* Fix random heading function, randomize wind better
* Use 359 as max default for random heading, for uniform distribution
2021-09-16 12:29:00 +02:00
Dan Albert
90ad1f4a61
Change squadrons to operate out of a single base.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1145
Currently this is fixed at the start of the campaign. The squadron
locations are defined by the campaign file.
Follow up work:
* Track aircraft ownership per-squadron rather than per-airbase.
* UI for relocating squadrons.
* Ferry missions for squadrons that are relocating.
* Auto-relocation (probably only for retreat handling).
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1138
2021-08-14 21:46:27 -07:00
Magnus Wolffelt
4c51b4b822
Seasonal weather types per theater.
...
Adjusts the weather conditions per theater and per season.
2021-07-31 03:57:23 -07:00
bgreman
1094085872
Fixes #1449 and updates another area where the Heading class can apply ( #1451 )
2021-07-22 15:30:46 -04:00
Dan Albert
28f98aed88
Migrate pressure to a typed unit.
2021-07-16 22:38:41 -07:00
Magnus Wolffelt
04a346678c
Add situational temperature and pressure variation.
...
Now varies by:
* Season
* Theater
* Weather
* Time of day
2021-07-16 14:08:14 -07:00
Magnus Wolffelt
d25befabdd
Randomize mission temperature and pressure.
2021-07-15 13:34:09 -07:00
Dan Albert
fb9a0fe833
Flesh out typing information, enforce.
2021-07-07 17:41:29 -07:00
Dan Albert
38f632097e
Add support for DCS 2.7 weather generation.
...
https://github.com/Khopa/dcs_liberation/issues/981
2021-04-17 15:06:17 -07:00
Dan Albert
a47bef1f13
Blacken.
2021-02-12 20:10:45 -08:00
Dan Albert
2ac818dcdd
Convert to new unit APIs, remove old APIs.
...
There are probably plenty of raw ints around that never used the old
conversion APIs, but we'll just need to fix those when we see them.
Fixes https://github.com/Khopa/dcs_liberation/issues/558
2020-12-19 22:08:57 -08:00
Dan Albert
63bdbebcaa
Refactor control points into individual classes.
2020-11-23 14:34:58 -08:00
Dan Albert
ae68a35a1a
Remove save compat since it's breaking anyway.
...
Removal of old paths/names for things that no longer exist.
2020-11-20 17:06:01 -08:00
Dan Albert
f8ac39fb82
Fix min/max inversion in wind setting.
2020-10-20 00:10:37 -07:00
Dan Albert
49b6951ac3
Generate weather conditions at turn start.
...
Weather and exact time of day information is helpful during mission
planning, so generate it at the start of the turn rather than at
takeoff time.
Another advantage aside from planning is that we can now use the wind
information to set carrier headings and takeoff runways appropriately.
2020-10-16 18:25:25 -07:00