Initialization Sequence

From wiki.flightgear.org

Jump to: navigation, search

The initialization up to the mainLoop

Current subsystem initialization order

  1. [INIT] Event Manager
  2. [ADD SUBSYS, INIT] Property Interpolator (probably needed by Nasal)
  3. [ADD SUBSYS] FlightGear properties ('properties' subsystem)
  4. [INIT] Material library (loading materials.xml)
  5. [INIT] TileManager needs EventManager
  6. [INIT] FDM
  7. [] Init Aircraft
  8. [ADD SUBSYS] instrumentation (InstrumentMgr)
  9. [ADD SUBSYS] A/C systems (SystemMgr; needed by autopilot)
  10. [ADD SUBSYS] Autopilot (XMLAutopilot)
  11. [ADD SUBSYS] Route Manager
  12. [INIT] View Manager (forces 2 updates)
  13. [ADD SUBSYS] Logger (NOTE: this should probably the first one started)
  14. [ADD SUBSYS, INIT] GUI
  15. [INIT] Local Time + correction task (needed by Environment)
  16. [ADD SUBSYS] Environment
  17. [ADD SUBSYS] Lighting
  18. 2D clouds (? just a property read)
  19. [INIT] Sound Mgr (only if sound enabled)
  20. [ADD SUBSYS] Sound FX (only if sound enabled)
  21. [ADD SUBSYS] VoiceMgr (only if sound enabled)
  22. [INIT] ATC Manager
  23. [INIT] AI Manager
  24. [ADD SUBSYS] AI Model Manager
  25. [ADD SUBSYS] Traffic Manager
  26. [INIT?] Cockpit -> HUD
  27. [INIT] I/O
  28. add default 2D panel
  29. [INIT] Controls
  30. [ADD SUBSYS] Input
  31. [ADD SUBSYS] Replay
  32. [INIT] SubsystemMgr
  33. [INIT] Multiplayer
  34. [INIT] Nasal

SubsystemMgr::postinit()

Personal tools