]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/environment_mgr.hxx
Fix two bugs in the new autopilot code
[flightgear.git] / src / Environment / environment_mgr.hxx
index 7e0bc68217a051c042148acf83165ea8358e78b5..490340c4aec2a4988313b2c0104b9912fcda734d 100644 (file)
@@ -35,6 +35,8 @@
 
 class FGEnvironment;
 class FGEnvironmentCtrl;
+class FGMetarCtrl;
+class FGMetarFetcher;
 class FGClouds;
 class FGPrecipitationMgr;
 
@@ -74,8 +76,6 @@ public:
   virtual FGEnvironment getEnvironment(const SGGeod& aPos) const;
 private:
 
-  void _update_fdm () const;
-
   double get_cloud_layer_span_m (int index) const;
   void set_cloud_layer_span_m (int index, double span_m);
   double get_cloud_layer_elevation_ft (int index) const;
@@ -89,6 +89,8 @@ private:
 
   FGEnvironment * _environment;        // always the same, for now
   FGEnvironmentCtrl * _controller; // always the same, for now
+  FGMetarCtrl * _metarcontroller; 
+  FGMetarFetcher * _metarfetcher;
   FGPrecipitationMgr* _precipitationManager;
 
   FGClouds *fgClouds;