]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIAircraft.hxx
Merge branch 'jmt/reciprocal' into next
[flightgear.git] / src / AIModel / AIAircraft.hxx
index e391c6a4547f63c089a01fa60645a8a91fb7c9f3..49639799a19de71d367330e0f201e5a64517dfb0 100644 (file)
@@ -75,7 +75,11 @@ public:
 
     virtual const char* getTypeString(void) const { return "aircraft"; }
 
+    string GetTransponderCode() { return transponderCode; };
+    void SetTransponderCode(string tc) { transponderCode = tc;};
+
     // 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; };
@@ -132,6 +136,7 @@ private:
 
     string acType;
     string company;
+    string transponderCode;
 
     int spinCounter;
     double prevSpeed;
@@ -141,6 +146,8 @@ private:
 
     bool _getGearDown() const;
 
+    const char * _getTransponderCode() const;
+
     bool reachedWaypoint;
     time_t timeElapsed;