Dan Albert
40aa7734e1
Fix CAS commit range display.
...
CAS commits around the target, not its flight plan.
2021-06-09 21:51:26 -07:00
Dan Albert
a9dacf4a29
Fix engagement distance display.
2021-06-09 21:01:14 -07:00
Brock Greman
3ad51cafa8
Fixing display of "sunny" during clear conditions at night.
2021-06-09 02:16:05 -07:00
Dan Albert
d9c38a716c
Move settings and stats to the toolbar.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1146
2021-06-01 22:59:15 -07:00
Dan Albert
389f60786a
Fix moving carriers.
2021-05-31 15:13:56 -07:00
Dan Albert
284f2bc323
Show runway status on the new map.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1105
2021-05-31 14:18:27 -07:00
Dan Albert
30f6220c3e
Remove the old map.
2021-05-30 19:57:14 -07:00
Dan Albert
8c8814d07e
Add culling display option to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-30 19:32:08 -07:00
Dan Albert
417fc3af5b
Allow objects near missile launchers to be culled.
...
We want the scud to not be culled, but we should still cull things
nearby. Rather than making the scud the center of a 2.5km unculled zone,
just exclude missile objectives from culling.
2021-05-30 19:29:59 -07:00
Dan Albert
2218733da4
Add exclusion zone display to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-30 18:50:53 -07:00
Dan Albert
bc7faee880
Add navmesh map mode to the new map.
...
https://github.com/dcs-liberation/dcs_liberation/issues/1097
2021-05-28 17:00:33 -07:00
Dan Albert
e9b5784d30
Update player slot advice for update UI.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-27 17:35:54 -07:00
Dan Albert
e2034b19e7
Update missing clients advice.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 20:41:22 -07:00
Dan Albert
49102e510d
Disallow creating missions with missing pilots.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
9c2bad85d5
Show number of missing pilots in the UI.
...
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
Dan Albert
4147d2f684
Initial squadrons implementation.
...
Doesn't actually do anything yet, but squadrons are created for each
aircraft type and pilots will be created as needed to fill flights.
https://github.com/dcs-liberation/dcs_liberation/issues/276
2021-05-26 17:49:53 -07:00
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
de9651533f
Load map.js explicitly from canvas.html.
...
Without this it's hard to get to map.js in the debug tools since Chrome
doesn't know about the anonymous js. Probably improves logging too.
2021-05-25 18:46:41 -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
d788b286aa
Remove unused UI classes.
2021-05-23 13:03:18 -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
98e0be6be9
Revert "Correct radar detection."
...
We need this after all, but we do need to audit the list. Will follow
up with that fix.
https://github.com/dcs-liberation/dcs_liberation/issues/1109
This reverts commit f68935735d436385a0821e1168a8726c7dba8ebb.
2021-05-23 01:10:29 -07:00
Dan Albert
2df17c32cd
Clean up aircraft selector.
2021-05-22 17:11:10 -07:00
Dan Albert
f68935735d
Correct radar detection.
...
This list includede units without radars and also missed units with
radars. Stop curating the list and just query the unit type.
2021-05-22 15:36:56 -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
4e37666037
Clean up the category property of TGOs.
...
This really needs to be a proper type, but this is a start: create new
categories for the types of TGOs that are missing. This removes some
icon special cases.
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
4a096cb728
Use load instead of setHtml so paths resolve.
...
Without this we can't resolve local paths to files.
2021-05-15 01:21:25 -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
Schneefl0cke
56abd0bb7f
Add option for setting desired mission length.
2021-05-11 03:13:15 -07:00
Dan Albert
b7619630cf
Add logged_duration context manager for profiling.
2021-05-08 18:06:55 -07:00
Dan Albert
87e6080215
Fix "show actual front line location".
2021-05-08 16:49:05 -07:00
Dan Albert
e721a234e1
Clean up front line code.
...
The routes do not need be be recreated each time we create a
`FrontLine`. The front lines follow the convoy routes, which are static.
Add the convoy route data to the `ControlPoint` the way we do for
shipping lanes and have `FrontLine` load the data from there.
2021-05-08 16:46:02 -07:00