Squashed commit of the following:
commit a4dd860660db64053fb75d251d58194b1aa99d51
Author: Stuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Date: Thu Oct 26 20:33:48 2023 +0100
WS30 - Ground mesh material lookup
The default HUD still relies on legacy OpenGL features, which makes it
incompatible with the GL core profile. A replacement involving Canvas
has been discussed before, but for now a toggle switch is enough to test
the core profile.
Values for options can be separated by both the "=" character (the old way) and a space.
The switch options enable/disable, now have a third variant with a main name that can take the values true/false, 1/0 or yes/no. E.g., in addition to the pair of options `--enable-fullscreen` and `--disable-fullscreen`, we now also have an option `--fullscreen`, which can be used with no value (the default is enable) or with true/false, 1/0 or yes/no.
All existing options work as before.
Fix a crash when passing incorrect number of arguments to
various telnet methods; check the number of tokens and
report an error if not as expected.
Also fix the file-name to avoid collison with the SGPropertyNode
implementation file
SF-ID: https://sourceforge.net/p/flightgear/codetickets/2823/
Allow wrapping of a naFunc as a custom binding class, without
the need to create a proxy command in the global command
manager.
Requires corresponding SG commit.
Check for a failed path resolve in FGTextrueManager, and report this
explicitly with the input path, to give the user some idea what is
going on.
Thanks to Huntely Palmer for the suggestion.
SF-ID: https://sourceforge.net/p/flightgear/codetickets/2820/
Make the min, max and factor arguments to propert-adjust
and property-multiply optonally use a -prop version to
read a value from the global property tree.
Add a unit-test written by Huntely, and extend the AP configure code, so the
'time' config of monostables doesn't trigger an incorrect warning in the
console / logs.
Thanks to Huntley Palmer for pointing this out.
SF-ID: https://sourceforge.net/p/flightgear/codetickets/2812/
In YASim XML <gear>, `spring2` is a new dimensionless term. Default
value zero is backwards compatible. The new spring force equation is:
force = _spring * compression * (_frac + spring2 * _frac**2)
This is intended to help with
https://sourceforge.net/p/flightgear/codetickets/1509.