]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AICarrier.hxx
Overhaul the ground-net / parking code.
[flightgear.git] / src / AIModel / AICarrier.hxx
index 2bf64003a4e3a753eb3d3d8b888e8fde09c7254d..a34279b8f22bf5800c1b242970de4121a05576ba 100644 (file)
@@ -24,9 +24,6 @@
 #include <string>
 #include <list>
 
-#include <osg/Referenced>
-#include <osg/Node>
-
 #include <simgear/compiler.h>
 
 using std::string;
@@ -52,7 +49,6 @@ public:
     void setTACANChannelID(const string &);
 
     virtual void bind();
-    virtual void unbind();
     void UpdateWind ( double dt );
     void setWind_from_east( double fps );
     void setWind_from_north( double fps );
@@ -61,6 +57,7 @@ public:
     void setMaxLong( double deg );
     void setMinLong( double deg );
     void setMPControl( bool c );
+    void setAIControl( bool c );
     void TurnToLaunch();
     void TurnToRecover();
     void TurnToBase();
@@ -126,7 +123,7 @@ private:
     bool turn_to_base_course;
     bool returning;      // set if the carrier is returning to an operating box
     bool InToWind();     // set if the carrier is in to wind
-    bool MPControl;
+    bool MPControl, AIControl;
 
 
     SGPropertyNode_ptr _longitude_node;