RndName
d2f7785f9f
Finish implementation of add/remove squadrons from AirWingConfigurationDialog
...
Users can now add and remove squadrons with specific buttons. this also allows new aircraft types to be added as well.
- rebased existing PR to develop
- reverted observable and changed to signals
- changed the general concept so that changes only affect the ui data model and not the game directly. Game will only be updated on apply
- removed unused code
- adopt to review comments
- allow user to choose a predefined squadron preset (also alow none value to use the random generator)
- Reuse the squadron defs from the default assigner in the AirWing class
- allow user to re-roll the squadron nickname (also added new ui icons for the button)
2021-12-23 13:20:59 +01:00
Richard Pump
e4ba9a8b72
Added squadron configuration gui
...
- added add/remove buttons to Air Wing Menu, implemented remove
2021-12-23 13:20:41 +01:00
Dan Albert
ef73f712ec
More Python 3.10 compat.
2021-11-21 11:28:51 -08:00
Dan Albert
e9634b7066
Prevent assigning fixed wing squadrons to FARPs.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1671
2021-11-06 18:34:23 -07:00
Dan Albert
c60bba1166
Fix crash when planning ferry flights.
...
At some point this needed to be type-only to resolve a circular import,
but that's fixed now.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1698
2021-11-06 17:36:43 -07:00
Dan Albert
35900c2350
Fix fixed wing squadrons retreating to FARPs.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1615
2021-11-06 16:53:55 -07:00
Dan Albert
be69d17345
Move Flight and its related components out of gen.
2021-10-22 11:30:28 -07:00
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
2c8f960696
Prevent creating empty ferry packages.
...
An empty squadron or a fully-assigned squadron won't have anything to
assign to the ferry mission.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1588
2021-09-01 19:22:37 -07:00
Dan Albert
1a4be911c0
Implement ferry flights for squadron transfers.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1145
2021-08-31 23:03:27 -07:00
Dan Albert
f9f0b429b6
Set the flight airfields based on the Squadron.
2021-08-31 22:14:00 -07:00
Dan Albert
c2e5cba061
Implement manual squadron transfers.
...
Lightly tested but seems to work fine.
https://github.com/dcs-liberation/dcs_liberation/issues/1145
2021-08-29 16:21:54 -07:00
Dan Albert
8fea8e7b47
Move squadron end-turn behavior into the squadron.
2021-08-28 18:03:33 -07:00
Dan Albert
469b1e5efe
Reimplement aircraft retreats for captured bases.
2021-08-28 18:02:11 -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