]> git.mxchange.org Git - flightgear.git/blobdiff - src/Radio/radio.hxx
Expose a radio function (receiveBeacon) to the Nasal subsystem
[flightgear.git] / src / Radio / radio.hxx
index 7758c96dc9ea9d662013ccf4dc4f289627c9c655..06e05e9707dba67f70fca0ef8920a7aa661437f4 100644 (file)
@@ -57,7 +57,7 @@ private:
        double polarization_loss();
        double ITM_calculate_attenuation(SGGeod tx_pos, double freq, int ground_to_air);
        double LOS_calculate_attenuation(SGGeod tx_pos, double freq, int ground_to_air);
-       void clutterLoss(double freq, double itm_elev[], std::deque<string> materials,
+       void calculate_clutter_loss(double freq, double itm_elev[], std::deque<string> &materials,
                        double transmitter_height, double receiver_height, int p_mode,
                        double horizons[], double &clutter_loss);
        void get_material_properties(string mat_name, double &height, double &density);
@@ -92,7 +92,7 @@ public:
     // returns signal quality
     // transmission_type: 0 for VOR, 1 for ILS
     double receiveNav(SGGeod tx_pos, double freq, int transmission_type);
-    
+    double receiveBeacon(double lat, double lon, double elev, double heading, double pitch);
 };