RndName
c8d22925ee
correct prices for ewr and sams
...
prices will now be calculated for the whole group by the generator by
looking up the price using the GroundUnitType wrapper
fixes #1163
(cherry picked from commit 96be6c0efe )
2021-08-08 12:52:04 -07:00
Chris Seagraves
1bc16fc82c
Fix for crash when clear weather.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1394
(cherry picked from commit bc2539b566 )
2021-08-08 12:52:04 -07:00
bgreman
104a46de85
Fixes #240 by making statistics windows axis labels integers ( #1370 )
...
(cherry picked from commit 7ba4077f9f )
2021-08-08 12:52:04 -07:00
Chris Seagraves
a58d3febcb
Notes to kneeboard ( #1375 )
...
Adds global-level kneeboard notes. Explicit save compatability with 4.0.0
(cherry picked from commit e94d48c265 )
2021-08-08 12:52:04 -07:00
Chris Seagraves
54ac4a387a
Add Cloud Base Altitude to Weather Display ( #1371 )
...
Adds tooltip with cloud base altitude to weather panel
(cherry picked from commit f80696b724 )
2021-08-08 12:52:04 -07:00
Chris Seagraves
32dc3c3170
asset reference links 😎 ( #1363 )
...
Adds urls to unit info pages that don't have data.
(cherry picked from commit 5f5b5f69e3 )
2021-08-08 12:52:04 -07:00
Chris Seagraves
dc8f17774e
Update main.py ( #1382 )
...
(cherry picked from commit d99f8fef09 )
2021-08-08 12:52:04 -07:00
Simon Clark
3badda600d
Fix begin campaign button on reload.
2021-08-08 12:52:04 -07:00
Brock Greman
17f2bcc9c9
Clarify the impact of non-cold flight starts.
...
(cherry picked from commit 34470336e4 )
2021-06-26 12:29:23 -07:00
Chris Seagraves
7f68846023
Include control point name in ground object info.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/498
(cherry picked from commit ffcae66f59 )
2021-06-26 11:24:20 -07:00
Dan Albert
f2de1fdac6
Fix save path for new games.
...
(cherry picked from commit e6bf318cdf )
2021-06-26 11:01:22 -07:00
Chris Seagraves
94861ca477
Use directory of current save for open/save-as.
...
(cherry picked from commit b601d713d2 )
2021-06-25 23:02:09 -07:00
Dan Albert
278b9730cd
Fix crash when buying or selling TGO units.
...
Updating the game destroys this window so we cannot continue with the
calls. It worked in my initial testing, so presumably it's partly
dependent on when the finalizers run.
Since the windows will be destroyed there's nothing for us to actually
update, so just remove that signal and the explicit close calls.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1344
(cherry picked from commit 4d0fb67c53 )
2021-06-25 16:30:51 -07:00
bgreman
ddc076b141
Implements #1331 by changing the Pass Turn button text on Turn 0. ( #1333 )
...
(cherry picked from commit 26743154d8 )
2021-06-24 11:00:05 -04:00
Dan Albert
85ca85ac6d
Signal game update when buying/selling TGO units.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1312
(cherry picked from commit 6f264ff5de )
2021-06-23 20:08:31 -07:00
Dan Albert
da917a7dde
Fix another unit type mismatch.
...
(cherry picked from commit a06fc6d80f )
2021-06-23 20:02:02 -07:00
Dan Albert
b03d1599e1
Add a feature flag for pilot limits.
...
This doesn't currently interact very well with the auto purchase since
the procurer might by aircraft that don't have pilots available. That
should be fixed, but for the short term we should just default to not
enabling this new feature.
(cherry picked from commit 3ddfc47d3a )
2021-06-23 18:47:47 -07:00
bgreman
8dc35bec5a
Fix empty convoys ( #1327 )
...
* Hopefully getting rid of empty convoys for good
* changing Dict to dict for type checks
(cherry picked from commit 3274f3ec35 )
2021-06-23 19:51:37 -04:00
bgreman
3f4f27612b
Fixes #1310 ( #1325 )
...
* Fixes #1310 by only refunding GUs if no faction CP has an attached factory. Previously it would refund all units at the CP, including aircraft.
Also changes the CP CAPTURE cheat to work at any CP regardless of adjacency to frontline or BLUEFOR/OPFOR state.
* Fixing typing issues, changint all Dict[] types to dict[]
* Updating changelog
(cherry picked from commit c3b8c48ca2 )
2021-06-23 17:19:58 -04:00
RndName
1f318aff3c
set window title empty on new game
...
also fixed small exception when aborting the open file dialog which lead to " as filename
fixes #1305
(cherry picked from commit 752c91a721 )
2021-06-23 12:44:49 -07:00
Dan Albert
b057f027d5
Return pilots when canceling flight creation.
...
(cherry picked from commit db36cf248e )
2021-06-22 23:36:49 -07:00
Dan Albert
6789beb4b5
Fix unit type mismatch.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1314
(cherry picked from commit 84a0a3caeb )
2021-06-22 22:55:26 -07:00
Chris Seagraves
c227923bdf
Fix bug with file name in title with invalid save games.
...
(cherry picked from commit 814519248c )
2021-06-22 14:20:16 -07:00
Simon Clark
3a193d1dd4
Add clarity for mod selection page.
2021-06-21 20:04:34 +01:00
Dan Albert
4dc1daa100
Fix command line campaign generator.
...
(cherry picked from commit 47e038c9fa )
2021-06-20 23:46:32 -07:00
Simon Clark
c2f112e3a6
Refactor the mod select changes, re-add accidentally deleted factions.
2021-06-21 01:14:07 +01:00
Simon Clark
ef3f7125b3
Make mod selection nicer and deprecate MB-339.
...
Mod selection is now done via checkbox in the new game wizard.
The MB-339 is being turned into a paid module, and the free mod no longer works, so it's been removed.
2021-06-21 00:03:22 +01:00
Chris Seagraves
7e17533cc6
Air/ground intel prettification. ( #1285 )
...
* Sort rows.
* Add totals to group headers.
* Indent content.
* Add space between sections.
2021-06-20 13:43:54 -07:00
Chris Seagraves
7808da118a
Include the save name in the window title.
2021-06-20 13:33:27 -07:00
SnappyComebacks
5b31026e1c
Fix UI to obey max group sizes.
...
This also adds max group sizes for aircraft that need it but don't
according to DCS. Only the first tanker or AEW&C unit in a group can be
contacted by radio.
2021-06-20 13:32:00 -07:00
Simon Clark
6c3987ec86
Updates the intel box text for turn 0.
...
It was a bit misleading beforehand, as there were no forces on either side.
2021-06-20 15:56:53 +01:00
Dan Albert
e09f53da8f
Fix exceptions when no aircraft are selected.
...
This commonly happens during reset of the UI, but also happens when the
player is out of aircraft.
2021-06-19 20:26:33 -07:00
Dan Albert
9940dc8451
Fix type annotations for some UI code.
2021-06-19 15:03:39 -07:00
RndName
ad6ed21b6b
Add EWR objects to predefined waypoints
2021-06-19 11:01:35 -07:00
RndName
1763f59320
Allow deletion of multiple waypoints by selection
...
#1221
2021-06-19 10:40:40 -07:00
RndName
08d32ffc77
Allow shift/ctrl click to buy/sell multiple units.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1221
2021-06-19 10:36:33 -07:00
RndName
7e3cebb96d
Fix purchase groups.
...
The new class PurchaseGroup coming in with commit 9bb986c was not
initiallized correctly.
This causes the bug that the update function is not working when you
for example open the AircraftRecruitmentMenu press "+" or "-", close
the dialog and then open ArmorRecruitmentMenu. If you then want to buy
or sell the update function will raise an error "Internal C++ Object
Already Deleted".
2021-06-19 10:33:35 -07:00
jsjlewis96
6cd711a1e2
Added option to disable AI pilot levelling
2021-06-19 03:03:50 -07:00
Dan Albert
9bb986cff9
Update *all* buy/sell buttons, not just the row.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1207
2021-06-18 20:14:44 -07:00
Dan Albert
95d3ff4cbe
Don't show ground unit menu at carriers.
...
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1220
2021-06-18 19:39:42 -07:00
Dan Albert
4ea66477fe
Add options for changing pilot limits and rates.
2021-06-18 18:33:15 -07:00
Dan Albert
d3be732566
Fix tooltips for scuds/silkworms.
...
Same problem as the ground object menu, same cleanup required at some
point.
2021-06-18 18:14:20 -07:00
Dan Albert
933517055e
Fix ground object menus for scuds and silkworms.
...
These really need to be added to the unit data, but this will do as a
stop gap since the group generators need an overhaul anyway.
2021-06-18 18:06:05 -07:00
jsjlewis96
fe227e02b8
Shows total at top for economic intel
2021-06-18 17:35:18 -07:00
C. Perreau
cea970f065
Merge pull request #1248 from jsjlewis96/dot-neutral
...
#987 Neutral dot labels in options
2021-06-18 18:13:09 +02:00
Dan Albert
09704b6f37
Add a wrapper type for ground unit info.
2021-06-17 22:09:17 -07:00
jsjlewis96
62f6b57948
Added neutral dot option
2021-06-17 23:12:30 +01:00
Dan Albert
ace42019fb
Cap squadron size, limit replenishment rate.
...
This caps squadrons to 12 pilots and limits their replenishment rate to
1 pilot per turn. Should probably make those values configurable, but
they aren't currently.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1136
2021-06-13 14:40:15 -07:00
Dan Albert
25c289deaa
Make squadron nicknames optional.
2021-06-12 21:43:26 -07:00
Dan Albert
3c802e7d55
Fix unit info window.
2021-06-12 21:35:01 -07:00