1
0
Fork 0
Commit graph

10312 commits

Author SHA1 Message Date
Fernando García Liñán
63fbe7d525 Fix missing forward declaration in forest shader 2021-01-10 16:40:05 +01:00
James Turner
c6b8869fed Tooltips: set a flag when registering the commands
This allows the C++ side to avoid invoking the commands prematurely.
2021-01-08 19:35:09 +00:00
Gijs de Rooy
b7a6221c63 Stereoscopic view options: increase minimum screen distance to 10cm to prevent black screens 2021-01-08 17:16:25 +01:00
Yves Tolosa-Joas
019acb0451 Added AI Liveries and traffic for UNI Air Japan 2021-01-07 11:24:17 +00:00
Lars Toenning
51d7169329 Fix italian swift translation 2021-01-07 10:28:06 +00:00
James Turner
b5b9ec6dd3 Launcher: Updated Russian translations
From Michael Danilov
2021-01-06 14:25:17 +00:00
James Turner
b5f574fa4f Cockpit-view: add step to head-shake factors
Suggested by Michael Danilov: add step values to these sliders, so
we get precise values rather than arbitrary ones.
2021-01-06 14:25:17 +00:00
Fernando García Liñán
5e3131d384 Add material definitions for Oceania by IskenderWang 2021-01-05 14:20:41 +01:00
Fernando García Liñán
21a6e20701 Tweak shadow offset parameters and cascade ranges
This should hopefully fix some shadow acne edge cases.
2021-01-05 11:24:19 +01:00
Fernando García Liñán
a5e8ffa450 Use a 16 bit depth texture for the shadow map 2021-01-05 11:23:36 +01:00
Fernando García Liñán
5a841e2ebe Remove 'You are on runway' message when spawning with --parkpos
Fix by Michael Danilov
2021-01-05 09:59:20 +01:00
Pablo Barrio
4df4d22081 Approve Swift connection translation 2021-01-04 09:58:12 +00:00
Julian Smith
97c9b06a7e mice.xml: don't let mouse move control surfaces while paused or replaying.
Avoids loss of control caused by movement of mouse while paused, if in
flight-control mode.

The new behaviour is enabled by default.

It can be disabled by manually setting
/sim/freeze-mouse-flight-controls-on-pause=false. But note that this property
is deliberately not archived so this needs to be done each time Flightgear is
run.
2021-01-01 17:19:08 +00:00
Julian Smith
f703b28d56 Added control of /sim/multiplay/hot to Multiplayer Settings dialogue.
This enables collisions with multiplayer aircraft.
2021-01-01 16:50:20 +00:00
Fernando García Liñán
4cdd685de8 Fix FOV reset using cockpit's default FOV instead of current view 2020-12-31 11:36:37 +01:00
Stuart Buchanan
38ec3d2be8 Ground shaking effect
Addition to the existing headshake/redout to provide some
cockpit shaking effect when traversing rough ground.

Path from Benedikt HALLINGER.
2020-12-30 20:39:08 +00:00
James Turner
eaa31bb422 Missed changes from KAP-140 fixes 2020-12-30 16:39:53 +00:00
James Turner
b42759704f KAP-140:
The ALT-ARM knob should only be arming the altitude interception when 
the AP is activated. When rotating the AP alt-selector knob with 
disabled AP, just the altitude alarm beep is configured.

From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2489/
2020-12-27 13:59:30 +00:00
James Turner
60b144cf71 Add switching between NAV/APR/REV modes in the default KAP140.
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2488/
2020-12-27 13:57:35 +00:00
James Turner
080e1ed403 KAP-140 annunciation fixes
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:56:20 +00:00
James Turner
ad6ab066ad Additional fix for KAP-140 LOC/GS ARM
From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-27 13:51:36 +00:00
Fernando García Liñán
9a7790c5e8 Remove unused property from defaults.xml 2020-12-27 04:46:42 +01:00
Yves Tolosa-Joas
92152b3403 Corrected AI 738 Radii and added Callsigns for All Nippon and Air China 2020-12-24 10:45:07 +00:00
Yves Tolosa-Joas
ddd9d1879a Added Traffic and Livery for AirHongKong Cargo 2020-12-24 10:45:07 +00:00
Yves Tolosa-Joas
49350fb393 Added AI Traffic and Livery for Solaseed Japan 2020-12-24 10:45:07 +00:00
James Turner
292695a7b5 Mouse-mode feedback message adjusts based on trigger
When triggering mouse-mode switching with right-click instead of Tab,
adjust the visual feedback to reflect this. Suggested by Huntley
Palmer.

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2484/
2020-12-23 12:37:50 +00:00
Fernando García Liñán
916322d0ed Add clustered shading support to most Effects and shaders 2020-12-23 11:10:34 +01:00
Fernando García Liñán
7158dfdff3 Revert "Add clustered shading support to most Effects and shaders"
This reverts commit b3237e207a.
2020-12-22 17:22:05 +01:00
Slawek Mikula
0113e8c4ad Polish translation updates - next branch 2020-12-22 11:07:05 +01:00
Fernando García Liñán
b3237e207a Add clustered shading support to most Effects and shaders 2020-12-22 10:53:31 +01:00
Fernando García Liñán
a058bed4d5 (Another) significant rework of the clustered shading feature 2020-12-22 10:53:31 +01:00
Yves Tolosa-Joas
73d04548cd Added AI Traffic and Livery for Ibex Japan 2020-12-21 12:22:54 +00:00
Julian Smith
e890787975 defaults.xml: default /sim/mp-carriers/auto-attach to true. 2020-12-20 15:21:28 +00:00
Julian Smith
8fece7b553 defaults.xml: don't mark /sim/tower/auto-position as userarchive="y".
This property is set to false by ATC-ML, which then breaks tower view in
subsequent fligtgear runs for all aircraft It's tricky to figure out what has
happened, so best to not archive the setting in the first place.
2020-12-20 15:21:28 +00:00
Julian Smith
05ee53dea8 Allow control of whether to auto-attach to multiplayer carriers.
gui/dialogs/multiplayer.xml: added checkbox.

defaults.xml: default /sim/mp-carriers/auto-attach to false with
userarchive="y".

Multiplayer carrier auto-attach is implemented in
fgaddon/MPCarrier/Systems/MPCarriers.nas.
2020-12-18 20:19:37 +00:00
Stuart Buchanan
466b4e2915 FG1000: Stop attempted duplicate Emesary EIS reg 2020-12-17 22:45:56 +00:00
Stuart Buchanan
b46f5a90da FG1000: Improve Interface loading
Previously it was difficult to create custom EIS as paths
needed to be defined in multiple places.

This change creates a hash of id and paths to make this easier
in the future.
2020-12-17 22:44:08 +00:00
Stuart Buchanan
f8e1bb2e6e Emesary: Improve error messages 2020-12-17 22:42:42 +00:00
James Turner
0d546f5384 KAP140: improve locking to GS/LOC signals
Patch from Benedkit Hallinger:

This patch introduces a check for valid VOR/LOC as well as GS signals, 
and only if they are valid they will be catched.

See: https://sourceforge.net/p/flightgear/codetickets/2476/
2020-12-17 10:26:00 +00:00
Yves Tolosa-Joas
f1838fb7fe Added AI Livery and traffic for ANA Wings 2020-12-17 10:23:05 +00:00
Fernando García Liñán
987a195c0c Add an UI button to force reloading of all Compositor instances 2020-12-17 06:37:24 +01:00
James Turner
c1d1932e5d Menubar auto-hide when leaving normal mouse mode.
Patch from Michael Danilov: when auto-hide of the menubar is enabled,
tigger the hide when we enter (via tab) mouse-flight-controls or 
mouse-look mode, since the menubar is not accessible in these modes
anyway.
2020-12-12 16:42:39 +00:00
Stuart Buchanan
ba89f4c153 WS30: Improved material atlas
Add
- texture size
- shininess
- diffuse
- specular

from material.xml into the fragment shader via sampler1D.
2020-12-08 21:15:13 +00:00
Michael Danilov
1052addd23 Mouse: setting for flight controls sensitivitiy. 2020-12-08 15:10:36 +01:00
Fernando García Liñán
00b465b84f Decrease shadow mapping bias and better 3rd cascade depth range 2020-12-06 14:44:03 +01:00
Stuart Buchanan
3e3593119c WS30: Shader change to use texture atlas
These changes use the generated Texture2DArray for
texture lookup, supporting arbritary sets of material
textures.
2020-12-05 13:11:59 +00:00
Stuart Buchanan
d73b9d8128 WS30 Add transparency to primary material textures
The texture array used by WS30 requires that all
component textures be the same size and format.

This commit adds an alpha channel to those
png file used as primary textures in materials.xml
files which did not have one.
2020-12-05 12:46:06 +00:00
Erik Hofman
908c60a6aa Add a description of the red channel 2020-12-04 09:27:23 +01:00
Fernando García Liñán
3f489619c5 Fix landmass geometry shader errors
It was using features from GLSL 120 and 150. Only use 120 features for now.
2020-12-03 23:24:40 +01:00
Fernando García Liñán
6a15207b42 Fix taxiway flickering at lower shader quality levels 2020-12-03 19:25:01 +01:00