X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAICarrier.hxx;h=da3380502fc44e5e045b7c48b5e9b39071052162;hb=04f09258c4042105044e9095a0dbbbdc87a3b505;hp=bd7bc405d578f2a8b46cbcafa37b5509f8a4d918;hpb=70be1629e61d9b751a2f73df30b83bb1be6ca4fe;p=flightgear.git diff --git a/src/AIModel/AICarrier.hxx b/src/AIModel/AICarrier.hxx index bd7bc405d..da3380502 100644 --- a/src/AIModel/AICarrier.hxx +++ b/src/AIModel/AICarrier.hxx @@ -24,9 +24,6 @@ #include #include -#include -#include - #include 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 wire_objects; // List of wire object names - list catapult_objects; // List of catapult object names list 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;