Commit Graph

5674 Commits

Author SHA1 Message Date
Astro-739
fbf1f965fc aircraft yamls initial version, need more work 2024-12-10 19:42:33 +01:00
Astro-739
ffbdec4569 Ship YAMLs 2024-12-09 19:18:46 +01:00
Astro-739
80a896b0ca vietnamwarvessels first batch 2024-12-08 22:52:41 +01:00
Starfire13
1c36d9ec75 Fix F-4E loadout w.r.t. GBU-8 (#422) 2024-12-07 21:43:06 +01:00
Raffson
772a15bab5 Enable/Disable JTAC for OWNFOR faction 2024-12-01 00:36:09 +01:00
Raffson
98f0c93012 Avoid recreating flight-plan when syncing package wpts 2024-11-24 17:44:01 +01:00
Starfire13
5e2f86de96 Add JTAC to Blufor Late Cold War (#418) 2024-11-21 21:26:02 +01:00
Raffson
94baaecf8c Fix TOT not changing after abort 2024-11-16 19:31:36 +01:00
Dan Albert
057f3fe53b Don't allow changing TOT for started packages. 2024-11-16 19:28:23 +01:00
Dan Albert
ce4c73098d Add locking to some UI actions.
This is by no means complete. The bugs that this solves were already in
6.x, but we'd hidden the speed controls for the sim in that release, and
have always said that anything done after pressing "go" the first time
is undefined behavior. This is the first step on making those mid-sim
actions behave correctly.

UI actions such as creating a new package need to be executed between
ticks of the sim. We can either do this synchronously by blocking the UI
until the tick is done executing, acquiring a lock on the sim, executing
the action, then releasing the lock; or asynchronously by queueing
events and letting the sim execute them when it completes the current
tick (or instantly if the sim is paused).

Anything that comes from the new UI (currently just the map) must be
asynchronous because it goes through the REST API, but for the old UI
it's simpler (and because the lock will only be acquired as quickly as
the user can act, shouldn't slow anything down) to do this
synchronously, since it's difficult to use coroutines in Qt.

https://github.com/dcs-liberation/dcs_liberation/issues/1680
2024-11-16 19:09:42 +01:00
Starfire13
eb06a9a9e8 Update F-4E loadouts (#416) 2024-11-16 13:07:22 +01:00
Starfire13
a6b1805290 Update for Able Archer 83 (#417) 2024-11-16 13:03:47 +01:00
Raffson
08e55d9e43 Avoid autoplanning ArmedRecon against naval CPs 2024-11-15 18:53:43 +01:00
Starfire13
27c8f01853 Update Operation Peace Spring with new scenery targets (#415) 2024-11-14 18:59:18 +01:00
Raffson
84c4b992e0 Improve AGL to AMSL transition for naval waypoints
Some maps have inaccurate bounds for sea-zones, thus waypoints that end up being too close to the shore may keep using AGL which could still lead to trouble. Adding a condition to check whether a point is "not on land" will likely fix this issue for maps that have gaps between sea-zones and inclusion-zones around the shoreline...
2024-11-09 14:49:38 +01:00
Raffson
b5225f03a1 Fix #414
Since there's little difference between the two generators for `generate_plugin_data`, we'll have the pretense lua-generator call its super...
2024-11-08 21:02:08 +01:00
Chris Ella
add26ab18e fix: wrong runway repair message for player/enemy
fix #412
2024-11-05 12:41:04 +01:00
Raffson
aef931fc3a Update pydcs for fix w.r.t. AFAK exception 2024-11-03 14:25:48 +01:00
Cedric Menard
2091fdbb27 Add Mbot's Call Artillery Script plugin (#410)
* Add Mbot's Call Artillery Script plugin

* Applied PR comments

* Fix for wrong indentation, remove unused client skill check, added changelog item
2024-11-03 13:02:36 +00:00
Raffson
e959933861 Save-compat fix for Syria 2024-11-01 03:47:01 +01:00
Raffson
eaa73c84ae Set preferred red-alert state for frontline units 2024-10-31 14:01:48 +01:00
Raffson
3147ae6e5c Save-compat fix for South Atlantic 2024-10-31 00:55:58 +01:00
Raffson
7b9bdf84dc Update beacons 2024-10-31 00:45:48 +01:00
Raffson
9e370e1d8d Update pydcs 2024-10-31 00:44:16 +01:00
Raffson
e85d1e8ca2 AGL to AMSL option for naval waypoints
Introduce an option to switch waypoints to AMSL when waypoint is above water. DCS references the bottom of the sea when using AGL, which causes issues for helicopters when they try to fly at altitudes that are lower that the sea bottom, giving them a tendency to fly into the water...
2024-10-30 01:11:53 +01:00
Starfire13
696e2dbbe8 Fix very outdated links (#409) 2024-10-29 22:14:42 +01:00
Raffson
6a5097659b Sync package wpts when primary flight's wpts change
Also recreates all other flight-plans in the package to ensure JOIN, INGRESS & SPLIT are updated
2024-10-28 23:47:26 +01:00
Raffson
b124c6cc61 Fix nav_to for AirAssault
Depending on whether it's a Hercules with paratroopers or a helicopter, ingress' position is going to be different
2024-10-28 20:23:22 +01:00
Raffson
4de7b1c923 Force utf8 encoding in TXT-briefing
Fix #408
2024-10-28 12:50:01 +01:00
Raffson
4711473b64 Fix one-off in FlightWaypointList's indexes
Fixes #304
2024-10-12 18:33:10 +02:00
Raffson
6ae32b13b8 Format missed files with black 2024-10-12 17:50:54 +02:00
Raffson
5c56e7f64e Update npm packages 2024-10-12 17:33:01 +02:00
Raffson
5fdf38c663 Format with updated black 2024-10-12 17:33:01 +02:00
Raffson
11a9d67b91 Update black 2024-10-12 17:33:01 +02:00
dependabot[bot]
216d9bc048 Bump webpack from 5.91.0 to 5.95.0 in /client (#407)
Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.95.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.95.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 15:25:14 +00:00
dependabot[bot]
3bb6c43aca Bump micromatch from 4.0.5 to 4.0.8 in /client (#404)
Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 17:23:29 +02:00
dependabot[bot]
af9416e225 Bump body-parser and express in /client (#403)
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.1)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 15:19:19 +00:00
dependabot[bot]
73feccde9d Bump rollup from 2.79.1 to 2.79.2 in /client (#402)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-12 15:18:52 +00:00
Raffson
ff2ec07d83 Move constants from laypout.py to theathergroup.py
Should fix the "FIXED_POS_ARG not defined" error
2024-10-12 16:35:04 +02:00
Raffson
4aacc68f4a Include layouts & groups from Saved Games folder
Partial #244
2024-10-06 22:33:01 +02:00
Raffson
69c6f8f2f2 Update beacons 2024-10-06 22:27:51 +02:00
Raffson
4c3b16e1da Support for fixed position & heading in layouts 2024-10-06 22:27:51 +02:00
Raffson
2b780e3d69 Adjustable OPFOR headings when OPFOR ATO is selected 2024-10-06 22:27:50 +02:00
Raffson
a68bcb9ea1 Add class to Patriot AMG 2024-10-06 22:27:50 +02:00
Raffson
0770fafbcb Save-compat fix for Syria airport rename
Amman is now Marka...
2024-10-06 12:41:51 +02:00
M Chimiste
169ef26329 Set Pretense Player Flight Waypoints to CPs (#385) 2024-10-06 01:12:02 +02:00
Raffson
168ba7bd1e Pydcs update 2024-10-06 00:18:08 +02:00
Raffson
59f98a4c16 Make combat landing configurable 2024-10-05 23:04:06 +02:00
Raffson
9bd6c6c404 Overload takeoff_time for PatrollingFlightPlan
Fixes bug where TARCAP get screwed TOTs due to a SEAD Sweep flight in a CAS package
2024-10-05 22:40:07 +02:00
Starfire13
96e8208e3c Fix typo + improve arty spotter script description (#400) 2024-09-22 23:35:48 +02:00