]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navrecord.hxx
commradio: improvements for atis speech
[flightgear.git] / src / Navaids / navrecord.hxx
index f7400ba8f399c974774b30293fabfd747b9a0468..0091ac6518651e0b447fc4529926c02ecdfdb45d 100644 (file)
 #include "positioned.hxx"
 #include <Airports/airports_fwd.hxx>
 
+#include <simgear/props/propsfwd.hxx>
 #include <simgear/timing/timestamp.hxx>
 
 const double FG_NAV_DEFAULT_RANGE = 50; // nm
 const double FG_LOC_DEFAULT_RANGE = 18; // nm
 const double FG_DME_DEFAULT_RANGE = 50; // nm
+const double FG_TACAN_DEFAULT_RANGE = 250; // nm
 const double FG_NAV_MAX_RANGE = 300;    // nm
 
 class FGNavRecord : public FGPositioned 
@@ -122,10 +124,13 @@ class FGMobileNavRecord:
     virtual const SGGeod& geod() const;
     virtual const SGVec3d& cart() const;
 
+    void updateVehicle();
     void updatePos();
 
   protected:
-    SGTimeStamp _last_position_update;
+    SGTimeStamp _last_vehicle_update;
+    SGPropertyNode_ptr _vehicle_node;
+    double _initial_elevation_ft; // Elevation as given in the config file
 };
 
 class FGTACANRecord : public SGReferenced {