]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIMultiplayer.hxx
Overhaul the ground-net / parking code.
[flightgear.git] / src / AIModel / AIMultiplayer.hxx
index e484dacb016ff5971a631f392f1cd892eeb3f4bd..748784995fd1caf4b0b41d89e8a574995fc260f8 100644 (file)
@@ -34,10 +34,9 @@ public:
 
   virtual bool init(bool search_in_AI_path=false);
   virtual void bind();
-  virtual void unbind();
   virtual void update(double dt);
 
-  void addMotionInfo(const FGExternalMotionData& motionInfo, long stamp);
+  void addMotionInfo(FGExternalMotionData& motionInfo, long stamp);
   void setDoubleProperty(const std::string& prop, double val);
 
   long getLastTimestamp(void) const
@@ -78,13 +77,15 @@ private:
   double mTimeOffset;
   bool mTimeOffsetSet;
 
+  double lastUpdateTime;
+
   /// Properties which are for now exposed for testing
   bool mAllowExtrapolation;
   double mLagAdjustSystemSpeed;
 
   long mLastTimestamp;
 
-  // Propertiies for tankers
+  // Properties for tankers
   SGPropertyNode_ptr refuel_node;
   bool isTanker;
   bool contact;          // set if this tanker is within fuelling range