X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCockpit%2Fsteam.hxx;h=862433ffa5af67a13133e4beffa4c0d224104f43;hb=470292a4341334820681d6d6e2ecc6039b8d6dd6;hp=69911e1aef2be9e232786b58f4cd133af8449cf0;hpb=1882fb0119f1db6f457cc52f8c55a9e718ff028f;p=flightgear.git diff --git a/src/Cockpit/steam.hxx b/src/Cockpit/steam.hxx index 69911e1ae..862433ffa 100644 --- a/src/Cockpit/steam.hxx +++ b/src/Cockpit/steam.hxx @@ -34,21 +34,20 @@ #include #include STL_STRING -FG_USING_NAMESPACE(std); +SG_USING_NAMESPACE(std); /** * STEAM GAUGES * - * This class is a mapping layer, which retrieves information from - * the BFI (which reports truthful and ideal values) and generates - * all the instrument errors and inaccuracies that pilots (err) - * love, of course. Please report any missing flaws (!). + * This class is a mapping layer, which retrieves information from the + * property manager (which reports truthful and ideal values) and + * generates all the instrument errors and inaccuracies that pilots + * (err) love, of course. Please report any missing flaws (!). * * These should be used to operate cockpit instruments, * and autopilot features where these are slaved thus. * They should not be used for other simulation purposes. - * */ class FGSteam { @@ -72,17 +71,22 @@ public: // Engine Gauges static double get_VACUUM_inhg (); + // Atmosphere + static double get_ALT_datum_mb (); + static void set_ALT_datum_mb(double datum_mb); + // Hacks ... temporary stuff - static double get_HackVOR1_deg (); + // static double get_HackVOR1_deg (); static double get_HackOBS1_deg (); - static double get_HackGS_deg (); - static double get_HackVOR2_deg (); + // static double get_HackGS_deg (); + // static double get_HackVOR2_deg (); static double get_HackOBS2_deg (); static double get_HackADF_deg (); private: static double the_ALT_ft; + static double the_ALT_datum_mb; static double the_TC_rad, the_TC_std; static double the_STATIC_inhg, the_VACUUM_inhg; static double the_VSI_fps, the_VSI_case;