Initialization Sequence
From wiki.flightgear.org
The initialization up to the mainLoop
Current subsystem initialization order
- [INIT] Event Manager
- [ADD SUBSYS, INIT] Property Interpolator (probably needed by Nasal)
- [ADD SUBSYS] FlightGear properties ('properties' subsystem)
- [INIT] Material library (loading materials.xml)
- [INIT] TileManager needs EventManager
- [INIT] FDM
- [] Init Aircraft
- [ADD SUBSYS] instrumentation (InstrumentMgr)
- [ADD SUBSYS] A/C systems (SystemMgr; needed by autopilot)
- [ADD SUBSYS] Autopilot (XMLAutopilot)
- [ADD SUBSYS] Route Manager
- [INIT] View Manager (forces 2 updates)
- [ADD SUBSYS] Logger (NOTE: this should probably the first one started)
- [ADD SUBSYS, INIT] GUI
- [INIT] Local Time + correction task (needed by Environment)
- [ADD SUBSYS] Environment
- [ADD SUBSYS] Lighting
- 2D clouds (? just a property read)
- [INIT] Sound Mgr (only if sound enabled)
- [ADD SUBSYS] Sound FX (only if sound enabled)
- [ADD SUBSYS] VoiceMgr (only if sound enabled)
- [INIT] ATC Manager
- [INIT] AI Manager
- [ADD SUBSYS] AI Model Manager
- [ADD SUBSYS] Traffic Manager
- [INIT?] Cockpit -> HUD
- [INIT] I/O
- add default 2D panel
- [INIT] Controls
- [ADD SUBSYS] Input
- [ADD SUBSYS] Replay
- [INIT] SubsystemMgr
- [INIT] Multiplayer
- [INIT] Nasal
SubsystemMgr::postinit()
