12 Commits

Author SHA1 Message Date
Raffson
62a40db9ea
Streamlining 2023-10-07 18:53:42 +02:00
MetalStormGhost
6e37cadb84
Settings doctrine page + streamlining (#156)
* Added a separate Doctrine page in settings with the following new options:
- Minimum number of aircraft for autoplanner to plan OCA packages against
- Airbase threat range (nmi)
- TARCAP threat buffer distance (nmi)
- AEW&C threat buffer distance (nmi)
- Theater tanker threat buffer distance (nmi)

Implemented handling for the OPFOR autoplanner aggressiveness in objectivefinder.py vulnerable_control_points().

* * Added three new options in Settings:
- Autoplanner plans refueling flights for Strike packages
- Autoplanner plans refueling flights for OCA packages
- Autoplanner plans refueling flights for DEAD packages

Fixed a bug in faction.py where F-16Ds were not correctly removed from the faction when the F-16I/F-16D mod was not selected.

* Renamed Maximum frontline length -> Maximum frontline width.
2023-07-01 23:54:27 +02:00
Dan Albert
d6bd5184b6
Speed up computation of front line positions.
Needs to be properly measured, but this has made a multi-second speedup
in turn times.
2022-09-25 14:53:41 +02:00
Dan Albert
ac49772584
Remove error handling for impossible case. 2022-09-25 14:53:41 +02:00
Dan Albert
459c8d02f9
Remove unused behavior from frontline positioning. 2022-09-25 14:53:41 +02:00
Dan Albert
197b9795f8
Make FrontLineBounds actually a bounds container. 2022-09-25 14:53:41 +02:00
Dan Albert
aeed7fd42a
Clean up one frontline bounds user. 2022-09-25 14:53:29 +02:00
Dan Albert
9eb2b6e006
Remove junk from FrontLineConflictDescription. 2022-09-17 14:47:15 +02:00
Dan Albert
a9f6e3a0c3
Rename frontline vector to bounds, add a class.
This isn't actually the data that callers usually want. Most of the
callers just want the bounds. The heading and length are trivially
computed from that. Add a class to contain the result so it's easier to
refactor.
2022-09-17 14:42:19 +02:00
Dan Albert
46ddd884a2
Rename confusing front line methods/members. 2022-09-17 14:35:14 +02:00
MetalStormGhost
e1bf0ed47a
Added a new setting: "Maximum frontline length (km)"
It replaces the FRONTLINE_LENGTH constant, which was used previously. The default setting for the frontline length has been set to match the FRONTLINE_LENGTH value (80 km), but I feel the default should be a bit shorter. Discussion on the topic would be welcome.
2022-09-03 22:14:56 +02:00
Dan Albert
74291271e3 Move mission generation code into game.
Operation has been renamed MissionGenerator and is no longer a static
class.
2021-10-22 13:48:43 -07:00