]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/adf.hxx
- fix unzoomed tapes (TODO: restore tick length)
[flightgear.git] / src / Instrumentation / adf.hxx
index f897cb5e401495aeb04ae8543c2ed866fcc30e8e..d43bdce600e16845ccb83b5d0f2f2483627d9175 100644 (file)
@@ -50,6 +50,7 @@ class ADF : public SGSubsystem
 
 public:
 
+    ADF ( SGPropertyNode *node );
     ADF ();
     virtual ~ADF ();
 
@@ -84,16 +85,18 @@ private:
     int _last_frequency_khz;
     bool _transmitter_valid;
     string _last_ident;
-    Point3D _transmitter;
-    double _transmitter_lon_deg;
-    double _transmitter_lat_deg;
-    double _transmitter_elevation_ft;
+    SGGeod _transmitter_pos;
+    SGVec3d _transmitter_cart;
     double _transmitter_range_nm;
 
     FGMorse morse;
     int _ident_count;
     time_t _last_ident_time;
     double _last_volume;
+
+    string name;
+    int num;
+    string adf_ident;
 };