]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/globals.hxx
Use a pointer to a structure instead of a large number of variables when calling...
[flightgear.git] / src / Main / globals.hxx
index 38fb0f4c55eeb2edc96c5c7cafc0885a21ec31d6..2621fe2db033c5c1fc422d3acd6af76260f8b260 100644 (file)
@@ -65,8 +65,6 @@ class FGATCDisplay;
 class FGAircraftModel;
 class FGAutopilot;
 class FGControls;
-class FGEnvironment;
-class FGEnvironmentMgr;
 class FGIO;
 class FGModelMgr;
 class FGScenery;
@@ -136,9 +134,6 @@ private:
     // sound manager
     SGSoundMgr *soundmgr;
 
-    // environment information
-    FGEnvironmentMgr * environment_mgr;
-
     // ATC manager
     FGATCMgr *ATC_mgr;
 
@@ -245,13 +240,6 @@ public:
     inline SGRoute *get_route() const { return route; }
     inline void set_route( SGRoute *r ) { route = r; }
 
-    inline FGEnvironmentMgr * get_environment_mgr() {
-      return environment_mgr;
-    }
-    inline void set_environment_mgr(FGEnvironmentMgr * mgr) {
-      environment_mgr = mgr;
-    }
-
     inline FGATCMgr *get_ATC_mgr() const { return ATC_mgr; }
     inline void set_ATC_mgr( FGATCMgr *a ) {ATC_mgr = a; }