]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/dynamics.hxx
initialize release_keys array
[flightgear.git] / src / Airports / dynamics.hxx
index 6e9ae1ab45aa9d031883d4a862288fd3aa2a52ed..0e5d6f4383e79cdf0257efe9a97b791ed6b558b7 100644 (file)
@@ -50,14 +50,15 @@ private:
   string prevTrafficType;
   stringVec landing;
   stringVec takeoff;
-  stringVec currentlyActive;
+  stringVec milActive, comActive, genActive, ulActive;
+  stringVec *currentlyActive;
 
   // Experimental keep a running average of wind dir and speed to prevent
   // Erratic runway changes. 
   // Note: I should add these to the copy constructor and assigment operator to be
   // constistent
-  double avWindHeading [10];
-  double avWindSpeed   [10];
+  //double avWindHeading [10];
+  //double avWindSpeed   [10];
 
   string chooseRunwayFallback();
 
@@ -85,6 +86,7 @@ public:
   FGParking *getParking(int i);
   void releaseParking(int id);
   string getParkingName(int i); 
+  int getNrOfParkings() { return parkings.size(); };
   //FGAirport *getAddress() { return this; };
   //const string &getName() const { return _name;};
   // Returns degrees