Dan Albert
ab2bb6814e
Clean up aircraft allocation and procurement.
...
This also does improve the over-purchase problems, though I can't spot
the behavior change that's causing that. Presumably the old
implementation had a bug I can't spot and in rewriting it I solved the
problem...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1582
2021-09-03 17:08:32 -07:00
Dan Albert
8fea8e7b47
Move squadron end-turn behavior into the squadron.
2021-08-28 18:03:33 -07:00
Dan Albert
5fae178081
Reduce squadron location bookkeeping.
2021-08-28 17:59:56 -07:00
Dan Albert
4423288a53
Assign aircraft to squadrons rather than bases.
...
This is needed to support the upcoming squadron transfers, since
squadrons need to bring their aircraft with them.
https://github.com/dcs-liberation/dcs_liberation/issues/1145
2021-08-15 17:42:56 -07: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