]> 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 6b8b306aa27575d5d94cea050716667086a45702..d43bdce600e16845ccb83b5d0f2f2483627d9175 100644 (file)
@@ -50,6 +50,7 @@ class ADF : public SGSubsystem
 
 public:
 
+    ADF ( SGPropertyNode *node );
     ADF ();
     virtual ~ADF ();
 
@@ -76,25 +77,26 @@ private:
     SGPropertyNode_ptr _in_range_node;
     SGPropertyNode_ptr _bearing_node;
     SGPropertyNode_ptr _ident_node;
-    SGPropertyNode_ptr _ident_audible;
+    SGPropertyNode_ptr _ident_audible_node;
     SGPropertyNode_ptr _volume_node;
 
-    FGMorse morse;
-    int _ident_count;
-    time_t _last_ident_time;
-    double _last_volume;
-
     double _time_before_search_sec;
 
     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;
 };