]> git.mxchange.org Git - flightgear.git/commit
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that...
authorJames Turner <zakalawe@mac.com>
Sun, 18 Jul 2010 12:21:30 +0000 (13:21 +0100)
committerJames Turner <zakalawe@mac.com>
Wed, 28 Jul 2010 21:03:10 +0000 (22:03 +0100)
commitab495d137084226b66badce500f166fb047eaaac
treed77f6c1dcd8463d803e671d8ef78402a0c980c31
parentd1852430bfc4932be153c78c65d3d849c9e5ede9
Add --fg-aircraft option, and aircraft dir path list. Partial support in places that load files, for respecting the setting.

Add helper to look for an aircraft branch path in multiple candidate locations.
Update the main subsystems to use the helper, and hence load from any aircraft dir.
src/Autopilot/autopilotgroup.cxx
src/Cockpit/panel_io.cxx
src/Instrumentation/instrument_mgr.cxx
src/Main/fg_init.cxx
src/Main/globals.cxx
src/Main/globals.hxx
src/Main/options.cxx
src/Main/splash.cxx
src/Scripting/NasalSys.cxx
src/Sound/fg_fx.cxx
src/Systems/system_mgr.cxx