20,741
edits
| Line 3: | Line 3: | ||
== Update 10/2012 == | == Update 10/2012 == | ||
This is currently being worked on as part of some improvements to the initialization code [https://gitorious.org/fg/flightgear/commit/8608a480736651999c5ea31a489343ee097ee915]. | This is currently being worked on as part of some improvements to the initialization code [https://gitorious.org/fg/flightgear/commit/8608a480736651999c5ea31a489343ee097ee915]: | ||
Initial work on dynamic subsystem creation. | |||
Make subsystems create-able and removable from commands. Only some subsystems are supported so far, since many have non-default constructors or other complexities. | |||
With this, change, it's possible to dynamically add and remove the traffic-manager at runtime, for example: | |||
<syntaxhighlight lang="php"> | |||
fgcommand( "add-subsystem", props.Node.new( { "subsystem": "traffic-manager", "name":"traffic-manager", "do-bind-init":1}) ); | |||
</syntaxhighlight> | |||
== Problem == | == Problem == | ||