]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AICarrier.hxx
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
[flightgear.git] / src / AIModel / AICarrier.hxx
index bd7bc405d578f2a8b46cbcafa37b5509f8a4d918..da3380502fc44e5e045b7c48b5e9b39071052162 100644 (file)
@@ -24,9 +24,6 @@
 #include <string>
 #include <list>
 
-#include <osg/Referenced>
-#include <osg/Node>
-
 #include <simgear/compiler.h>
 
 using std::string;
@@ -61,6 +58,7 @@ public:
     void setMaxLong( double deg );
     void setMinLong( double deg );
     void setMPControl( bool c );
+    void setAIControl( bool c );
     void TurnToLaunch();
     void TurnToRecover();
     void TurnToBase();
@@ -68,7 +66,6 @@ public:
     bool OutsideBox();
 
     bool init(bool search_in_AI_path=false);
-    void initModel(osg::Node *node);
 
     virtual const char* getTypeString(void) const { return "carrier"; }
 
@@ -99,8 +96,6 @@ private:
 
 
 
-    list<string> wire_objects;        // List of wire object names
-    list<string> catapult_objects;    // List of catapult object names
     list<ParkPosition> ppositions;    // List of positions where an aircraft can start.
     string sign;                      // The sign of this carrier.
 
@@ -129,7 +124,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;