]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/groundnetwork.hxx
Bugfix: Retrieval of the next radio frequency was broken. Contributed by Adrian Musceac.
[flightgear.git] / src / Airports / groundnetwork.hxx
index 87dafe0a01d44f65dc9517aa2bf754b1b529156c..a493426872df45c5803f8082e8a376f0ec75c7f9 100644 (file)
@@ -150,6 +150,7 @@ public:
   void setCourseDiff(double crse);
 
 
+
   
 };
 
@@ -212,6 +213,8 @@ public:
   
   void first() { currNode = nodes.begin(); currRoute = routes.begin(); };
   int size() { return nodes.size(); };
+  int nodesLeft() { return nodes.end() - currNode; };
+
 //  int getDepth() { return depth; };
 };
 
@@ -225,6 +228,8 @@ class FGGroundNetwork : public FGATCController
 {
 private:
   bool hasNetwork;
+  bool networkInitialized;
+  time_t nextSave;
   //int maxDepth;
   int count;
   FGTaxiNodeVector    nodes;
@@ -290,6 +295,7 @@ public:
   virtual void render(bool);
   virtual string getName();
 
+  void saveElevationCache();
 };