]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Main / globals.hxx
index 50123defc1a7acda5f1c6b37f3c6d508b4852411..4346f6e6a88c672ccd7b7a55879ca74fcb39f6a1 100644 (file)
@@ -46,6 +46,7 @@ typedef vector<string> string_list;
 // anyway.
 
 class SGEphemeris;
+
 class SGMagVar;
 class SGRoute;
 class SGTime;
@@ -58,6 +59,8 @@ class FGEnvironment;
 class FGControls;
 class FGSteam;
 class FGSoundMgr;
+class FGSystemMgr;
+class FGInstrumentMgr;
 class FGAutopilot;
 class FGFX;
 class FGViewMgr;
@@ -70,7 +73,7 @@ class FGTextureLoader;
 class FGAircraftModel;
 class FGModelMgr;
 class FGScenery;
-
+class FGIO;
 
 /**
  * Bucket for subsystem pointers representing the sim's state.
@@ -131,6 +134,12 @@ private:
     // sound-effects manager
     FGFX *fx;
 
+    // aircraft system manager
+    FGSystemMgr * systemmgr;
+
+    // aircraft instrument manager
+    FGInstrumentMgr * instrumentmgr;
+
     // environment information
     FGEnvironmentMgr * environment_mgr;
 
@@ -172,6 +181,8 @@ private:
     // FlightGear scenery manager
     FGScenery *scenery;
 
+    FGIO* io;
+
 public:
 
     FGGlobals();
@@ -244,6 +255,10 @@ public:
     inline FGSoundMgr *get_soundmgr() const { return soundmgr; }
     inline void set_soundmgr( FGSoundMgr *sm ) { soundmgr = sm; }
 
+    inline FGSystemMgr *get_systemmgr() const { return systemmgr; }
+
+    inline FGInstrumentMgr *get_instrumentmgr() const { return instrumentmgr; }
+
     inline FGFX *get_fx() const { return fx; }
     inline void set_fx( FGFX *x ) { fx = x; }
 
@@ -298,6 +313,8 @@ public:
     inline FGScenery * get_scenery () const { return scenery; }
     inline void set_scenery ( FGScenery *s ) { scenery = s; }
 
+    FGIO* get_io() const { return io; }
+
     /**
      * Save the current state as the initial state.
      */