X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Fenvironment_ctrl.hxx;h=aec1442cb375f56f142facb786ac5d46865d60c9;hb=8f056da61884b14e37ec92e52c4e5823a50d30e5;hp=76b6aab20e0f1820aa21f54a6d2c8a710e0f10df;hpb=13ff5da4becb2f53ceb68c997e5942b1849d2c0a;p=flightgear.git diff --git a/src/Environment/environment_ctrl.hxx b/src/Environment/environment_ctrl.hxx index 76b6aab20..aec1442cb 100644 --- a/src/Environment/environment_ctrl.hxx +++ b/src/Environment/environment_ctrl.hxx @@ -40,6 +40,7 @@ // forward decls class SGPropertyNode; +class SGSampleGroup; class FGMetar; /** @@ -151,12 +152,14 @@ private: bool first_update; bool wind_interpolation_required; string metar; + double metar_sealevel_temperature; + double metar_sealevel_dewpoint; double interpolate_prop(const char * currentname, const char * requiredname, double dvalue); double interpolate_val(double currentval, double requiredval, double dvalue); - const double EnvironmentUpdatePeriodSec; // Seconds between interpolations const double MaxWindChangeKtsSec; // Max wind change in kts/sec const double MaxVisChangePercentSec; // Max visibility change in %/sec const double MaxPressureChangeInHgSec; // Max pressure change in InHg/sec + const double MaxTemperatureChangeDegcSec; // Max temperature change in degc/s const double MaxCloudAltitudeChangeFtSec; // Max cloud altitude change in ft/s const double MaxCloudThicknessChangeFtSec; // Max cloud thickness change in ft/s const double MaxCloudInterpolationHeightFt; // Max distance from aircraft to @@ -199,6 +202,8 @@ private: SGPropertyNode_ptr boundary_wind_from_heading_n; SGPropertyNode_ptr boundary_visibility_n; SGPropertyNode_ptr boundary_sea_level_pressure_n; + SGPropertyNode_ptr boundary_sea_level_temperature_n; + SGPropertyNode_ptr boundary_sea_level_dewpoint_n; private: };