1
0
Fork 0
Commit graph

10298 commits

Author SHA1 Message Date
Chris Ringeval
04de15236a Rename rect object into Wake to match escorts' xml configuration 2022-10-04 08:13:33 +01:00
Florent Rougon
c2130e15e2 i18n: refresh the .xlf files
Not touching the Polish files since they appear to be up-to-date (the
scripts also produced changes for these files but they don't seem very
meaningful; I can of course send the resulting files to Roman if he
wants to inspect the changes).
2022-10-02 23:57:53 +02:00
Roman Ludwicki
d1bf45b664 i18n: update Polish translation 2022-10-02 23:18:01 +02:00
Delta Echo
23b17f6e3f FLARM: Add support for Salus combi instrument, various small improvements 2022-09-29 14:43:40 +02:00
Roman Ludwicki
f29af4e558 Fix MHz unit 2022-09-29 00:46:59 +02:00
Roman Ludwicki
41006285d5 Fix description for Shift-F10 2022-09-29 00:45:58 +02:00
Roman Ludwicki
eed2bc3259 Correct margin for message text in the "Download scenery" dialog.
Minor correction for margin and padding for layout.
2022-09-28 16:43:50 +02:00
Roman Ludwicki
6c025f04b2 Correction of the arrangement of controls for "Weather" dialog
Remove gaps made by space characters.
Add ability to stretch the window.
Adapt to the Tortola style too.
2022-09-28 00:10:12 +02:00
Roman Ludwicki
fc60ae32c9 Correction of the arrangement of controls for "Devel extensions" dialog 2022-09-27 21:10:56 +02:00
James Turner
1a495a8ba9 Remove accidently added file 2022-09-26 09:01:02 +01:00
James Turner
312822e4b0 Canvas: reduce SVG console spam
Ignore certain standard elements added by Sodipodi / Inkscape, to
reduce console spam loading SVGs.
2022-09-26 08:59:18 +01:00
James Turner
459dea77e5 Add more Nasal skeleton for new UI objects 2022-09-26 08:58:24 +01:00
James Turner
82cb79feb3 Add additional widgets for PUI compat
Styling of these is not complete yet.
2022-09-09 12:19:33 +01:00
James Turner
10a31e1f3c Add defaults.xml entry for GUI module 2022-09-05 13:13:22 +01:00
Roman Ludwicki
51a44d1b97 Fix the layout of the weather window after adding the help button 2022-09-01 14:17:47 +02:00
James Turner
7f1f3f6d52 Add help button to Weather dialog
Patch by Mariusz Matuszek

SF-ID: https://sourceforge.net/p/flightgear/codetickets/2754/
2022-08-31 15:55:39 +01:00
Lars Toenning
55b17f4c5e Block metar winds if simbrief winds are active 2022-08-21 15:57:34 +02:00
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