Commit Graph

4257 Commits

Author SHA1 Message Date
Dan Albert
d2cee713d8 Fix Black Sea LHA parking limits.
Everything else was within the limits, but I had forgotten to check the
LHAs.

(cherry picked from commit 23e3630169)
2023-06-03 22:07:59 +00:00
Dan Albert
1e0ef288be Ack campaign versions for new squadron limits.
I haven't tested all of them, but I know these are compatible, so
advertise them as such.

(cherry picked from commit e20ab5fbc0)
2023-06-03 22:07:59 +00:00
Dan Albert
12a0186246 Warn for new squadron rules with old campaigns.
It's not feasible to actually check the parking limits because we can't
identify parking limits for carriers until the theater is populated.
Doing so is expensive (and depends on other NGW inputs). Instead,
compare against the version of the campaign and guess.

A new (minor) campaign version has been introduced which makes this
required to improve the UI hint. Campaigns that are compatible with the
new rules should update their version to advertise support.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2909.

(cherry picked from commit 4fd2bb131b)
2023-06-03 22:07:59 +00:00
Dan Albert
2f1a9d3dfd Disallow air wing generation with overfull bases.
This also changes the window close button of the air wing configuration
dialog to cancel rather than revert and continue, because otherwise
there's no way for the user to back out of the dialog without fixing all
the overfull bases first.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2910.

(cherry picked from commit 42a7102948)
2023-06-03 22:07:59 +00:00
Dan Albert
7c690227d6 Show overfull airbase details in air wing config.
https://github.com/dcs-liberation/dcs_liberation/issues/2910
(cherry picked from commit d271ff17c2)
2023-06-03 22:07:59 +00:00
Dan Albert
8172461db4 Show parking capacities in air wing config.
This does show the theoretical parking use of full squadrons even when
the new rules are not enabled. Since limits can be enabled manually
later in the game, it's still useful information, even if it's a bit
misleading.

https://github.com/dcs-liberation/dcs_liberation/issues/2910
(cherry picked from commit cb61dfccc4)
2023-06-03 22:07:59 +00:00
Dan Albert
87ed02deb0 Add new-game option to show air wing config.
Working on this UI was a huge pain because it required manually creating
a game before the UI could be used.

(cherry picked from commit 56f93c76eb)
2023-06-03 22:07:59 +00:00
Dan Albert
59676fb0fe Move CLI game generation after UI init.
(cherry picked from commit 36cb3a386c)
2023-06-03 22:07:59 +00:00
Dan Albert
7cfd6381fb Factor out game creation parameters in main.
Want to move this deeper into the launch process so that it can use the
UI, but don't want to pass the loosely typed argparse namespace any
more than we have to.

(cherry picked from commit c25e830e6c)
2023-06-03 22:07:59 +00:00
Dan Albert
9f7aa7b75b Fix line endings.
(cherry picked from commit 5d08990cd0)
2023-06-01 23:00:48 -07:00
Starfire13
5f5422b579 Add Final Countdown II campaign.
Designed for Normandy 2.0

(cherry picked from commit 2a45cd8899)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
16ad43f260 Updates china_2010.yaml
Replaces T-55 with Type 59 MBT, adds Type 093 attack sub from China Assets pack

(cherry picked from commit 90b880ec3c)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
9cd1a06651 Update russia_2010.yaml
Adds Ropucha landing ship, Improved Kilo sub

(cherry picked from commit 5f0c570d65)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
2bf1ba6d12 Update allies_1944.yaml
Adds 105mm field howitzer to allies

(cherry picked from commit ce102fcc50)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
e705a2ddbf Enforces Topgun: Maverick Rogue Nation livery for Iranian Tomcat
(cherry picked from commit 30c792c15a)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
60dd8f3245 Adds support for Chinese sub Type_093.yaml
(cherry picked from commit 2f45b856d6)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
0ecc53ef27 Create TYPE-59.yaml
(cherry picked from commit 31d2b756ab)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
2f715a1427 Create Horch_901_typ_40_kfz_21.yaml
(cherry picked from commit b5cf889c09)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
e28ffe97ac Create Pak40.yaml
(cherry picked from commit 19958f91ca)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
54bd4189bd Create Wespe124.yaml
(cherry picked from commit c775a898a4)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
a762970469 Create LeFH_18-40-105.yaml
(cherry picked from commit 535244f6f3)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
c5ebde3cd3 Create Higgins_boat.yaml
(cherry picked from commit 9d1d3bdcfa)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
38ce82f3f9 Create M2A1-105.yaml
(cherry picked from commit 36eef2b1b9)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
16ef182a8d Create IMPROVED_KILO.yaml
(cherry picked from commit 7788425c5c)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
8ac582b9a8 Create BDK-775.yaml
(cherry picked from commit ee0c21b3e5)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
11d77c0fe6 Create santafe.yaml
(cherry picked from commit 54cd619f75)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
c1eab6715b Create leander-gun-condell.yaml
(cherry picked from commit 051940e23c)
2023-06-01 23:00:48 -07:00
ColonelAkirNakesh
4be77472e7 Create leander-gun-lynch.yaml
(cherry picked from commit 4fbd7defa3)
2023-06-01 23:00:48 -07:00
Dan Albert
af65254db5 Add missing note about 7.0.0 -> 7.1.0 save compat.
(cherry picked from commit 90bda9383d)
2023-06-01 23:00:48 -07:00
Dan Albert
b523b03e3c Minor campaign version bump for Normandy 2.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2804.

(cherry picked from commit 7798e2970c)
2023-05-30 23:59:35 -07:00
Dan Albert
aae53ffc63 Update beacon data.
Did this for Normandy 2... but unsurprisingly there aren't a whole lot
of beacons in a WW2 map.

(cherry picked from commit 410c25b331)
2023-05-30 23:59:35 -07:00
Dan Albert
c6916d8da2 Update pydcs.
Normandy 2 support.

https://github.com/dcs-liberation/dcs_liberation/issues/2804
(cherry picked from commit cff74525d6)
2023-05-30 23:59:35 -07:00
Dan Albert
8ae64f57b5 Update Normandy landmap for Normandy 2.
https://github.com/dcs-liberation/dcs_liberation/issues/2804
(cherry picked from commit 8b7f107044)
2023-05-30 23:59:35 -07:00
Dan Albert
b132543b7e Add Normandy 2 landmap inputs.
https://github.com/dcs-liberation/dcs_liberation/issues/2804
(cherry picked from commit c365a0d739)
2023-05-30 23:59:35 -07:00
Dan Albert
1836b0bd98 Force polygons into validity during GIS import.
Not sure why, but some polygons become invalid (which usually means a
self-intersecting "polygon", such as two triangles that meet at a point)
during this transformation. Shapely includes a tool to reshape polygons
into validity, so use that.

(cherry picked from commit 1f4fd0fd04)
2023-05-30 23:59:35 -07:00
Dan Albert
29a05fa0e7 Tolerate empty settings files.
(cherry picked from commit 4bb60cb500)
2023-05-30 23:59:35 -07:00
Dan Albert
da1f84a8f5 Add settings for battlefield commander slots.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2235.

(cherry picked from commit fe96a415be)
2023-05-30 23:59:35 -07:00
Dan Albert
5d22d4f43c Add performance option to prevent missile tasks.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2508.

(cherry picked from commit 6699289bf7)
2023-05-30 23:59:35 -07:00
Dan Albert
6adde1cb3e Add changelog note for BAI fix.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2922.

(cherry picked from commit a85d3243fb)
2023-05-30 21:22:27 -07:00
zhexu14
81a00981eb issue 2922: make BAI plannable against missile and costal sites
(cherry picked from commit e024013093)
2023-05-30 21:22:27 -07:00
Dan Albert
ed17fc97d9 Replace more Patriot STRs with real EWRs.
Not all of these nations actually field this radar (according to
Wikipedia), but at least it's a real EWR, and it's the only blue one
we've got.

(cherry picked from commit 7f2607cf08)
2023-05-30 21:22:27 -07:00
ColonelAkirNakesh
75ee0de23f Replaces Patriot STR with AN/FPS-117 EWR, adds USS Harry Truman
(cherry picked from commit 29ffb526f2)
2023-05-30 21:22:27 -07:00
Dan Albert
a4d7c66621 Fix formatting of takeoff time.
(cherry picked from commit 257dabe4fa)
2023-05-25 22:44:35 -07:00
Dan Albert
998864797d Add UI for TOT offset adjustment.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2912.

(cherry picked from commit 406fb61fa4)
2023-05-25 22:44:35 -07:00
Dan Albert
5cca4eb051 Save the TOT offset in the flight plan.
Prep work for exposing this to the UI.

(cherry picked from commit 49dfa95c61)
2023-05-25 22:44:35 -07:00
Dan Albert
d5c335c698 Allow save compat to exist for two versions.
We want to clean up eventually, but allowing it to exist in both develop
and the release branch makes cherry picks easier.

(cherry picked from commit c80e5b259f)
2023-05-25 22:44:35 -07:00
Dan Albert
7fea15ee07 Make the flight details menu modal.
Prevents players from accidentally deleting flights they're currently
viewing, which would cause an error.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2911.

(cherry picked from commit 64e2213f28)
2023-05-25 22:19:40 -07:00
Dan Albert
a31296cbc0 Add changelog section for 7.1.0.
(cherry picked from commit ced93afd49)
2023-05-25 22:19:40 -07:00
Dan Albert
fe60757891 Branch 7.1.0. 2023-05-25 21:16:02 -07:00
Dan Albert
7614017828 Bump version to 7.0.1. 2023-05-23 01:41:13 -07:00