Commit Graph

4648 Commits

Author SHA1 Message Date
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
Dan Albert
65b9985096 Set the Falklands timezone.
https://github.com/dcs-liberation/dcs_liberation/issues/2242
2022-09-17 14:35:12 +02:00
Dan Albert
5de94843ea Fix mistake in join point placement.
This looks like it was just a typo. We want to join as late as possible
to allow flights coming from other airfields to take the best route to
the target that is safe, rather than joining as early as possible, which
isn't useful since pre-join and post-split are supposed to be safe areas
anyway.
2022-09-17 14:35:11 +02:00
Dan Albert
cb5783e360 Fix rendering of join permissible zones.
The zones themselves are supposed to be unstroked because we only want
to stroke the boundaries of the zone that are preferred.
2022-09-17 14:35:11 +02:00
Dan Albert
3162139a31 Add a Falklands landmap, imported from GIS.
https://github.com/dcs-liberation/dcs_liberation/issues/2242
2022-09-17 14:35:10 +02:00
Dan Albert
7b65427a41 Add Falklands terrain shapefiles. 2022-09-17 14:35:09 +02:00
Dan Albert
4d9179d378 Add a GIS shapefile to landmap importer. 2022-09-17 14:35:08 +02:00
Dan Albert
38e2bf187f Fix DaytimeMap error with disabled night missions.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2429
2022-09-17 14:35:08 +02:00
Dan Albert
b01895e2dd Use ATC radio info from pydcs. 2022-09-17 14:35:07 +02:00
Dan Albert
9e4516eba1 Update pydcs.
This update adds ATC information to the exported data.
2022-09-17 14:35:06 +02:00
Dan Albert
cc9174cba4 Add a data linter with Markdown output.
Wildly incomplete, but it's a start.
2022-09-17 14:35:06 +02:00
Dan Albert
46a3aa9540 Load airfield data when called for airport.
The for_theater method is always called before for_airport is during
normal gameplay, but I'm writing a linter to show missing airfield data
that calls for_airport first.
2022-09-17 14:35:06 +02:00
Dan Albert
a3d58daa3c Be tolerant of theaters with no airfield data.
This shouldn't be the case for anything shipped, but is typical when new
theaters are still being developed.

We could potentially add an `in_progress` flag to the theater definition
to make this only optionally tolerant, but since that code path would
rarely be exercised it's just likely to bitrot. This data isn't critical
to mission generation anyway, so this is fine. What we should do is add
some linters that document all the data that is missing though (and
ideally publish that to our docs).
2022-09-17 14:35:05 +02:00
Dan Albert
d226493936 Update beacon data. 2022-09-17 14:35:05 +02:00
Dan Albert
87375eb4b1 Clean up ConflictTheater constructor.
Now that all theaters are defined in YAML, we can lose some of the mess
in this class.
2022-09-17 14:35:05 +02:00
Dan Albert
d060f39e2f Note theater moddability in the changelog. 2022-09-17 14:35:04 +02:00
Dan Albert
c43d84bdae Migrate Falklands to YAML.
All theaters are now moddable.
2022-09-17 14:35:04 +02:00