1
0
Fork 0
flightgear/src/Time
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
..
bodysolver.cxx Time: The sun solver has been generalised to to handle any solar system body. 2016-11-08 11:16:24 +01:00
bodysolver.hxx Time: The sun solver has been generalised to to handle any solar system body. 2016-11-08 11:16:24 +01:00
CMakeLists.txt Time: Renamed the sunsolver.cxx to bodysolver.cxx. 2016-11-08 11:16:24 +01:00
light.cxx Time: Calculation and exposure of the moon vector from the local position. 2016-11-08 11:16:24 +01:00
light.hxx Time: Calculation and exposure of the moon vector from the local position. 2016-11-08 11:16:24 +01:00
test_event.c source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
TimeManager.cxx Model relative property tree root binding. 2017-07-05 11:37:17 +02:00
TimeManager.hxx Current time of day (warp) fixes: 2016-01-10 22:10:10 -06:00
ttest.c source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00
win32test.c source tree reorganization prior to flightgear 0.7 2009-09-14 14:26:20 +02:00