X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Fenvironment.hxx;h=d9543d5ab68704813d814df6fea66544d72ee59e;hb=11d15b451347674fba77648700d23c5aaec3c6c2;hp=c4dc8fb8406ed9eb3360e941f20f4d56f998400a;hpb=70be1629e61d9b751a2f73df30b83bb1be6ca4fe;p=flightgear.git diff --git a/src/Environment/environment.hxx b/src/Environment/environment.hxx index c4dc8fb84..d9543d5ab 100644 --- a/src/Environment/environment.hxx +++ b/src/Environment/environment.hxx @@ -101,22 +101,23 @@ public: virtual void set_altitude_half_to_sun_m (double alt); virtual void set_altitude_tropo_top_m (double alt); + virtual bool set_live_update(bool live_update); + + void _recalc_ne (); + void _recalc_alt_dewpoint (); + void _recalc_density (); + void _recalc_relative_humidity (); + void _recalc_alt_pt (); private: void _init(); void _recalc_hdgspd (); - void _recalc_ne (); void _recalc_updraft (); void _recalc_sl_temperature (); - void _recalc_alt_temperature (); void _recalc_sl_dewpoint (); - void _recalc_alt_dewpoint (); void _recalc_sl_pressure (); - void _recalc_alt_pressure (); - void _recalc_density (); void _recalc_density_tropo_avg_kgm3 (); - void _recalc_relative_humidity (); double elevation_ft; double visibility_m; @@ -147,6 +148,8 @@ private: double thermal_lift_fps; double ridge_lift_fps; + bool live_update; + }; void interpolate (const FGEnvironment * env1, const FGEnvironment * env2,