1
0
Fork 0
Commit graph

10481 commits

Author SHA1 Message Date
Benedikt Wolf
476a7bccb5 Nasal hitch.nas: Update by D-NXKT and Bea Wolf 2023-12-13 17:42:44 +01:00
Gijs de Rooy
9e9c0252f7 Update German map tile URLs 2023-12-11 11:49:20 +01:00
TheFGFSEagle
724fad6701 Fix placements not being removed when destroying a canvas
Canvas placements are being added / removed through a listener on "placement" node adds / removals on the canvas's node.
Previously, when the canvas's del method was called, the canvas's node was removed, but not its "placement" subnodes.
This caused the canvas to be destroyed without the placements being removed.
This in turn causes problems when setting up a canvas with the same placement(s).
This is fixed by this commit by removing the "placement" nodes separately before destroying the canvas.
2023-12-09 18:08:55 +00:00
TheFGFSEagle
de7a49a456 Fix both left and right keys being shown when repr'ing a KeyBinding's function (Shift, Ctrl, Alt) keys 2023-12-09 04:04:16 +01:00
Stuart Buchanan
ba10103ccd Support multiple directories in OverlaySelector
Previously only a single directory of logos etc. were
supported by OverlaySelector.  Now multiple directories
may be passed in.

Patch from MERSPIELER.
2023-12-07 11:29:34 +00:00
Stuart Buchanan
b0dbba2944 FG1000: Reduce Emesary Notifications
Previously both PeriodicPropertyPublisher and TriggeredPropertyPublisher
published irrespective of the property value.

This change adds an optional epsilon value below which a
notification will not be made.  This significantly reduces the number
of Emesary notifications generated and therefore updates to the
displays.
2023-12-07 11:06:46 +00:00
Stuart Buchanan
1b81bc976b FG1000: Improve framerates by disabling mipmapping 2023-12-07 11:05:54 +00:00
Henning
e83cc5678f canvas:svg: Fix SVG parser to accept rect without optional x,y
In evalCSSNum return if arg is empty.
Set missing x or y in rect to 0.
2023-12-03 11:16:49 +01:00
Roman Ludwicki
a25c607e01 Change notation "CoG vs Mean Aero Chord" to "Center of Gravity %MAC" 2023-11-21 23:10:22 +01:00
Erik Hofman
b1b768c540 Update fog density when the visibility change 2023-11-20 10:31:29 +01:00
Roman Ludwicki
e64e6288bd Fix crash after click help button in Walker animation dialog
The setValue() fuction expect 'path' and 'value' or only 'value', so in these cases, the content was treated as a path and caused "Illegal character in leaf of property path" error
2023-11-14 22:42:54 +01:00
Roman Ludwicki
1fc323ea57 Update Polish translation 2023-11-14 22:13:14 +01:00
Roman Ludwicki
8279e7604e Fix selecting already installed aircraft in Phi 2023-11-14 21:37:53 +01:00
James Turner
53a6e3b8f8 Add CG-MAC to weights dialog
Patch from Huntley Palmer
2023-11-11 14:19:11 +00:00
Roman Ludwicki
9242e133fd Add option to hide the aircraft on the map
As a student, I would like to be able to use the map for reading the flight plan, frequencies for VOR, NDB, ILS, but without giving away the position of my aircraft, so that I can train in IFR navigation using the instruments only in the cockpit.
2023-11-11 13:55:19 +00:00
Erik Hofman
1267e072f3 Tone down fresnel and shininess a bit 2023-11-09 11:17:42 +01:00
Fernando García Liñán
746532f098 HDR: Render the Moon, stars and planets
Moon textures have been adapted from the following webpage:

https://svs.gsfc.nasa.gov/4720
NASA's Scientific Visualization Studio
2023-11-06 14:56:45 +01:00
scttgs0
228ac3d168 latest airports 2023-11-03 17:43:14 -05:00
Stuart Buchanan
41ccf88618 FG1000 - Fix GDU-1045 Autopilot buttons
Previously the GDU-1045 displays autopilot buttons didn't
work because they were missing a required <offset> element
for the FG1000HardKeyPushed command.  This fixes that, as
well as adding a verification script using xmllint and also
fixing a the NAV button which was incorrectly mapped to FD.
2023-11-03 16:57:57 +00:00
Stuart Buchanan
2b47c8ac61 FG1000 - Make transponder more robust, VFR code
Make transponder display more robust, and define
VFR code in the ConfigStore.
2023-11-02 12:38:48 +00:00
Stuart Buchanan
89f980393a FG1000 - Fix broken display
Caused by incorrect animation object reference.
2023-11-02 12:16:48 +00:00
Roman Ludwicki
3f9dc54c85 For PropertyTreeBrowser, set the path in the title as "/" when the node returns an empty string
Set the title in one place (in a separate function).
2023-10-25 17:09:46 +02:00
Roman Ludwicki
0cd24b172e Fix nasal runtime error "non-objects have no members" for PropertyTreeBrowser 2023-10-25 17:02:10 +02:00
Stuart Buchanan
536cd5f4b6 Updated c172p
https://github.com/c172p-team/c172p/releases/tag/version%2F2020.4.1
2023-10-22 22:09:11 +01:00
Stuart Buchanan
30ee9b5734 Ctrl+Alt+Click handle lack of material info
Previously if a user Ctrl+Alt+Click on a piece of scenery
without material information, FG would throw a Nasal error.
This change handles the situation a bit more gracefully by
at least outputting the lat/lon/alt.
2023-10-22 21:13:21 +01:00
scttgs0
f1ef587a50 latest airports 2023-10-14 01:26:23 -05:00
Fernando García Liñán
8b91f660bc HDR: Better handling of time warp when updating the envmap 2023-10-09 05:52:11 +02:00
Fernando García Liñán
b36210e141 HDR: Use properties for shadowmap and envmap sizes 2023-10-09 04:41:25 +02:00
TheFGFSEagle
5f66773605 canvas.Keybinding.parseShortcut: Accept nil and empty strings, returning nil
This can be used to unset the key binding of a Canvas menu item by using item.setShortcut(nil);
2023-10-06 20:17:25 +02:00
TheFGFSEagle
10306ea92d canvas.gui.MenuItem: Add optional argument for setting the me reference for the callback function (see call for details) 2023-10-06 20:15:20 +02:00
Fernando García Liñán
6cb051369b HDR: Force an envmap update when the view changes 2023-10-05 05:57:05 +02:00
Fernando García Liñán
e12afa0a7d HDR: Fix "floating" shadows in Screen Space Shadows 2023-10-04 02:41:22 +02:00
TheFGFSEagle
d65228be6c props.nas: Add function to swap the values of two property nodes 2023-10-03 21:49:32 +02:00
TheFGFSEagle
590770e555 KeyBinding.nas:parseShortcut: Better handling of empty shortcut string 2023-10-02 03:41:26 +02:00
Fernando García Liñán
b3fe3a2a62 Fix gl_FragColor not being available in GLSL 330 2023-09-30 12:18:26 +02:00
TheFGFSEagle
a82424e03f canvas.gui.widgets.MenuBar: Automatically call setCanvasItem from the constructor 2023-09-30 02:42:15 +02:00
TheFGFSEagle
9b6b8f6b6a Change keyboard shortcut for the Canvas property browser from Ctrl+Shift+p to Ctrl+/
Thanks to PlayeRom for making this work !
2023-09-21 02:10:06 +02:00
Roman Ludwicki
eb731b021d Update Polish transaltions 2023-09-20 02:45:54 +02:00
TheFGFSEagle
72d9aef42b Nasal math module: Add math.sign -> math.sgn alias 2023-09-20 00:46:12 +02:00
Roman Ludwicki
ee14849016 Fix calculate temerature for ISA METAR scenario 2023-09-19 12:27:11 +01:00
Roman Ludwicki
c7c1eee98d Update -h -v output according to boolean options with optional values 2023-09-19 12:27:11 +01:00
TheFGFSEagle
51c73d5037 Add keyboard shortcut for the Canvas property browser 2023-09-13 20:58:56 +02:00
Stuart Buchanan
e7ae33b323 FG1000: Fix slip/skid indicator
Was showing the wrong direction and insufficiently sensitive.
Thanks to dany for the fix.
2023-09-02 20:18:22 +01:00
Stuart Buchanan
b5d6a5b8ed FG1000: Fix ADF
Thanks to Dany and Wayne for debugging and testing.
2023-09-02 20:12:57 +01:00
James Turner
3d47bc2325 Canvas KeyBindings support
- use new built-in KeyBinding in Widget, Menu
2023-08-31 08:59:52 +02:00
Josh Davidson
13d22271a0 Control: Fix phugoid in generic AP mach-on-pitch mode 2023-08-28 16:14:41 +02:00
scttgs0
65ffffa2cc Merge branch 'next' of git://git.code.sf.net/p/flightgear/fgdata into next 2023-08-26 16:28:25 -05:00
scttgs0
12679ae568 latest apt.dat for ws3 2023-08-26 16:28:21 -05:00
Benedikt Wolf
f645f6a195 KLN94: Improve 3D Model, Fix/Hack some Nasal parts so that the script loads without errors (still not working), add animations to bezel 2023-08-26 20:36:52 +02:00
Josh Davidson
65ceeb64b9 GUI: Fix bad alignment in radio dialog 2023-08-12 12:25:42 +01:00