]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIAircraft.hxx
Merge branches 'jmt/xmlauto', 'luff/kln89' and 'curt/radial'
[flightgear.git] / src / AIModel / AIAircraft.hxx
index fd4fd2ad0813c2423006304b6ef6ccc4c823a613..49639799a19de71d367330e0f201e5a64517dfb0 100644 (file)
@@ -75,6 +75,9 @@ 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; };
@@ -133,6 +136,7 @@ private:
 
     string acType;
     string company;
+    string transponderCode;
 
     int spinCounter;
     double prevSpeed;
@@ -142,6 +146,8 @@ private:
 
     bool _getGearDown() const;
 
+    const char * _getTransponderCode() const;
+
     bool reachedWaypoint;
     time_t timeElapsed;