20,741
edits
Line 126: | Line 126: | ||
James has added initial code to work on dynamic subsystem creation, so that subsystems can be added or removed at runtime. | James has added initial code to work on dynamic subsystem creation, so that subsystems can be added or removed at runtime. | ||
Only some subsystems are supported so far, since many have non-default C++ constructors or other complexities (see [[FlightGear Run Levels]] for further details). | Only some subsystems are supported so far, since many have non-default C++ constructors (e.g. systems designed as singletons) or other complexities (see [[FlightGear Run Levels]] for further details). | ||
With this change, it's now possible to dynamically add and remove the traffic-manager at runtime using fgcommands, for example (pasted into the [[Nasal Console]]): | With this change, it's now possible to dynamically add and remove the traffic-manager at runtime using fgcommands, for example (pasted into the [[Nasal Console]]): |