The FlightGear Initialization Sequence
Jump to navigation Jump to search
|Work in progress|
This article or section will be worked on in the upcoming hours or days.
See for the latest developments.
FlightGear Initialization takes places in $FG_SRC/Main/fg_init.cxx this is where subsystems are added. This is also the right place to make subsystems optional.
|in general, the process of removing a subsystem involved editing fg_init.cxx and navigating to createSubsystems() and removing unneeded stuff there, but that is an inherently fragile process - as per the "initialiing Nasal early"-journey documented on the wiki, because FG was never designed with this requirement in mind, and still is not being maintained/developed accordingly (despite HLA and similar efforts).
— Hooray (Aug 31st, 2015). Re: Steps for Removing subsystems in flightgear source code.
(powered by Instant-Cquotes)
There are a number of so called "idle states" which are changed during initialization:
/sim/startup/current-idle-state changed:3 /sim/startup/current-idle-state changed:4 /sim/startup/current-idle-state changed:5 /sim/startup/current-idle-state changed:7 /sim/startup/current-idle-state changed:8 /sim/startup/current-idle-state changed:9 /sim/startup/current-idle-state changed:10 /sim/startup/current-idle-state changed:900 /sim/startup/current-idle-state changed:1000