Dan Albert
81ce7fbb62
Fix handling of empty polys in the new UI.
...
This was copied from the Qt map and tweaked, but the use cases are
slightly different so this needs to return an empty list for an empty
polygon instead of None.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1121
2021-05-25 19:19:45 -07:00
Dan Albert
b7b3b35816
Make some waypoint types undraggable.
...
None of these (takeoff, landing, divert, bullseye, precise target
locations) can be usefully moved, so prevent it.
2021-05-24 16:45:21 -07:00
Dan Albert
ddd6e7d18f
Improve detection of functional radar SAMs.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1109
2021-05-23 13:01:44 -07:00
Dan Albert
eae0d6be94
Add threat zone drawing for the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-23 12:25:15 -07:00
Dan Albert
c0ead4a484
Add icons for CPs.
2021-05-21 23:26:15 -07:00
Dan Albert
a382e74a89
Set up bullseye early, create waypoints.
...
Setting this up as part of the game makes it possible for us to show in
the UI.
https://github.com/dcs-liberation/dcs_liberation/issues/136
2021-05-20 18:29:35 -07:00
Dan Albert
af3b8a9902
Set up icons for TGOs.
...
These are just the old icons, but it's better than nothing.
2021-05-18 23:35:25 -07:00
Dan Albert
7dd379c5c3
Show active supply routes in the new UI.
2021-05-16 12:58:03 -07:00
Dan Albert
51d557524d
Fix unit list for non-building TGOs.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1082
2021-05-15 22:05:14 -07:00
Dan Albert
5d9563304f
Update commit boundaries after moving waypoints.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1084
2021-05-15 21:57:37 -07:00
Dan Albert
53cb68f82c
Make waypoints draggable.
2021-05-15 16:21:03 -07:00
Dan Albert
06dedf51aa
Improve CV waypointing UX.
2021-05-15 14:12:43 -07:00
Dan Albert
31fa2d866f
Allow setting CV routes in the new UI.
...
This is a pretty janky system until we get add context menu support. For
now the destination is set by dragging the CV marker and cleared by
right clicking the destination marker. Once we have a context menu a
context action will begin setting the destination the way it did in the
old UI, and the destination marker will be draggable.
2021-05-15 03:35:35 -07:00
Dan Albert
8ec133830f
Don't tell the UI about CP TGOs.
...
These are an implementation quirk, and passing them to the UI just means
that we put TGO pins on top of the CP, which makes the base menu
unopenable.
In the old UI we avoided this by not drawing anything that was
`for_airbase`, but now that we can zoom in further we're drawing base
defenses.
2021-05-15 00:10:05 -07:00
Dan Albert
bdb959d986
Draw patrol commit ranges in the new map.
2021-05-14 23:41:55 -07:00
Dan Albert
5adcfbd7bd
Work around PySide2 bug in Property.
...
https://bugreports.qt.io/browse/PYSIDE-1426
For whatever reason this only shows up in packaged builds for us, and
also the recommended workaround of using a member property rather than a
decorated method does not work for us.
Until PySide2 5.15.3 (or later) is released, we need to use a named
signal for every property we expose.
2021-05-13 20:24:22 -07:00
Dan Albert
d73ceb374c
Add front lines to new map UI.
...
Only shows an approximate front line. Still need support for "actual".
2021-05-13 01:49:35 -07:00
Dan Albert
3e01953a3a
Supply route styling, line weight rebalancing.
2021-05-13 01:23:15 -07:00
Dan Albert
1a65b1affb
Connect CP/TGO package fragging dialogs.
2021-05-13 01:05:15 -07:00
Dan Albert
dd75078019
Connect TGO dialogs.
2021-05-13 00:56:35 -07:00
Dan Albert
1ab205cb46
Add tooltips for TGOs.
2021-05-13 00:44:47 -07:00
Dan Albert
4e498e6932
Add waypoint info tooltip to the new map.
2021-05-12 23:03:53 -07:00
Dan Albert
d9d68cd37c
Add a new Leaflet based map UI.
...
This is extremely WIP. It is not usable for play yet. Enable with
`--new-map`.
2021-05-12 21:52:23 -07:00