1
0
Fork 0
Commit graph

10181 commits

Author SHA1 Message Date
Lars Toenning
91401a95b0 Add option to read upper winds from simbrief 2022-08-16 08:33:35 +01:00
Lars Toenning
725ce7d3f5 Phi: Add map option to disable repositioning own aircraft by dragging 2022-08-01 12:08:07 +01:00
Lars Toenning
fc3b7b8b56 Phi: Highlight "follow aircraft" button if enabled 2022-08-01 12:08:07 +01:00
Lars Toenning
5626dc51f5 Phi: Remove unused css rule 2022-08-01 12:08:07 +01:00
James Turner
d408af3831 OpenFlightMaps: include AIRAC cycle
Patch by Thilo Schürmann
2022-08-01 12:05:59 +01:00
Gijs de Rooy
af57a21796 Add another Saitek X52 joystick name 2022-08-01 10:27:45 +02:00
James Turner
89ec23f572 Add OpenFlightMaps layer
Code changes are from:
 https://github.com/Thilo277/Flightgear-openflightmaps/blob/main/FGDATA_Phi_topics_Map.js.diff

Patch by Thilo Schürman
2022-07-25 09:51:38 +01:00
Roman Ludwicki
32e3a03946 Fix text overlap on checkbox in FGComm dialog 2022-07-22 20:39:32 +02:00
Roman Ludwicki
18c6a778a7 Fix radio buttons in random failures dialog. 2022-07-22 20:12:46 +02:00
Roman Ludwicki
b4cb00be23 Corrections for resizing "Documentation Browser" and "Select an Airport" dialogs 2022-07-19 00:39:21 +02:00
Roman Ludwicki
1c5fcf3cef Add missing button "Rudder Trim Pos" for joystick assignment 2022-07-17 19:55:23 +02:00
James Turner
3965f216e5 Gui: add some helpers:
- clear() function on LineEdit
 - setDefault/Destructive flags on Button
 - check if focus is set on a Widget
2022-06-30 12:41:17 +02:00
James Turner
fe7c87b21a Nasal glue for building widgets from XML compat 2022-06-30 12:41:10 +02:00
Josh Davidson
918b5fd72f Canvas: Add an option for Canvas dialogs to not take focus from the simulator 2022-06-30 11:33:40 +02:00
Roman Ludwicki
cb5ecad1ec i18n: update Polish translation 2022-06-09 21:03:30 +02:00
Stuart Buchanan
dc167d0656 WS30: Improved coastlines
Modify the ws30 shader to build a coastline using
a high resolution overlay texture mixed with the
landclass texture.
2022-05-28 20:44:25 +01:00
Erik Hofman
141aad7901 Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/fgdata into next 2022-05-15 10:41:47 +02:00
Erik Hofman
b169d59c01 Fix too flat shadowing by not completely removing diffuse light but by toning it down instead. There's almost always reflective light bouncing around. 2022-05-15 10:41:37 +02:00
Florent Rougon
fcbbe4b3ab i18n: update Turkish translation for 'next'
Translation provided by Serkan ÖNDER. The previous commit had the
translations for 2020.3, my mistake.
2022-05-03 14:14:51 +02:00
Serkan ÖNDER
d8e7e55580 i18n: add Turkish translation 2022-05-02 00:18:49 +02:00
Roman Ludwicki
fcadca63a3 Fix range slider for Apply to close mp in Lag Settings 2022-04-24 00:12:03 +02:00
Roman Ludwicki
efe0b52674 Fix autopilot multikey commands
Replace `AoA Hold` to `FPA Hold`
2022-04-22 23:04:21 +02:00
Julian Smith
c55c17dd64 Nasal/multiplayer.nas: always enable multiplayer chat when replaying.
This is an additional fix for bug 2731, ensuring that replay includes chat
messages even if we are not connected to an MP server.
2022-04-22 20:38:00 +01:00
Julian Smith
e0070501e6 Nasal/multiplayer.nas: always enable multiplayer menu items when replaying.
This fixes bug 2731, where MP menu items were greyed out if we are not
connected to MP server, even if we are replaying a recording with MP aircraft.
2022-04-22 00:27:54 +01:00
Stuart Buchanan
e4f578a842 Control: UFO Autopilot from Josh Davidson 2022-04-09 17:26:31 +01:00
Stuart Buchanan
7ee03dd9da WS30: Clean up unused Uniforms 2022-04-09 17:17:15 +01:00
Stuart Buchanan
fc8342887a WS30: Coastline beaches and cliffs
Landclass information is typically not high enough resolution
to render small beaches and coastline features.

This commit uses the steepness of the elevation mesh
to procedurally generate:
a) sea-cliffs (poorly - just a texture at present)
b) beaches, which mix into translucent shallow water
c) breaking waves (poorly - uses the wind direction rather than the
slope normal)
2022-04-09 16:26:00 +01:00
James Turner
e945dafca3 Props: add defaultValue to getInt|Double Value
Simplify handling where the property value might be nil.
2022-04-06 07:49:39 +01:00
Richard Harrison
a395423f27 Nsasl: Added Exec Scheduler
see also https://wiki.flightgear.org/Nasal_Optimisation#Emesary_real_time_executive

Using a scheduler to manage the invocation of Nasal modules provides a more predictable and efficient way to replace update loops and also optimises property tree access to one access per property per frame by using a hash that contains the property values.

There is a default global object created (emexec.ExecScheduler) that should be used in most circumstances.

Each Nasal object simply has to have an update(notification) method. This will be called on a schedule and the notification will contain any requested property values.

The exec will also adapt the rate to the frame rate; with a maximum of 50hz, but this will drop to as low as 4hz based on the frame rate to optimise workload.

The modules will be called in the order in which they were added; so it is possible to have modules in the right sequence (i.e. an earlier module calculates values that are used by a later module)

A simple example is below. The VSD_device has the update method
------

# list of prooperties to include in the notification hash
var properties_to_monitor = {
                                OrientationHeadingDeg  : "orientation/heading-deg",
                                OrientationPitchDeg    : "orientation/pitch-deg",
                                OrientationRollDeg     : "orientation/roll-deg",
                                GroundspeedKts         : "velocities/groundspeed-kt",
                                radar2_range           : "instrumentation/radar/radar2-range",
                                target_display         : "sim/model/f15/instrumentation/radar-awg-9/hud/target-display",
                                vc_kts                 : "instrumentation/airspeed-indicator/true-speed-kt",
                            };
# create Canvas based device (that has an update method)
VSD = VSD_Device.new(designation, textureImage, notification.Ident, root_node);

# register with the exec;
# - ident
# - proprties to include in notification hash
# - object (with an .update(notification) method
# - rate (4 = 1/4)
emexec.ExecModule.register("F15-VSD", properties_to_monitor, VSD, 4);
2022-04-04 17:23:12 +02:00
Richard Harrison
304836f41a Nasal: optimises properties in lp filter
Use geNode instead of getprop
2022-04-03 18:30:17 +02:00
Fahim Imaduddin Dalvi
f3b455b699 Bugfix: Terrain quality taken into account in model shaders.
Objects like OSM buildings using the `model-combined` effect ignored
the Terrain quality. Rayleigh Fog is computed for the terrain only
at "Ultra" level, but was computed for models at all quality levels,
which led to a visual disparity. The shader now takes into account
the terrain quality before computing rayleigh fog for objects.
The `road` effect also had the same issue and is fixed now.
2022-04-02 21:20:20 +03:00
Josh Davidson
6fd8a92b2f Control: Fix bug with invalid FDM 2022-04-02 14:01:28 +01:00
Josh Davidson
d07b892737 Control: Quick cleanup of generic AP V/S filtering 2022-04-02 14:01:21 +01:00
Josh Davidson
25c46a69bc Control: Add reworked Generic Autopilot
Rework of the generic autopilot

https://sourceforge.net/p/flightgear/fgdata/merge-requests/284/

Control: Improve FPA engagement smoothness

Control: Generic autopilot logical improvement
2022-03-31 16:31:32 +01:00
Yves Tolosa-Joas
7cbc34b355 Added Air Mauritius Livery for A350 AI model 2022-03-21 13:59:40 +00:00
Michael Danilov
d7658f0603 Fix f591120032 legacy multiplayer view selector: saving, stop from creating empty prop of the wrong type and always showing as result 2022-03-19 23:52:57 +01:00
Richard Harrison
2fe23785d5 Multiplayer pilot list fixes
- made it more robust so that bad data doesn't stop it from working.
- optimised to store the prop nodes that we use in the list
2022-03-17 19:27:13 +01:00
Richard Harrison
ebce3e6f27 Remove threaded Nasal garbage collection refs #2674 Nasal corruption:
Removed properties from defaults.
2022-03-13 21:36:46 +01:00
Richard Harrison
f44e1066b4 Moved main title to code. 2022-03-10 20:25:26 +01:00
Richard Harrison
3ab0324e37 Added splashscreen definitions 2022-03-10 15:05:18 +01:00
James Turner
54948c502c Location in air: Guard against missing carriers.
Since we don’t force node creation, tolerate the node being nil in
the dialog Nasal helpers
2022-03-06 18:53:41 +00:00
Yves Tolosa-Joas
55641c3727 Corrected Erroneous ICAO Airport Codes in existing JetBlue and Republic Airways trafic files 2022-03-06 18:52:09 +00:00
Yves Tolosa-Joas
dd9833c1e3 Updated AI Traffic for Air Mauritius 2022-03-06 18:52:08 +00:00
Yves Tolosa-Joas
b5e30df5fd Remapped Existing Corsair Traffic to new A330 NEO AI Model 2022-03-06 18:52:08 +00:00
James Turner
2fb18ceed6 ProperyElement: remove dependency on aircraft.nas
Make a local copy of the makeNode helper, so Canvas doesn't depend on
aircraft.nas
2022-03-06 10:59:06 +00:00
Chris Ringeval
650ab4489e Ack to ESA for providing Gaia satellite data used in making the Milky Way texture 2022-03-03 19:09:36 +00:00
Chris Ringeval
6f83fe0c34 Allows ALS filters for space shaders 2022-03-03 19:09:22 +00:00
Chris Ringeval
fe6c709214 Fix ALS gamma sliders for IR and night vision 2022-03-03 19:08:59 +00:00
Richard Harrison
ac21791b1e F-15 fallback - remove incorrect texture
Remove reference to a texture file on my disk that isn't needed.
2022-03-02 14:22:51 +01:00
Richard Harrison
8419dec54a Fix Tyre Smoke/Spray in air.
Previously it was possible that the smoke/spray would continue if the aircraft went weight off wheels whilst smoke was active.
2022-03-02 14:16:19 +01:00