Commit Graph

4975 Commits

Author SHA1 Message Date
Dan Albert
07425ea04f 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-09 12:46:05 +02:00
Dan Albert
326291e708 Fix the react test.
It's still a useless test, but now it passes.
2022-10-09 12:46:05 +02:00
Dan Albert
998a58df34 Ignore vscode tasks file in client. 2022-10-09 12:46:05 +02:00
Dan Albert
9c20a3cf51 Update caniuse-lite.
Complains when tests are run.
2022-10-09 12:45:53 +02:00
Dan Albert
3a412b420b Double the front line thickness.
Make it easier to click on.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2437.
2022-10-02 19:56:51 +02:00
Dan Albert
8126635bd9 Add missing type annotation.
Caught by newer versions of typescript.
2022-10-02 19:56:50 +02:00
Dan Albert
8ff943552b Update pydcs.
Includes the AIM-54C Mk 60.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2436.
2022-10-02 19:56:50 +02:00
Dan Albert
d5a2c54fbd Add a hint about how to transfer squadrons.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1911.
2022-10-02 19:56:50 +02:00
Dan Albert
920c9b15ff Revert "Add support for the AI-only F-14A."
AI behavior with the Heatblur F-14 has been fixed, so not needed any
more.

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

This reverts commit 7387c2ed8f.
2022-10-02 19:56:49 +02:00
Dan Albert
841e918d6f Add Falklands weather data.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2242.
2022-10-02 19:56:49 +02:00
Dan Albert
7e8f734309 Load map icons directly from DCS.
If the user's DCS directory is not configured correctly this will
degrade by not showing an icon. Otherwise (and typically) we get nicer
looking icons for each theater, and we don't have to make these for each
new map.
2022-10-02 19:56:49 +02:00
Dan Albert
868c38b782 Remove unused data.
We get TACAN, ILS, and ATC data from pydcs now. The rest of this
manually curated data is unused.
2022-10-02 19:56:48 +02:00
Dan Albert
7c7d9f7066 Get TACAN and ILS data from pydcs. 2022-10-02 19:56:48 +02:00
Dan Albert
e5074b57b8 Fix TACAN beacon type import.
The dataclass contructor will not automatically convert the int in the
JSON file to the enum type, so our enum equivalence check was not
actually working, and could result in us re-allocating a TACAN channel
that was used by the map.

Fixing this problem surfaces a latent bug, where we can't actually treat
duplicate map TACAN channels as a bug because some channels are used by
multiple airports in PG.
2022-10-02 19:56:48 +02:00
Dan Albert
ed855d26a7 Number beacon types explicitly.
auto() starts at 1 for IntEnum, so this has always been wrong.
2022-10-02 19:56:47 +02:00
Dan Albert
631ee96bbe Move beacons module.
This isn't related to the missiongenerator, and importing this file from
some places (such as runway data) will cause a circular reference when
importing the rest of the missiongenerator package.
2022-10-02 19:56:47 +02:00
Dan Albert
2c53f7952f Alter the beacon format to be keyed by ID.
ID based lookup will be used for finding ILS and TACAN beacons from the
pydcs data.
2022-10-02 19:56:47 +02:00
Dan Albert
2aab7c34be Fix broken error message in beacon importer. 2022-10-02 19:56:46 +02:00
Dan Albert
c7705fd545 Update pydcs.
This update includes expanded runway data that lets us clean up some
code. It also include beacon IDs for runways and airfields that will let
us get ILS and TACAN info from pydcs, but that's a bigger change that
I'll land separately.
2022-10-02 19:56:46 +02:00
Raffson
46eed54705 Update discord link 2022-10-02 19:56:46 +02:00
Raffson
d8509ef736 New performance option: front-line troops prefer roads
Co-Authored-By: MetalStormGhost <89945461+MetalStormGhost@users.noreply.github.com>
2022-10-02 19:56:45 +02:00
Raffson
a81b4ffd05 New performance option: disable convoys
Co-Authored-By: MetalStormGhost <89945461+MetalStormGhost@users.noreply.github.com>
2022-10-02 19:56:45 +02:00
Raffson
cb36163bee Update changelog.md 2022-10-02 19:56:45 +02:00
Raffson
c783dbd17c Update CODE OF CONDUCT / CONTRIBUTING guides 2022-10-02 19:56:44 +02:00
Raffson
0a335d342a Update Issue templates 2022-10-02 19:56:44 +02:00
Raffson
ae0cbc2c5b Update PR template 2022-10-02 19:56:44 +02:00
Raffson
009574e8d5 Change generated mission name 2022-10-02 19:56:43 +02:00
Raffson
04bce081e9 Saved games folder for Retribution 2022-10-02 19:56:43 +02:00
Raffson
667cb8c0b3 Update README.md 2022-10-02 19:56:43 +02:00
Raffson
ee9cdd647a Improve check for 'valid white zones'
Instead of comparing to some deduced radius in case of a quad-point trigger,
use pydcs' Polygon.point_in_poly to determine if a position is located inside the zone.
2022-10-02 19:56:42 +02:00
MetalStormGhost
d14b964f1d Add fidelity for SIDC status of TGOs.
The new behavior is as follows for SAMs:

No damaged units: fully capable (green)
Damaged but still operational: present (no bar)
Not fully destroyed but inoperable: damaged (yellow)
Fully destroyed: destroyed (red)

And for all other TGOs:

Fully destroyed: destroyed (red)
Any missing units: damaged (yellow)
No missing units: present (no bar)

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2438.
2022-09-25 14:53:42 +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
Raffson
8af2d888d4 Update 'About' dialog 2022-09-18 22:09:42 +02:00
Raffson
9c6c21ca76 Update splash screen 2022-09-18 22:09:42 +02:00
Raffson
cb4754a3f9 Update URLs in UI's main window 2022-09-18 22:09:41 +02:00
Raffson
5faf79766f Adjust discord server 2022-09-18 22:09:41 +02:00
Raffson
47848bd5da Update briefing templates
Still renaming 'Liberation' to 'Retribution' in UI related stuff...
2022-09-18 22:09:41 +02:00
Raffson
37b4b8f487 Update quit message 2022-09-18 22:09:41 +02:00
Raffson
9f0c0ccb32 Rename logging file to retribution.log 2022-09-18 18:23:01 +02:00
Raffson
3be5e45374 Adjust preferences path for Retribution 2022-09-18 18:23:01 +02:00
Raffson
02b7cd7fb3 Update main.py
Replace UI occurrence of 'Liberation' with 'Retribution'
2022-09-18 18:23:01 +02:00
Raffson
9840ed1444 Introduce .retribution save-files
Keeping .liberation since we'd want stay compatible for as long as possible
2022-09-18 18:23:00 +02:00
Raffson
23b18c17ca Update FirstStartWindow 2022-09-18 17:36:42 +02:00
Raffson
67c11848a7 Change icons 2022-09-18 17:06:16 +02:00
Raffson
9703e2452d Set version to 1.0.0 2022-09-18 15:52:42 +02:00
Raffson
3ffcddcc5a Change name of .exe file 2022-09-18 15:52:21 +02:00