Richard Pump
e4ba9a8b72
Added squadron configuration gui
...
- added add/remove buttons to Air Wing Menu, implemented remove
2021-12-23 13:20:41 +01:00
Starfire13
4803ae5f78
Fixed typo in squadrondefgenerator.py
2021-12-23 11:20:31 +00:00
Starfire13
d739d830ab
Fixed typo in naming.py
2021-12-23 11:19:56 +00:00
MetalStormGhost
3626fa79b4
Re-add From Caen to Evreux campaign.
2021-12-22 14:16:11 -08:00
Dan Albert
dea2c883a7
Renormalize line endings.
2021-12-22 13:22:13 -08:00
Dan Albert
2193af1a95
Add .gitattributes file to enforce line endings.
2021-12-22 13:22:12 -08:00
MetalStormGhost
88bc4fd852
F-104 mod support.
2021-12-22 13:01:51 -08:00
Dan Albert
515efd0598
Draw frozen combat on the map.
...
Very basic display. Draws the engagement footprint for air-to-air
combat, a line from the flight to the target for IP, and lines from SAMs
to their target for air defense.
https://github.com/dcs-liberation/dcs_liberation/issues/1680
2021-12-21 14:56:25 -08:00
Dan Albert
fb10a8d28e
Add frozen combat modelling.
...
This doesn't do anything yet, but sets up the data model handling for
frozen combat. The next step is to show combat in the map view, since
that will be helpful when debugging the step after that one: resolving
frozen combat.
This would benefit from caching the Shapely data for SAM threat zones.
Right now it's generating them once per tick and the stuttering is
visible at max speed.
https://github.com/dcs-liberation/dcs_liberation/issues/1680
2021-12-21 14:52:28 -08:00
Dan Albert
ce4628b64f
Separate combat as a distinct flight state.
...
Will be used later to simulate combat.
https://github.com/dcs-liberation/dcs_liberation/issues/1680
2021-12-21 14:52:27 -08:00
Dan Albert
d9108a7ca6
Update mypy and dependencies.
...
The newer version includes a partial fix for
https://github.com/python/mypy/issues/5485 (it doesn't fix the problem
for frozen dataclasses, but fixes other cases).
2021-12-21 14:51:45 -08:00
Dan Albert
8867aaeb6d
Break up mapmodel.py monolith.
2021-12-21 13:01:24 -08:00
RndName
490a4e8097
Revert "Temporary Fix for broken upload action"
...
This reverts commit 697e2c2b11750ea2d080579563d88ee7c16382bf.
2021-12-21 09:34:56 +01:00
RndName
f9ed61d199
Enable / Disable game specific functions if no game is loaded
...
- Disable Save, Settings, Stats and Notes if game is none
fixes #1854
2021-12-20 13:55:05 +01:00
Dan Albert
61015b127e
Add pull request template explaining branching.
2021-12-18 14:58:08 -08:00
Dan Albert
e99c36a21f
Add links to the FAQ, manual, etc to the bug form.
2021-12-18 14:52:37 -08:00
Dan Albert
0608147cd9
Remove duplicate text in bug report template.
2021-12-18 14:42:42 -08:00
Dan Albert
c40f538782
Migrate bug report template to a form.
2021-12-18 14:41:18 -08:00
Dan Albert
3afaa90183
Fix syntax error in new game bug template.
2021-12-18 14:22:48 -08:00
Dan Albert
bdf2976a89
Add a new bug template for New Game bugs.
...
First attempt at using a bug form so we can use required fields.
2021-12-18 14:20:28 -08:00
RndName
697e2c2b11
Temporary Fix for broken upload action
...
The upload-artifact version 2.3 has problems with 0byte files and prevent the build action from beeing completed.
This temporary fix should be reverted when they fixed the bug.
2021-12-13 20:47:28 +01:00
RndName
c643adf57b
Fix empty convoy when transfer is not completable
...
fixes #1553
2021-12-13 20:45:15 +01:00
RndName
2c21644a2c
Add Easy Communication Setting
...
allow to enforce the mission setting for easy communication
implements #1425
2021-12-12 01:20:17 +01:00
MetalStormGhost
d11d3b58f7
Add option to limit convoy travel distances.
...
CPU load seems to scale with route length, so add an option to limit
the length of the convoy route. The tradeoff is that the performance
sensitive route won't necessarily be a correct route.
2021-11-27 01:40:06 -08:00
RndName
690705ff8f
fix PySide Error
...
fix #1801 which was introduced with f3bf9c0
2021-11-26 09:20:34 +01:00
RndName
34100d1c76
Update UI when buy or sell raises exception
...
fixes #1562
2021-11-22 16:48:52 +01:00
RndName
676a25631b
Generate unit_id for helipads
...
fixes mission scripting error (1748)
2021-11-22 15:05:12 +01:00
Dan Albert
9e92c87351
Revert "Update dependencies."
...
Seems to have broken the executable produced by pyinstaller. It doesn't
repro for me locally so figuring out which dep is the problem would take
ages. Reverting the whole thing to get to a clean state and will
revisit.
This reverts commit 66c8b96c9ace2e88b99cfa30268674af6c2a49f2.
2021-11-21 18:04:03 -08:00
Dan Albert
2a75d14e0e
Revert upgrade to pyside6.
...
This appears to be incompatible with pyinstaller. I get the following
when trying to run the executable generated with pyside6:
```
Traceback (most recent call last):
File "qt_ui\main.py", line 29, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
File "qt_ui\windows\QLiberationWindow.py", line 28, in <module>
File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
File "qt_ui\widgets\map\QLiberationMap.py", line 11, in <module>
ImportError: could not import module 'PySide6.QtPrintSupport'
```
2021-11-21 17:39:43 -08:00
Dan Albert
f3bf9c0c3c
Silence some useless generation warnings.
2021-11-21 13:55:41 -08:00
Dan Albert
acd63fdeac
Fix more not-cleared flight plan elements.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1745
2021-11-21 13:37:45 -08:00
Dan Albert
bc819d59f4
Prevent drawing flights that are being deleted.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1720
2021-11-21 13:21:25 -08:00
Dan Albert
8c2e25339f
More Python 3.10 compat.
2021-11-21 11:30:39 -08:00
Dan Albert
ef73f712ec
More Python 3.10 compat.
2021-11-21 11:28:51 -08:00
Dan Albert
08d670a882
Really fix the build.
2021-11-20 22:27:48 -08:00
Dan Albert
477d3fb197
Fix CI builds for PySide6.
2021-11-20 19:30:30 -08:00
Dan Albert
4a7dae9cc2
Upgrade to PySide6.
...
PySide2 renamed to PySide6 for Qt 6 support. It doesn't seem like
PySide2 is getting a 3.10 wheel, so upgrade to Qt 6 to prep for that.
2021-11-20 19:26:18 -08:00
Dan Albert
69649d7496
Vendor more map js/css.
2021-11-20 19:26:00 -08:00
Dan Albert
12f420f50e
Pre-emptive Python 3.10 compat.
...
Iterator is no longer exposed directly in collections, but is in
collections.abc.
2021-11-20 18:49:14 -08:00
Dan Albert
66c8b96c9a
Update dependencies.
2021-11-20 18:45:27 -08:00
Dan Albert
a51b3b4621
Note HTS support in the changelog.
2021-11-19 16:06:08 -08:00
Dan Albert
d69ebc728b
Add weapon data and loadouts for the HTS.
...
Used in the default Viper DEAD and SEAD loadouts.
2021-11-19 16:05:03 -08:00
Dan Albert
f13795b743
Update pydcs.
...
HTS support.
2021-11-19 16:04:39 -08:00
Dan Albert
1dfc625f79
Clarify display of start times.
2021-11-18 23:25:59 -08:00
Dan Albert
0c731e4856
Fix start time used for the kneeboard.
...
The times we're given are an offset from the turn start, not the mission
start.
2021-11-18 23:13:48 -08:00
Dan Albert
9c0f72921f
Randomly offset mid-mission spawns.
...
This is what we do for the old in-air starts too. It's not perfect but
it's not a regression either.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1754
2021-11-18 17:07:24 -08:00
MetalStormGhost
a94db0ec43
Add a new base banner for FARPs.
2021-11-18 16:58:46 -08:00
Dan Albert
0ff00acf9d
Clarify the role of the faction aircraft list.
2021-11-14 18:56:36 -08:00
Dan Albert
45b7b4b2cb
Fix incorrect radio range for AN/ARC-222.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1740
2021-11-14 13:34:32 -08:00
Khopa
59d178f99e
Fixed mypy errors
2021-11-14 22:05:23 +01:00