1
0
Fork 0
flightgear/src/Environment
Richard Harrison 2c8aad12ba Model relative property tree root binding.
Change fgcommand to take an optional property tree root element.

This fixes the animation bindings to use the defined property tree root - to support multiplayer (or other) model that can bind to the correct part of the property tree.

Requires a corresponding fix in sg to allow the command methods to take an optional root parameter.

What this means is that when inside someone else's multiplayer model (e.g. backseat, or co-pilot), the multipalyer (AI) model will correctly modify properties inside the correct part of the property tree inside (/ai), rather than modifying the properties inside the same part of the tree as the non-ai model.

This means that a properly setup model will operate within it's own space in the property tree; and permit more generic multiplayer code to be written.

This is probably responsible for some of the pollution of the root property tree with MP aircraft properties.
2017-07-05 11:37:17 +02:00
..
atmosphere.cxx Fix crash in PT_vs_hpt() due to invalid data in ISA_def 2017-05-10 16:54:55 +02:00
atmosphere.hxx Fix unused private vars. 2013-07-04 20:24:56 +01:00
CMakeLists.txt Remove unused code 2015-12-22 11:41:56 +01:00
environment.cxx Portability: Fix compile errors on MSVC (cmath) 2015-03-24 11:11:42 -05:00
environment.hxx Move tiedpropertylist from flightgear to simgear 2011-02-06 15:44:09 +01:00
environment_ctrl.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
environment_ctrl.hxx Environment controller overhaul 2010-09-11 16:11:35 +02:00
environment_mgr.cxx Partial testing framework. 2017-03-25 15:35:26 +00:00
environment_mgr.hxx Portability: Fix compile errors on MSVC (cmath) 2015-03-24 11:11:42 -05:00
ephemeris.cxx Clean up of the Ephemeris class members, removing the raw pointers. 2017-05-30 09:57:37 +02:00
ephemeris.hxx Clean up of the Ephemeris class members, removing the raw pointers. 2017-05-30 09:57:37 +02:00
fgclouds.cxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
fgclouds.hxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
fgmetar.cxx Fix bug on Windows, time() is UTC there also. 2017-03-16 21:26:43 +00:00
fgmetar.hxx Update FGMetar for revised SGMetar constructor. 2011-10-21 10:57:45 +01:00
gravity.cxx remove inclusion of useless stdio.h 2011-05-31 20:39:32 +02:00
gravity.hxx Compute gravitational acceleration 2011-05-31 15:28:32 +02:00
magvarmanager.cxx Adapt to revised SGTime API 2012-09-24 00:03:23 +01:00
magvarmanager.hxx replace many auto_ptr by unique_ptr 2016-11-14 22:20:46 +01:00
metarairportfilter.cxx Keep MSVC happy with the Environment updates 2010-09-11 20:32:37 +02:00
metarairportfilter.hxx Give the FGAirport class a sane filename. 2013-02-21 11:32:02 +00:00
metarproperties.cxx MetarProperties: don't double-trigger listeners on invalidate 2015-03-11 22:24:07 +01:00
metarproperties.hxx Live weather: ensure valid flag is set correctly 2015-03-09 12:24:36 +01:00
precipitation_mgr.cxx Shift of management of the precipitation OSG scene graph to the scenery manager. 2016-05-03 18:44:46 +02:00
precipitation_mgr.hxx Partial testing framework. 2017-03-25 15:35:26 +00:00
presets.cxx Clean-up some SGMath dependencies. 2012-05-05 00:56:29 +02:00
presets.hxx #84: John Denker: Set correct file modes 2011-02-19 11:55:43 +01:00
realwx_ctrl.cxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
realwx_ctrl.hxx Reset: ensure Wx controller destroys cleanly. 2013-10-29 23:01:29 +00:00
ridge_lift.cxx Portability: Fix compile errors on MSVC (cmath) 2015-03-24 11:11:42 -05:00
ridge_lift.hxx Refactor ridgelift: use simgear::TiedPropertyList 2011-02-14 20:26:39 +01:00
terrainsampler.cxx Fix classes derived from SubsystemGroup. 2012-09-19 11:37:19 +01:00
terrainsampler.hxx Oups - terrainsamplers header was modified, too 2010-08-23 17:52:19 +02:00