]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIMultiplayer.hxx
commradio: improvements for atis speech
[flightgear.git] / src / AIModel / AIMultiplayer.hxx
index e484dacb016ff5971a631f392f1cd892eeb3f4bd..f1fb1c82febf25e24403ec4edf89017943345141 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,16 +77,23 @@ 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
+  
+  // velocities/u,v,wbody-fps 
+  SGPropertyNode_ptr _uBodyNode;
+  SGPropertyNode_ptr _vBodyNode;
+  SGPropertyNode_ptr _wBodyNode;
 };
 
 #endif  // _FG_AIMultiplayer_HXX