Stuart Buchanan
1d6b6d9753
Add carrier parking positions to property tree
...
This adds the names of the available parking positions/catapults
to the property tree, so we can build a suitable in-sim list
of parking positions for users to select from.
2020-04-18 18:07:25 +01:00
jano
dc1bc21d2f
Manufacturer code added to the igc file
...
to make gpsbabel accept our igc files, added the manufacturer code , wich should
be the first line in igc file, as stated page 35 in :
https://www.fai.org/sites/default/files/igc_fr_ts_2016.pdf
2020-04-18 13:36:04 +02:00
Stuart Buchanan
52a6245b49
Add --carrier-position command line argument
...
Takes special values "FLOLS" and "abeam" to set up
aligned for final approach or at the 180 for the carrier flight
deck. Or alternatively a catapult or parking position.
2020-04-17 20:25:18 +01:00
James Turner
faee5dbabf
Code changes for crash reporting with Sentry.
2020-04-17 17:55:34 +01:00
James Turner
a24301f746
UI for enabling crash-reporting in the launcher
2020-04-16 22:33:37 +01:00
James Turner
79221a6225
Tests: HdgToAlt, with a nasty turn.
2020-04-16 16:56:58 +01:00
James Turner
7986999650
Nasal: add _toggleBoolValue helper for Henning
2020-04-16 16:41:18 +01:00
James Turner
444fbd7af4
Tests: add RNAV Heading-to-Alt basic test
2020-04-16 16:41:12 +01:00
James Turner
a46a73459f
Launcher: add Catalan, Slovak to languages
2020-04-16 11:14:14 +01:00
James Turner
e939e877dc
Nasal isInt : handle LONG property type
2020-04-15 16:14:24 +01:00
James Turner
4c0965e3c1
Some initial tests for route discontinuities.
...
Probably many more to add, but this is some basic testing at least of
inserting, querying and removing discontinuities.
2020-04-15 16:11:33 +01:00
James Turner
fa898e7cd6
Add _adjustValue helper to Nasal-props
2020-04-15 11:24:32 +01:00
gallaert
8da16eddd6
Replace boost::to_lower and boost::to_upper by strutils::lowercase and strutils::uppercase
2020-04-14 13:26:53 +01:00
James Turner
81ba646111
Add some type-checking helpers to Nasal.Props
2020-04-14 13:26:29 +01:00
James Turner
e1d00509c7
Enable sentry linkage (for Jenkins)
...
Note this require a sentry-native build with this commit applied:
0c631f6ec7
2020-04-14 11:15:40 +01:00
James Turner
264451246e
Add compositor text to splash, if enabled
...
This will be removed post 2020.2 release, so not worrying about
translation of this.
2020-04-14 11:13:56 +01:00
Erik Hofman
2fd0877824
Only load the video settings when the autosave file is not found. This requires the properties in the video settings configuration file to have the archive attribute set but it solves the problem of loading the autosave file twice (and too late in the process)
2020-04-13 17:03:37 +02:00
James Turner
ba08eee096
Hopefully fix MSVC205 build
...
Tested 2017 which works fine, but 2015 seems unhappy, hopefully this
fixes it.
2020-04-13 14:40:08 +01:00
James Turner
d7398866c7
Launcher: allow ‘Airports’ when adding a scenery path
...
Adjust the warning message to allow for ‘Airports-only’ scenery paths
to be added.
2020-04-13 09:35:52 +01:00
Stuart Buchanan
9b20c08db3
Fix compiler warnings
2020-04-12 21:52:19 +01:00
Stuart Buchanan
b561cc8fac
Unit tests for initial position (Main/positioninit.cxx)
...
Various unit tests for
- airports
- runways
- vor
- ndb
- fix
- lat/lon
- carrier
- offsets from the above (except carriers)
2020-04-12 21:46:50 +01:00
Stuart Buchanan
6ab7c08aa5
Fix --heading for --ndb position option.
...
Previously setting an offset for an NDB start position
resuled in any --heading setting being ignored. This fixes it.
2020-04-12 21:45:20 +01:00
Richard Harrison
bf85a2d542
Fixes to static LOD ranges
2020-04-12 21:34:41 +02:00
gallaert
756fcf4a9a
Obsolescent function called.
2020-04-12 14:40:36 +01:00
gallaert
fb65f64342
Replace BOOST_FOREACH by C++ 11 for range loop.
2020-04-12 14:40:36 +01:00
gallaert
36f8036ce1
Statements following return, break, continue, goto or throw will never be executed.
2020-04-11 22:07:15 +01:00
James Turner
4571769ee7
Quiet some log messages
2020-04-10 19:12:10 +01:00
James Turner
440ca82bca
Launcher: fix a bug setting combo box state
...
Fix for callsign broke settings where the default value of setting is
not that of the control.
2020-04-10 19:09:54 +01:00
James Turner
6bed3fc4dd
Autopilot: fix duplicate call to bind()
...
This fixes an error where the ‘serviceable’ property is tie()-ed twice.
The actual AP components don’t use bind (and aren’t created until init(),
so this only affects the serviceable property.
2020-04-10 13:54:30 +01:00
James Turner
4fd59a6613
Launcher: fix a glitch in restoring callsign
...
The base version of setValue used the wrong syntax, causing callsign
restoring to fail.
2020-04-10 11:58:18 +01:00
James Turner
0a6fe33bc3
Add support for compatible-fg-version in -set.xml
...
This is to evaluate if this is a good idea, not sure if we actually
want to commit to this approach yet.
2020-04-10 10:40:32 +01:00
James Turner
9304bcc9af
Change some warnings to developer mode.
2020-04-10 10:40:32 +01:00
James Turner
ef76bb3064
MP startup: exclude parking positions as hold-shorts
...
Only consider actual taxi nodes, not parking positions, as potential
hold-short locations, when doing an MP runway-start relocation. This
avoids some odd behaviours for groundnets which only define
parking positions and nothing else.
2020-04-10 10:40:32 +01:00
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
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