]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIAircraft.hxx
Merge branch 'topic/gcintersect' into next
[flightgear.git] / src / AIModel / AIAircraft.hxx
index a179c9d7feec63a170292226cec8d6b8143c7751..fd4fd2ad0813c2423006304b6ef6ccc4c823a613 100644 (file)
@@ -76,6 +76,7 @@ public:
     virtual const char* getTypeString(void) const { return "aircraft"; }
 
     // included as performance data needs them, who else?
+    inline PerformanceData* getPerformance() { return _performance; };
     inline bool onGround() const { return no_roll; };
     inline double getSpeed() const { return speed; };
     inline double getRoll() const { return roll; };
@@ -126,6 +127,7 @@ private:
     void updatePitchAngleTarget();
     void updateActualState();
     void handleATCRequests();
+    void checkVisibility();
 
     double sign(double x);