4081 Commits

Author SHA1 Message Date
Nosajthedevil
3204466295 Reworked JSOW fallbacks
JSOW fallbacks now work their way through large warhead IR Mavs
2022-11-04 21:04:32 -07:00
Nosajthedevil
aac68436d9 Weapons data corrections
Remove weapon Type "ARM" to fix error in 5.2.1 and add AIM-54C-MK60
2022-11-04 21:04:32 -07:00
Nosajthedevil
085bf65d45 Corrected new line errors 2022-11-04 21:04:32 -07:00
Nosajthedevil
3e1312b53a Update AIM-9B-2X.yaml 2022-11-04 21:04:32 -07:00
Nosajthedevil
60ab332235 Updated US and russian standoff weapon data
Adds a number of standoff weapons data files and fall backs, including for the B-52 and B-1. Generally used the logic long range guided weapons>big warhead mavs > smallwarheadmavs > walleye > fallback to LGB then dumb bombs. followed similarish logic with Russian weapons. Used selerate paths for laser mavs. Also corrected error with S-24B in rockets. There is probably a lot of room for improvement here.
2022-11-04 21:04:32 -07:00
Nosajthedevil
16c1fd83bc Updated US and russian rocket weapons data
Added russian fallback rockets. Changed the AGR-20s to fallback to the AGM-65E2/L.
2022-11-04 21:04:32 -07:00
Nosajthedevil
455854f91d Added US and russia Bomb Weapon Data
Added US and Russian guided and dumb bomb weapons fallback data. Dumb bombs expanded to include fallbacks for B-1 and B-52.
2022-11-04 21:04:32 -07:00
Nosajthedevil
62f7a9f112 Updated US Aim-9 Weapons Info
Add Aim-9B's as fallbacks for F-4s and A-4s. Rework path by capability and not year (i.e. Aim-9X>M>L>P5>P>B), leave note in P that the year can be pushed back to represent earlier models the P is based on that are missing from game.
2022-11-04 21:04:32 -07:00
MetalStormGhost
a1f2685629
Correct Polish faction Leopard 2 variants.
The old "Leopard 2" maps to the Leopard 2A6 variant whereas The Polish
Land Forces operate Leopard 2A4s and Leopard 2A5s.
2022-11-04 17:07:32 -07:00
Starfire13
3f2ec65c2c
Starfire's campaign updates for 10.5. 2022-11-04 17:06:31 -07:00
Dan Albert
73b7be0606 Note hold point fix in the changelog.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2494.
2022-10-31 11:28:06 -07:00
Raffson
73ee2ba4c0 Fix for orbit's broken stop condition
(cherry picked from commit 7e7c920816d384001ac1dbf1bcbcf8ccaad4a093)
2022-10-31 11:28:06 -07:00
Dan Albert
3d4d9af3f4 Add broken loiter bug to major DCS bug list. 2022-10-30 15:07:55 -07:00
Dan Albert
41fb28ae80 Update campaigns known to use quad zones.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2377.
2022-10-29 03:30:45 -07:00
Dan Albert
5c18af4638 Support quad zones for scenery objectives.
This works by recreating the trigger zone in the generated mission to
exactly (aside from the ID, and a possibly escaped name) match the one
from the campaign definition.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2473.
2022-10-29 03:30:45 -07:00
Dan Albert
66a5878fc6 Refactor scenery group creation.
Breaking up some large methods and shifting error handling to places
where it can catch more mistakes.
2022-10-29 03:30:45 -07:00
Dan Albert
5b93149c7b Obsolete and remove SceneryGroup.position.
Rework the preset location finder so this property isn't required. We
still need _some_ location, but it's fine for that location to be
approximate so the centroid works; the new name is just much more clear
about what we can assume about it.
2022-10-29 03:30:45 -07:00
Dan Albert
83c084e476 Rename some scenery group variables for clarity.
These were perfectly obvious to me when I reviewed them, but not so much
months later when I need to make changes :)
2022-10-29 03:30:45 -07:00
Raffson
60b92a5577 Update mods after pydcs update
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2376.

(cherry picked from commit 9fbc2d2c58bdf1707e19815cfda4af2970b224f7)
2022-10-20 17:58:40 -07:00
Paul Dockar
202dbb6259 Fix barely visible text in the Intel box 2022-10-16 22:46:10 -07:00
Paul Dockar
75b19a5f06 update changelog 2022-10-16 22:46:10 -07:00
Paul Dockar
ab6eebab43 Adding conditions vanilla theme icons
Update uiconstants.py to include theme icon path for all weather conditions.
Moving DCS theme icons.
Created Vanilla theme icons
Fixes #1062
2022-10-16 22:46:10 -07:00
Dan Albert
b482dbb031 Stop using shapely's almost_equals.
The docs say it was deprecated in favor of equals_exact with an explicit
tolerance.
2022-10-15 17:26:27 -07:00
Dan Albert
59af080bfb Update pydcs.
Includes a new data export with a fix for the Apache property bug.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2470.
2022-10-15 15:46:22 -07:00
Dan Albert
db7cd17c10 Send the new turn event from turn initialization.
We'll have to get smarter about this some day (since turn initialization
won't always exist), but for now we can avoid stale UI data by doing
what we've always done and refreshing the world on turn init.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2397.
2022-10-15 14:47:55 -07:00
Dan Albert
2f0a7e4f12 Add a toolbar button for filing a bug. 2022-10-15 14:17:33 -07:00
Dan Albert
b63ecc59fb Add a dialog with bug report information. 2022-10-15 13:15:40 -07:00
Dan Albert
575cbf659c Add the git SHA to the build ID.
The build number is actually a pain to use. The git SHA is much more
useful.
2022-10-15 13:15:40 -07:00
Dan Albert
b50219ba0b Faction update for insurgents (hard).
https://github.com/dcs-liberation/dcs_liberation/issues/2482
2022-10-15 01:53:43 -07:00
Dan Albert
e4d76b3b13 Updated insurgent faction.
https://github.com/dcs-liberation/dcs_liberation/issues/2482
2022-10-13 22:27:54 -07:00
Dan Albert
99d9a2e4b9 Campaign update: The Valley of Rotary.
https://github.com/dcs-liberation/dcs_liberation/issues/2481
2022-10-13 22:27:54 -07:00
Dan Albert
04a6782b48 Campaign update: Tblisi Gap.
https://github.com/dcs-liberation/dcs_liberation/issues/2481
2022-10-13 22:27:54 -07:00
Dan Albert
cb3257e704 New campaign: The Falcon Went Over the Mountain.
https://github.com/dcs-liberation/dcs_liberation/issues/2481
2022-10-13 22:27:54 -07:00
Dan Albert
daf11c01c9 Add a comment explaining a wtf in alt estimation. 2022-10-09 23:07:39 -07:00
Dan Albert
207d56c2e9 Fix offshore targets for WW2 factions.
This makes the oil platform a required building so that all factions can
use it. Alternatively, we could pick a different offshore target for WW2
factions, or gracefully degrade to not generating these targets for WW2
factions. This approach seems to best match the designer's intent.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2322.
2022-10-09 19:06:29 -07:00
Dan Albert
3629fa1b36 Make Mozdok to Maykop editable without WW2 assets.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2391.
2022-10-09 18:47:15 -07:00
Dan Albert
21f8550fc7 Changelog updates. 2022-10-09 18:43:13 -07:00
Dan Albert
9bd0be20a6 Don't allow helicopters at non-FARP FOBs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2378.
2022-10-09 17:46:11 -07:00
Dan Albert
d6b1c1409d Add additional weapon data.
Partial submission of the data in
https://github.com/dcs-liberation/dcs_liberation/issues/2348. I haven't
changed anything that conflicted with
https://github.com/dcs-liberation/dcs_liberation/pull/1858.
2022-10-09 17:31:48 -07:00
Dan Albert
eee0039add Key the PrimaryMarker with destination presence.
This is how React recommend dealing with derived state that needs to be
reset:
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html

The problem is that the new turn will give the component new props, but
new props will not cause the state to be reset. We can either do that
manually (which React recommends only for the cases where it is
absolutely necessary:
https://reactjs.org/docs/hooks-faq.html#how-do-i-implement-getderivedstatefromprops),
or by forcing the component to be replaced by using a key.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2388.
2022-10-09 16:25:35 -07:00
Dan Albert
c9d49f6f40 Split up the ControlPoint.tsx monolith.
This is in need of some serious refactoring so that
https://github.com/dcs-liberation/dcs_liberation/issues/2388 can be
fixed.
2022-10-09 16:25:35 -07:00
Dan Albert
0f5e35a2eb Factor out control point location event behavior. 2022-10-09 16:25:35 -07:00
Dan Albert
979851aac9 Document primary/secondary CP marker behavior. 2022-10-09 16:25:35 -07:00
Dan Albert
3a2eb182f9 Fix the react app initialization.
ReactDOM.render is deprecated and using it forces react 17 behavior.
2022-10-09 16:25:35 -07:00
Dan Albert
2338c26392 Fix errors in log with 204 response endpoints.
FastAPI uses JsonResponse by default, which will convert the empty
response None to null. We need to forcibly use Response instead to
prevent that for No Content responses.

This didn't cause any observable issues but was polluting the log.
2022-10-07 14:42:03 -07:00
Dan Albert
c835cda5b6 Update NPM dependencies.
New versions of react and leaflet, along with a lot of other packages.
I'm hoping that the newest react-leaflet might let use solve the carrier
drag and drop issues in a less hacky way, since that's the cause of
https://github.com/dcs-liberation/dcs_liberation/issues/2388.
2022-10-07 13:33:53 -07:00
Dan Albert
6295f3fd71 Fix the react test.
It's still a useless test, but now it passes.
2022-10-07 13:33:53 -07:00
Dan Albert
84d0a40547 Ignore vscode tasks file in client. 2022-10-07 13:33:53 -07:00
Dan Albert
36ef1479a6 Update caniuse-lite.
Complains when tests are run.
2022-10-07 13:33:53 -07:00
Dan Albert
67dcc6e7f5 Double the front line thickness.
Make it easier to click on.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2437.
2022-09-28 11:03:50 -07:00