2c8aad12ba
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. |
||
---|---|---|
.. | ||
atmosphere.cxx | ||
atmosphere.hxx | ||
CMakeLists.txt | ||
environment.cxx | ||
environment.hxx | ||
environment_ctrl.cxx | ||
environment_ctrl.hxx | ||
environment_mgr.cxx | ||
environment_mgr.hxx | ||
ephemeris.cxx | ||
ephemeris.hxx | ||
fgclouds.cxx | ||
fgclouds.hxx | ||
fgmetar.cxx | ||
fgmetar.hxx | ||
gravity.cxx | ||
gravity.hxx | ||
magvarmanager.cxx | ||
magvarmanager.hxx | ||
metarairportfilter.cxx | ||
metarairportfilter.hxx | ||
metarproperties.cxx | ||
metarproperties.hxx | ||
precipitation_mgr.cxx | ||
precipitation_mgr.hxx | ||
presets.cxx | ||
presets.hxx | ||
realwx_ctrl.cxx | ||
realwx_ctrl.hxx | ||
ridge_lift.cxx | ||
ridge_lift.hxx | ||
terrainsampler.cxx | ||
terrainsampler.hxx |