James Turner
54ff853454
Fire listeners on metar-properties
...
Mark these as listener-safe, to reduce Nasal warnings.
2020-04-10 10:40:32 +01:00
James Turner
b1395a86ba
Add —disable-hold-short option for MP
...
Allow explicit disabling of the hold-short behaviour when it causes
problems.
2020-04-10 10:40:32 +01:00
Richard Harrison
b8f28d54c6
Carrier init:
...
As well as "FLOLS" in the runway allow it in the parkpos; probably we should rename this to "position" rather than "parkpos"
2020-04-10 00:06:00 +02:00
James Turner
9957d02687
Cmake: detect various packages quietly
...
For packages which are optional, check for them quietly, to avoid lots
of noise in our CMake output.
2020-04-09 14:00:19 +01:00
James Turner
c78e6fb443
Nasal: expose SG log levels as constants
...
This avoids the need to use integers as the first argument to logprint()
in Nasal, which is confusing. Add global constants LOG_INFO, LOG_WARN,
etc.
2020-04-09 13:59:37 +01:00
James Turner
11fb8b8c84
Minor C++11 modernizations in NavDisplay.cxx
2020-04-09 12:04:40 +01:00
James Turner
b1df2ad88a
Fix a 0 -> nullptr
2020-04-09 09:55:42 +01:00
James Turner
92e6cccfdc
Tweak DBus detection, especially for macOS
...
Avoid the need to set PKG_CONFIG_PATH externally, use the internal
CMake behaviour where CMAKE_PREFIX_PATH is added. Unfortunately, we
do still need to manually add CMAKE_INSTALL_PREFIX, which is not
auto-added.
2020-04-08 16:54:20 +01:00
James Turner
f5b04684cf
Disable linking to sentry for now, due to a bug
...
Discovered na upstream issue in sentry-native’s exported CMake targets,
at least on macOS. Disabling until I hear back from them.
2020-04-08 16:07:31 +01:00
James Turner
785436abf4
Nasal: support for unregister FP delegates
2020-04-08 12:27:31 +01:00
James Turner
2500534b1e
Build changes for new crash-reporting system.
2020-04-07 09:38:13 +01:00
Stuart Buchanan
00fd5fbaec
Carrier "abeam" position support
...
Support for --carrier-abeam option, which places the aircraft
at the end of a downwind opposite the FLOLS.
Add launcher support for above.
Add carrier display for launcher showing position relative to
carrier.
2020-04-05 23:13:32 +01:00
Vit Hanousek
cc8b981301
Fix const attribute at eletric motor
2020-04-05 19:49:17 +02:00
Stuart Buchanan
dc6fb53596
Correct defaults FLOLS angle from 3 to 3.5 degrees
...
Adjusted to match the FLOLS model and code.
On carrier approaches 0.5 degress makes a surprising
level of difference!
2020-04-04 18:03:20 +01:00
Stuart Buchanan
5d75933bac
add /fdm/yasim/respect-external-gear-state
...
Previously YASim set /controls/gear/gear-down during startup
depending on whether the aircraft was on the ground or in the air.
As YASim initialization takes place after the overlay is applied,
this over-rode any setting from the overlay.
This change adds a property which can be used by an overlay to
ensure that its /controls/gear/gear-down configuration is not
over-ridden.
2020-04-04 14:55:51 +01:00
Julian Smith
26168e5175
src/GUI/FavouriteAircraftData.cxx: add #include of <memory> to fix compile error.
2020-04-04 11:19:46 +01:00
James Turner
e596eb3716
Launcher: move favourites to its own storage class
...
This allows viewing/changing favourite-ness from the details view.
2020-04-04 09:20:23 +01:00
James Turner
330422faf3
C++ modernisation tweaks
2020-04-04 08:06:15 +01:00
James Turner
42a8adb07e
Traffic: use new-style subsystem lookup
2020-04-04 08:06:15 +01:00
James Turner
1d8cad58db
Mouse input: tidy some logic
2020-04-04 08:06:15 +01:00
Richard Harrison
cb08eb6d6d
Fix for range animations in the scenery
...
Reinstate lod/rough and lod/bare and therefore fix the use of range animations that implement hardwired LOD.
Initially I was reluctant to do this - but after a lot more research I'm no longer convinced that range animations cause a huge performance hit and so we can keep this fix until either the scenery is fixed or the situation becomes clear.
Ideally this fix should be reviewed prior to the next LTS release; or maybe after the next LTS release - but in future reviewed it must be
2020-04-04 00:55:12 +02:00
Stuart Buchanan
e0fb27037b
Carrier launcher: Usability improvements
...
- Support for <description> under <entry> in AI scenario
- Carrier icon consistent with UI
- Location "ship" icon toggles between ships and airports.
2020-04-03 21:43:19 +01:00
Stuart Buchanan
6b17604ba8
Carrier launcher: Allow setting altitude
2020-04-03 20:37:37 +01:00
Stuart Buchanan
8a782ea386
Updated Aircraft Carrier iconography for Launcher
2020-04-03 16:16:11 +01:00
Stuart Buchanan
e1f9f6707c
Add carrier-take-off and carrier-approach overlays
...
Adds support for carrier variants of the take-off
and approach overlays, with Automatic selection if
requested.
2020-04-03 16:06:55 +01:00
James Turner
968fbd82e0
Fix typo breaking mag-compass and others
2020-04-03 09:57:13 +01:00
James Turner
f24b886ce4
Launcher: fix favourites loading
...
Also fix some warnings, closer to no output from the launcher.
2020-04-02 16:13:12 +01:00
James Turner
36faef5ad9
FGPanel: Re-order dependency checks
2020-04-02 09:04:25 +01:00
James Turner
d0fd02fa8d
FGPanel: update for Raspbian 10
2020-04-01 21:02:24 +01:00
gallaert
1ce36af298
- When HLA is enabled in Simgear, HLA is also enabled in Flightgear
...
making the build between Simgear and Flightgear consistent.
- Fix an issue with lib/lib64 path between CentOS/RedHat distributions
and Debian derived distributions.
- Fix a compilation issue with HLA in the Flightgear code.
2020-04-01 21:02:24 +01:00
gallaert
4b60bc7a5b
CMake fails to detect OpenRTI include files.
2020-04-01 20:59:39 +01:00
gallaert
e78b92ca27
Update FGPanel:
...
- use OpenGL 2.0 instead of OpenGL 1.0;
- port to Raspberry Pi;
- remove PLib dependencies.
2020-04-01 20:58:59 +01:00
James Turner
5b14d6e495
HID : split out raw logging from event logging.
...
This makes developing XML config files much easier
2020-04-01 20:43:50 +01:00
James Turner
8bedd52e2b
HID: allow raw-descriptor parsing in the XML
...
Also fix deadband computation (do it after min-max ranging)
2020-04-01 16:32:21 +01:00
James Turner
005ddf7c98
Optimisation: avoid property name lookups
2020-04-01 16:20:29 +01:00
James Turner
4addaa9b00
Fix a warning
2020-04-01 15:30:15 +01:00
James Turner
ca97866dd3
Fix a warning
2020-04-01 15:30:06 +01:00
James Turner
96be636240
Fixing up HID event input on Mac/Windows
...
Removing old macOS separate input - the HID version is better in
every way.
2020-04-01 15:29:58 +01:00
Jakub Kákona
b4746123bd
Merge remote-tracking branch 'upstream/next' into next
2020-04-01 15:51:23 +02:00
James Turner
2904321959
Launcher: favourite aircraft support
2020-04-01 10:47:29 +01:00
James Turner
3060cf10c6
Remove a logging call.
2020-03-31 13:56:01 +01:00
James Turner
8ddf4d6699
Fix reset-data-path dialog logic
...
Use correct root path key in QSettings, everywhere
Use the direct Win32 API until Qt wrapper is fixed.
2020-03-26 17:35:01 +00:00
James Turner
0483f2996a
Simplify Launcher thumbnail display code
...
Remove old code paths in the AircraftModel/LocalCache, especially
2020-03-26 17:35:01 +00:00
Erik Hofman
a27dfe1feb
Move more modern C++ idioms and use std::unique_ptr for moving data ownership around
2020-03-26 09:55:11 +01:00
Lars Toenning
d4b1e42b83
Fix playback duration during replay
...
Fixes #1856
Playback starts at endTime - duration if checkbox is set to active. Duration and checkbox status will be saved for umcoming sessions.
2020-03-25 17:21:14 +01:00
James Turner
7811b11565
Fix Yasim ground interface recursion bug
...
The base (non-FlightGear) implementation of YASim ground getBody
would always call itself. Fortunately we always replace it with the
FG-specific subclass (FGGround).
2020-03-24 22:37:23 +00:00
James Turner
7fe641f3b3
Clang: fix some warnings
2020-03-24 22:37:23 +00:00
James Turner
2c056507ce
Launcher: reduce timeout for HTTP updates
...
This helps download performance from inside the launcher
2020-03-24 22:37:23 +00:00
James Turner
f93aadbae6
Clang: fix a warning (char used as array subscript)
2020-03-24 22:37:23 +00:00
James Turner
e6e9a091e1
Merge /u/fgarlin/flightgear-src/ branch next into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/192/
2020-03-24 20:42:16 +00:00