]> git.mxchange.org Git - flightgear.git/log
flightgear.git
8 years agoMove launcher settings store inside FG_HOME
James Turner [Fri, 8 Apr 2016 09:40:26 +0000 (10:40 +0100)]
Move launcher settings store inside FG_HOME

Settings now in .ini format, at $FG_HOME/flightgear.org/FlightGear.ini

8 years agoRestructure paths handling in the launcher
James Turner [Fri, 8 Apr 2016 09:26:19 +0000 (10:26 +0100)]
Restructure paths handling in the launcher

- move the dialog into a new ‘add-ons’ tab

- separate out ‘restore settings’ from selecting a new fg-data

- actually relaunch the app

8 years agoMerge /u/sanhozay/flightgear/ branch next into next
Torsten Dreyer [Thu, 7 Apr 2016 09:47:01 +0000 (09:47 +0000)]
Merge /u/sanhozay/flightgear/ branch next into next

https://sourceforge.net/p/flightgear/flightgear/merge-requests/35/

8 years agoAllow ATIS format specifications to compare tokens against text values
Richard Senior [Wed, 6 Apr 2016 23:58:34 +0000 (00:58 +0100)]
Allow ATIS format specifications to compare tokens against text values

Prior to this change, it was only possible to compare the values of tokens
to each other for use in conditionals, e.g. landing and departing runway.
This change allows comparison of a token to a text value, e.g. to compare
wind speed to zero.

8 years agoAdd the latest fixes and expose all inertias in the property tree
Erik Hofman [Wed, 6 Apr 2016 12:26:30 +0000 (14:26 +0200)]
Add the latest fixes and expose all inertias in the property tree

8 years agoFix a reset crash with pager threading.
James Turner [Mon, 28 Mar 2016 22:50:47 +0000 (23:50 +0100)]
Fix a reset crash with pager threading.

Ensure pager thread is stopped before we touch
the sgUserData reference to the main props tree.

8 years agoFix corrupt HUD fonts
James Turner [Mon, 28 Mar 2016 21:54:24 +0000 (22:54 +0100)]
Fix corrupt HUD fonts

osg::texture2D changes GL_UNPACK_ROW_LENGTH, which fntLoadTXF is not
prepared to deal with. Reset the value back to 0 before loading +
caching TXF fonts on the PLIB side.

8 years agoUpdated Canvas adaptor getImage API
James Turner [Sat, 26 Mar 2016 20:25:31 +0000 (20:25 +0000)]
Updated Canvas adaptor getImage API

Return the Image by ref ptr instead of raw pointer.

8 years agoFix Clang unused member warnings in JSBsim.
James Turner [Sat, 26 Mar 2016 20:24:57 +0000 (20:24 +0000)]
Fix Clang unused member warnings in JSBsim.

8 years agoFix iterator const-ness.
James Turner [Thu, 24 Mar 2016 20:23:39 +0000 (20:23 +0000)]
Fix iterator const-ness.

8 years agoImprove download-dir behaviour.
James Turner [Thu, 24 Mar 2016 15:10:06 +0000 (15:10 +0000)]
Improve download-dir behaviour.

When set on the command line, will be used for aircraft packages. When
set in the Qt launcher, will also be used for aircraft downloads at
all times.

When changing the path in the launcher, the set of aircraft catalogs
is refresh automatically. Note the default catalog may need to be
re-installed.

8 years agoHTTP subsystem has a default name.
James Turner [Thu, 24 Mar 2016 15:08:38 +0000 (15:08 +0000)]
HTTP subsystem has a default name.

Switch to using type-safe accessors now.

8 years agoNew options setting/clearing helpers.
James Turner [Thu, 24 Mar 2016 15:05:03 +0000 (15:05 +0000)]
New options setting/clearing helpers.

8 years agoFix for view look-at orientation bugs.
James Turner [Thu, 24 Mar 2016 12:26:16 +0000 (12:26 +0000)]
Fix for view look-at orientation bugs.

Force a manual re-calc of view parameters inside update. Will refactor
this in the future since shouldn’t really be necessary.

Ticket: https://sourceforge.net/p/flightgear/codetickets/1855/

8 years agoFix copy-paste bug setting season in the Qt guy
James Turner [Tue, 22 Mar 2016 10:56:05 +0000 (10:56 +0000)]
Fix copy-paste bug setting season in the Qt guy

Spotted by Adrian Serrano!

8 years agoGuard against a crash.
James Turner [Tue, 22 Mar 2016 10:42:08 +0000 (10:42 +0000)]
Guard against a crash.

8 years agoReload user preferences after reading the video configuration file
Erik Hofman [Mon, 21 Mar 2016 10:50:11 +0000 (11:50 +0100)]
Reload user preferences after reading the video configuration file

8 years agoMake --metar automatically imply --disable-real-weather-fetch
Florent Rougon [Sun, 20 Mar 2016 18:56:18 +0000 (19:56 +0100)]
Make --metar automatically imply --disable-real-weather-fetch

The --metar option has no effect unless --disable-real-weather-fetch is
also passed. This often makes users believe that --metar doesn't work.
Change the implementation for --metar so that it automatically implies
--disable-real-weather-fetch.

8 years agoFix "failed to load file: Models/..."
Torsten Dreyer [Sat, 19 Mar 2016 20:05:28 +0000 (21:05 +0100)]
Fix "failed to load file: Models/..."

After removing /Models from FGData loading of shared models from
within a scenery model failed because the ResourceManager did not know
about additional scenery paths.

8 years agoFix missing menubar on Mac in some setups
James Turner [Sat, 19 Mar 2016 14:46:11 +0000 (14:46 +0000)]
Fix missing menubar on Mac in some setups

- Only clear the OSG ‘pose as standalone’ flag when we really show
  a dialog, as opposed to when we /might/ show.

Tested:
 - Qt build using launcher
 - No Qt build
 - Qt build but launcher not requested

8 years agoAdd support for Video adapter rendering presets
Erik Hofman [Sat, 19 Mar 2016 12:10:36 +0000 (13:10 +0100)]
Add support for Video adapter rendering presets

8 years agoFix for FreeBSD and a typo
Torsten Dreyer [Sat, 12 Mar 2016 19:55:46 +0000 (20:55 +0100)]
Fix for FreeBSD and a typo

Fix provided by Ganael LAPLANCHE, thanks!

8 years agoMake some more noise if (stale) fgfs.pid file exists
Torsten Dreyer [Tue, 8 Mar 2016 17:37:32 +0000 (18:37 +0100)]
Make some more noise if (stale) fgfs.pid file exists

8 years agoAI traffic refused to take-off, because the TrafficRecord destructor would unassign...
Durk Talsma [Sun, 6 Mar 2016 20:23:26 +0000 (21:23 +0100)]
AI traffic refused to take-off, because the TrafficRecord destructor would unassign an AIAircraft from it's ATC. This caused it to get stuck in front of the runway and block all other traffic.
This patch may introduce an occasional crash on exit again, because it effectively undoes commit [a972df]. I'll try to find a better fix for that later on.

8 years agoImprove UI around adding aircraft dirs
James Turner [Sat, 5 Mar 2016 09:35:02 +0000 (09:35 +0000)]
Improve UI around adding aircraft dirs

- Check if the selected path, or an ‘Aircraft’ subdir,  contains
some -set.xml files, and if not, warn the user.

8 years agoBugfix: Qt launcher, enable variant aircraft on-disk
James Turner [Sat, 5 Mar 2016 09:34:16 +0000 (09:34 +0000)]
Bugfix: Qt launcher, enable variant aircraft on-disk

When mapping a URI to a QModelIndex, we were only considering the
primary aircraft path, for on-disk aircraft as opposed to packages.

8 years agoFix #1851, wrong type in multiplayer messages
Torsten Dreyer [Mon, 29 Feb 2016 21:29:32 +0000 (22:29 +0100)]
Fix #1851, wrong type in multiplayer messages

See https://sourceforge.net/p/flightgear/codetickets/1851/
for details

8 years agoFix bug #1845, closing the Qt launcher
James Turner [Wed, 24 Feb 2016 19:50:37 +0000 (21:50 +0200)]
Fix bug #1845, closing the Qt launcher

Intercept the close event and quit the app instead of continuing to
run the main FlightGear application.

https://sourceforge.net/p/flightgear/codetickets/1845/

8 years agoNasal security: allow reading explicit --terrasync-dir
Rebecca N. Palmer [Sun, 21 Feb 2016 20:25:02 +0000 (20:25 +0000)]
Nasal security: allow reading explicit --terrasync-dir

(but not /sim/terrasync/scenery-dir - https://bugs.debian.org/780716 )
Needed for animated jetways:
https://sourceforge.net/p/flightgear/mailman/message/34870606/

8 years agoRename Viewer/viewer.cxx to view
James Turner [Mon, 25 Jan 2016 23:17:17 +0000 (17:17 -0600)]
Rename Viewer/viewer.cxx to view

- keep class and file names in sync.

8 years agoView::updateData becomes a private helper.
James Turner [Sun, 24 Jan 2016 19:02:31 +0000 (13:02 -0600)]
View::updateData becomes a private helper.

8 years agoView offset/target-offset props are tied
James Turner [Sun, 24 Jan 2016 19:01:12 +0000 (13:01 -0600)]
View offset/target-offset props are tied

- make these View properties work like all the others, i.e
  bound and unbound when the view changes.

8 years agoRemove legacy ‘axes/lat’ and ‘axes/long’ props.
James Turner [Sun, 24 Jan 2016 18:54:47 +0000 (12:54 -0600)]
Remove legacy ‘axes/lat’ and ‘axes/long’ props.

- only exits to support some legacy joystick hat configs,
  which have been updated to use the goal- properties directly.

8 years agoMake many View APIs private
James Turner [Thu, 21 Jan 2016 04:00:20 +0000 (23:00 -0500)]
Make many View APIs private

- many things are now only needed by tied methods, and
  hence can be made private.

8 years agoSimplify setting view eye/target offsets
James Turner [Thu, 21 Jan 2016 03:51:30 +0000 (22:51 -0500)]
Simplify setting view eye/target offsets

8 years agoSink more properties into View
James Turner [Thu, 21 Jan 2016 03:45:48 +0000 (22:45 -0500)]
Sink more properties into View

8 years agoView-manager binds like a normal subsystem.
James Turner [Thu, 21 Jan 2016 03:38:34 +0000 (22:38 -0500)]
View-manager binds like a normal subsystem.

- no longer need the unusual init-bind order

8 years agoClean up view-number property handling
James Turner [Thu, 21 Jan 2016 02:26:51 +0000 (21:26 -0500)]
Clean up view-number property handling

8 years agoMove FOV property into View
James Turner [Thu, 21 Jan 2016 02:14:58 +0000 (21:14 -0500)]
Move FOV property into View

8 years agoView-Mgr absolute position is gone.
James Turner [Thu, 21 Jan 2016 02:02:46 +0000 (21:02 -0500)]
View-Mgr absolute position is gone.

8 years agoTie view orientations directly
James Turner [Thu, 21 Jan 2016 01:54:26 +0000 (20:54 -0500)]
Tie view orientations directly

- remove need for cached orientations in view-manager

8 years agocopyToCurrent removed.
James Turner [Thu, 21 Jan 2016 01:37:26 +0000 (20:37 -0500)]
copyToCurrent removed.

8 years agoRemove dead code.
James Turner [Tue, 19 Jan 2016 01:05:44 +0000 (20:05 -0500)]
Remove dead code.

8 years agoBetter types for eye/target position
James Turner [Mon, 18 Jan 2016 05:04:05 +0000 (00:04 -0500)]
Better types for eye/target position

8 years agoMove data updating into the View class
James Turner [Mon, 18 Jan 2016 02:21:20 +0000 (21:21 -0500)]
Move data updating into the View class

8 years agoViewManager::copyToCurrent is a no-op
James Turner [Sun, 17 Jan 2016 22:14:11 +0000 (16:14 -0600)]
ViewManager::copyToCurrent is a no-op

8 years agoStart moving view-manager logic into View
James Turner [Sun, 17 Jan 2016 21:48:57 +0000 (15:48 -0600)]
Start moving view-manager logic into View

- work in progress, goal is to make copyToCurrent and most of
  the bind/unbind logic sink into each specific View, avoiding all the
  null pointer checks in view manager.

8 years agoMake View::set_clean private.
James Turner [Sun, 17 Jan 2016 21:15:11 +0000 (15:15 -0600)]
Make View::set_clean private.

8 years agoView can created itself from config properties
James Turner [Sun, 17 Jan 2016 21:13:42 +0000 (15:13 -0600)]
View can created itself from config properties

- use in view manager
- make View constructor private

8 years agoRe-Name FGViewer to flightgear::View
James Turner [Sun, 17 Jan 2016 21:06:45 +0000 (15:06 -0600)]
Re-Name FGViewer to flightgear::View

- avoids confusion with osgViewer and fgviewer application.

(source files to be renamed in a follow-up commit)

8 years agoViewer: move camera-group to view manager
James Turner [Sun, 17 Jan 2016 20:50:13 +0000 (14:50 -0600)]
Viewer: move camera-group to view manager

- also devirtualise many methods in FGViewer

8 years agonew version: 2016.2.0
Automatic Release Builder [Wed, 17 Feb 2016 20:16:33 +0000 (21:16 +0100)]
new version: 2016.2.0

8 years agonew version: 2016.1.1
Automatic Release Builder [Wed, 17 Feb 2016 20:16:33 +0000 (21:16 +0100)]
new version: 2016.1.1

8 years agoFix for the particle system.
Edward d'Auvergne [Tue, 16 Feb 2016 16:33:40 +0000 (17:33 +0100)]
Fix for the particle system.

The problem was that the change to make FGScenery a standard subsystem caused
the particle OSG group to no longer be inserted into the scene graph.  The
solution was to convert the particle group to be set up as a standard branch of
the scene graph, alongside the terrain, models, aircraft, and interior branches.
The particle system is now set up as part of the init() subsystem function call,
so it is compatible with the new subsystem design.

8 years agoHUD fix for MSVC math.h incompatibility with C-99 and the round() function.
Edward d'Auvergne [Thu, 11 Feb 2016 11:34:13 +0000 (12:34 +0100)]
HUD fix for MSVC math.h incompatibility with C-99 and the round() function.

8 years agoadd new QtFileDialog to avoid using Nasal in file selectors
Rebecca N. Palmer [Wed, 10 Feb 2016 22:58:56 +0000 (22:58 +0000)]
add new QtFileDialog to avoid using Nasal in file selectors

(and hence avoid applying Nasal security rules to them)

8 years agoNasal security: give a more user-friendly error on self-check fail
Rebecca N. Palmer [Wed, 10 Feb 2016 22:54:52 +0000 (22:54 +0000)]
Nasal security: give a more user-friendly error on self-check fail

https://sourceforge.net/p/flightgear/mailman/message/34701972/

8 years agoRedesign of the latitude and longitude formatting for the HUD.
Edward d'Auvergne [Tue, 14 Jul 2015 16:57:42 +0000 (18:57 +0200)]
Redesign of the latitude and longitude formatting for the HUD.

This follows from http://thread.gmane.org/gmane.games.flightgear.devel/78650 and
resolves the sign bug https://sourceforge.net/p/flightgear/codetickets/1778/ .

Combined with a matching change to FGData, this changes the HUD formats from the
current set of 3 (note that the text in brackets is not shown in the HUD
preferences PUI dialog, but is show here for reference):

    0) Decimal degrees (37.618890N -122.375000W)
    1) Degrees, minutes (37*37.133N -122*22.500W)
    2) Degrees, minutes, seconds (37*37 08.0 N -122*22 30.0 W)

to (here the text in brackets will be shown in the PUI dialog):

    0) DDD format (37.618890N 122.375000W)
    1) DMM format (37*37.133'N 122*22.500'W)
    2) DMS format (37*37'08.0"N 122*22'30.0"W)
    3) Signed DDD format (37.618890 -122.375000)
    4) Signed DMM format (37*37.133' -122*22.500')
    5) Signed DMS format (37*37'08.0" -122*22'30.0")
    6) Zero padded DDD (51.477500N 000.461389W)
    7) Zero padded DMM (51*28.650'N 000*27.683'W)
    8) Zero padded DMS (51*28'39.0"N 000*27'41.0"W)
    9) Trinity House Navigation (51* 28'.650N 000* 27'.683W)

8 years agoNasal security: don't break file dialogs
Rebecca N. Palmer [Tue, 9 Feb 2016 23:17:41 +0000 (23:17 +0000)]
Nasal security: don't break file dialogs

Include the directory itself when allowing reading
Don't kill the script on a denied directory read

8 years agoNasal security: make directory() use fgValidatePath
Rebecca N. Palmer [Sat, 6 Feb 2016 21:26:05 +0000 (21:26 +0000)]
Nasal security: make directory() use fgValidatePath

Being able to list arbitrary directories is a privacy violation;
existing in-fgdata uses of this are all permitted paths
(i.e. not Terrasync; FileSelector doesn't use it)

8 years agoDefensive handling of locales.
James Turner [Tue, 2 Feb 2016 20:44:46 +0000 (20:44 +0000)]
Defensive handling of locales.

- Use setlocale() to ensure consistent handling of locales and
  string handling irrespective of whether or not QCoreApplication
  is invoked. Forces a the C locale for numerics and collation,
  since many pieces of FG assume this.

8 years agoAdd the latest batch of JSBSim changes. Tested with the Shuttle
Erik Hofman [Fri, 29 Jan 2016 11:23:58 +0000 (12:23 +0100)]
Add the latest batch of JSBSim changes. Tested with the Shuttle

8 years agoVS2013 fixes for some FDMs.
James Turner [Wed, 27 Jan 2016 14:00:09 +0000 (14:00 +0000)]
VS2013 fixes for some FDMs.

8 years agoFix a bug with updating packages.
James Turner [Tue, 26 Jan 2016 16:46:58 +0000 (16:46 +0000)]
Fix a bug with updating packages.

- always refresh the catalogs each launch, so we don’t get mismatches
  between the cached copy the and package zips.

8 years agoPossible fix for Mac strncmp crashes.
James Turner [Tue, 26 Jan 2016 06:47:38 +0000 (07:47 +0100)]
Possible fix for Mac strncmp crashes.

8 years agoUse target_include_directories in some places.
James Turner [Sat, 23 Jan 2016 21:55:11 +0000 (15:55 -0600)]
Use target_include_directories in some places.

I didn’t know about this feature when doing the original CMake files,
we can use this to target header-file includes more precisely.

(Probably more cases exist that can be changed from global to target-
specific includes)

8 years agoFix #1744: disable commradio when unserviceable
Gijs de Rooy [Mon, 25 Jan 2016 15:38:57 +0000 (16:38 +0100)]
Fix #1744: disable commradio when unserviceable

8 years agoAdjust fg root processing order
James Turner [Tue, 19 Jan 2016 23:32:20 +0000 (18:32 -0500)]
Adjust fg root processing order

- ensure fg-root and FG_ROOT are higher precedence than the Qt gui

8 years agoImproved fg-root control from the Qt Launcher
James Turner [Sun, 17 Jan 2016 19:10:22 +0000 (13:10 -0600)]
Improved fg-root control from the Qt Launcher

- add a button to the main dialog, explaining how to adjust the
  fg-root path via the GUI
- tweak the GUI flow to support explicitly changing the path even
  when the default path is acceptable.

8 years agoFixed a bug which caused the solid propellant thrusters of the space shuttle to be...
bcoconni [Sun, 17 Jan 2016 09:26:25 +0000 (10:26 +0100)]
Fixed a bug which caused the solid propellant thrusters of the space shuttle to be unconditionnally ignited during the trimming.

8 years agoNew log class for TerraSync
James Turner [Sat, 16 Jan 2016 21:48:50 +0000 (15:48 -0600)]
New log class for TerraSync

8 years agoJSBSim dropped the support of the simplex trim code
Bertrand Coconnier [Sat, 16 Jan 2016 18:36:32 +0000 (19:36 +0100)]
JSBSim dropped the support of the simplex trim code

8 years agoFixed the initialization process for JSBSim models: the error message "FGTrim::calcRo...
Bertrand Coconnier [Sat, 16 Jan 2016 18:32:50 +0000 (19:32 +0100)]
Fixed the initialization process for JSBSim models: the error message "FGTrim::calcRotation DistPlane^2 larger than sqrRadius" should no longer be issued

8 years agoRemove the error message about the property atmosphere/P-sl-psf that can't be tied
bcoconni [Sat, 16 Jan 2016 12:14:51 +0000 (13:14 +0100)]
Remove the error message about the property atmosphere/P-sl-psf that can't be tied

8 years agoClang warning fixes for IAXClient lib.
James Turner [Wed, 13 Jan 2016 04:44:51 +0000 (22:44 -0600)]
Clang warning fixes for IAXClient lib.

8 years agohttpd: expose /fg-home and /fg-root
Torsten Dreyer [Wed, 13 Jan 2016 12:25:16 +0000 (13:25 +0100)]
httpd: expose /fg-home and /fg-root

8 years agoLog options to INFO level when processing
James Turner [Tue, 12 Jan 2016 23:33:57 +0000 (17:33 -0600)]
Log options to INFO level when processing

- ensures they occur in the fgfs.log which should aid problem
  tracing.

8 years agoFix a typo breaking some takeoff-state logic.
James Turner [Tue, 12 Jan 2016 23:26:06 +0000 (17:26 -0600)]
Fix a typo breaking some takeoff-state logic.

8 years agoLauncher: fix slot name for old-style syntax
James Turner [Tue, 12 Jan 2016 23:25:54 +0000 (17:25 -0600)]
Launcher: fix slot name for old-style syntax

8 years agoFix an unused variable in non-developer-warning mode.
James Turner [Tue, 12 Jan 2016 18:50:58 +0000 (12:50 -0600)]
Fix an unused variable in non-developer-warning mode.

8 years agoFix unused constants in YASim
James Turner [Tue, 12 Jan 2016 18:50:44 +0000 (12:50 -0600)]
Fix unused constants in YASim

8 years agoFix many clang errors in UIUC code
James Turner [Tue, 12 Jan 2016 18:50:31 +0000 (12:50 -0600)]
Fix many clang errors in UIUC code

- because uiuc_warning_error always called exit(-1), it can be marked
  no return, so Clang realises that when it’s used in the ‘else’
  side of a parsing test, uninitialised variables in the enclosing
  call site are safe.

(Requires Simgear update to define SG_NO_RETURN helper)

8 years agoFix unused variable in LaRCsim
James Turner [Tue, 12 Jan 2016 18:49:14 +0000 (12:49 -0600)]
Fix unused variable in LaRCsim

8 years agoFix a potential use-after-free in ATC code
James Turner [Mon, 11 Jan 2016 19:01:05 +0000 (13:01 -0600)]
Fix a potential use-after-free in ATC code

- when dynamics shuts down the ATC controllers, they clear their
  traffic vectors (destroying the records), but we didn’t notify
  the AI aircraft of this. Ensure the controller is cleared so
  the AI aircraft shutdown doesn’t crash.

8 years agoSync. again
Erik Hofman [Mon, 11 Jan 2016 10:39:11 +0000 (11:39 +0100)]
Sync. again

8 years agoFix a singed/unsigned warning
Erik Hofman [Mon, 11 Jan 2016 10:38:11 +0000 (11:38 +0100)]
Fix a singed/unsigned warning

8 years agoFix a bug for allowed paths
Torsten Dreyer [Tue, 12 Jan 2016 10:19:26 +0000 (11:19 +0100)]
Fix a bug for allowed paths

Under some conditions on my system
aircraft_paths.begin() was equal to scenery_paths.end()
This resulted in neither of them being added to read_allowed_paths
followed by failure to load Nasal scripts from the aircraft directory.

This might happen, if scenery_paths gets allocated just before aircraft_paths
in memory.
Better loop across the desired lists instead of using fancy tricks with
the iterator.

8 years agoBugfix: pause works for JSBsim/Yasim again
James Turner [Mon, 11 Jan 2016 17:47:29 +0000 (11:47 -0600)]
Bugfix: pause works for JSBsim/Yasim again

8 years agoApperently maybeRestoreAircraftSelection() needs to be a slot
Erik Hofman [Mon, 11 Jan 2016 08:46:16 +0000 (09:46 +0100)]
Apperently maybeRestoreAircraftSelection() needs to be a slot

8 years agoFixes to launcher aircraft delegate.
James Turner [Mon, 11 Jan 2016 05:46:44 +0000 (23:46 -0600)]
Fixes to launcher aircraft delegate.

- fix some text size computation issues

8 years agoLinux build fix.
James Turner [Mon, 11 Jan 2016 04:11:32 +0000 (22:11 -0600)]
Linux build fix.

8 years agoCurrent time of day (warp) fixes:
James Turner [Mon, 11 Jan 2016 04:10:10 +0000 (22:10 -0600)]
Current time of day (warp) fixes:

- sim-speed-up (a/A keys) offsets warp correctly. This means at 4x speed
  up the warp will increase by 3 seconds for one elapsed real second.
  In practice this means simulation elements timed using sim ‘current time’
  will be correctly synchronised with those using simulated elapsed time.

  (AI traffic being a prime example of this)

- warp-delta (t/T keys) is independent of frame rate, and works when
  paused. The warp-delta values in the keybindings / GUI dialog
  will need to be updated since warp-delta in now seconds-per-second,
  as opposed to seconds-per-frame.

8 years agoLauncher finds parking positions from scenery
James Turner [Sun, 10 Jan 2016 22:38:01 +0000 (16:38 -0600)]
Launcher finds parking positions from scenery

- change launcher to examine the scenery paths and hence load
  ground-net files for airports to populate parking data.

- refactor ground-net XML parsing to use FGGroundNetwork only, not
  AirportDynamics.

- change parenting  of GroundNetwork to Airport, since it contains
  immutable data now.

8 years agoLauncher: Maintain aircraft selection better
James Turner [Sun, 10 Jan 2016 19:47:57 +0000 (13:47 -0600)]
Launcher: Maintain aircraft selection better

- when launching or toggling settings, try to keep the current
  aircraft selected and in-view.

8 years ago‘only show installed checkbox’ for Qt launcher
James Turner [Sun, 10 Jan 2016 18:56:46 +0000 (12:56 -0600)]
‘only show installed checkbox’ for Qt launcher

- will be replaced when I think of a prettier UI, but this
  feature is important to have for now.

8 years agoFix some FDM warnings with Clang
James Turner [Sun, 10 Jan 2016 18:55:18 +0000 (12:55 -0600)]
Fix some FDM warnings with Clang

8 years agoAllow re-ordering of paths in the launcher.
James Turner [Sat, 9 Jan 2016 23:17:58 +0000 (17:17 -0600)]
Allow re-ordering of paths in the launcher.

- suggested by Gilberto, allow the user to set the order of the
  scenery and aircraft paths by dragging.

8 years agoFallback for runway assignment logic
James Turner [Sat, 9 Jan 2016 16:07:16 +0000 (10:07 -0600)]
Fallback for runway assignment logic

- when no runway use preferences XML exists, be smarter about using
  available runways. Makes the common case of using two parallel
  runways for arrivals and departures work, greatly improving AI
  traffic behaviour.

8 years agoFix a dumb AI traffic bug I introduced.
James Turner [Thu, 7 Jan 2016 04:27:33 +0000 (22:27 -0600)]
Fix a dumb AI traffic bug I introduced.

8 years agoFix acceleration path of default takeoff taxi.
James Turner [Wed, 6 Jan 2016 23:58:24 +0000 (17:58 -0600)]
Fix acceleration path of default takeoff taxi.