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
Raffson
7a92fa773f
Adjust main window title
2022-09-18 15:48:15 +02:00
Dan Albert
9eb2b6e006
Remove junk from FrontLineConflictDescription.
2022-09-17 14:47:15 +02:00
Dan Albert
16fdb889a7
Split air and ground conflict descriptions.
2022-09-17 14:42:19 +02:00
Dan Albert
480dccb817
Re-disable sending landmap data for Falklands.
...
Still too slow.
2022-09-17 14:42:19 +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
Dan Albert
900948f7c2
Use simplified Falklands exclusion zones.
...
This is significantly faster on my machine. Checking it in (and
re-enabling the UI layer) to see how it affects slower machines.
2022-09-17 14:35:13 +02:00
Dan Albert
e4d780cb61
Avoid sending landmap data for Falklands.
...
This is too damn slow. A possible solution is explained in the comment,
but we shouldn't tackle that until we're sure the rest of the game runs
okay.
2022-09-17 14:35:13 +02:00
Dan Albert
0cb61ea778
Log planning times per-task.
2022-09-17 14:35:13 +02:00
Dan Albert
daf565f11c
Add additional information to multi-event tracing.
...
Show the number of times the event was logged as well as an average run-
time.
2022-09-17 14:35:12 +02:00
Dan Albert
e503a8034c
Bump the campaign version for the Falklands.
...
Support isn't done yet, but the things that would affect campaign design
are done.
https://github.com/dcs-liberation/dcs_liberation/issues/2242
2022-09-17 14:35:12 +02:00