X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Fbfi.hxx;h=dadebcfeb6142fe322530f241f31f9f2f3712d09;hb=f367e6d432525b40379529d5d64fe6d997ddf138;hp=ac250b24d83a53a52ccd19824fba634ed5df6335;hpb=59583890262247d73f48f4f1af21303ea41fda47;p=flightgear.git diff --git a/src/Main/bfi.hxx b/src/Main/bfi.hxx index ac250b24d..dadebcfeb 100644 --- a/src/Main/bfi.hxx +++ b/src/Main/bfi.hxx @@ -29,6 +29,11 @@ SG_USING_NAMESPACE(std); +// Uncomment the appropriate line to get the desired heading hold +// autopilot behavior + +// #define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_TRUE_HEADING_LOCK +#define DEFAULT_AP_HEADING_LOCK FGAutopilot::FG_DG_HEADING_LOCK /** * Big Flat Interface @@ -55,17 +60,14 @@ public: static void update (); // Simulation - static int getFlightModel (); - static void setFlightModel (int flightModel); - - static string getAircraft (); - static void setAircraft (string aircraft); - static string getAircraftDir (); static void setAircraftDir (string aircraftDir); -// static time_t getTimeGMT (); -// static void setTimeGMT (time_t time); + static double getViewOffset (); + static void setViewOffset (double offset); + static double getGoalViewOffset (); + static void setGoalViewOffset (double offset); + static string getDateString ();// ISO 8601 subset static void setDateString (string time_string); // ISO 8601 subset @@ -135,6 +137,9 @@ public: static bool getAPAltitudeLock (); static void setAPAltitudeLock (bool lock); + static bool getAPGSLock (); + static void setAPGSLock (bool lock); + static double getAPAltitude (); // feet static void setAPAltitude (double altitude); // feet @@ -153,6 +158,16 @@ public: static bool getAPNAV1Lock (); static void setAPNAV1Lock (bool lock); + static bool getAPAutoThrottleLock (); + static void setAPAutoThrottleLock (bool lock); + + static double getAPRudderControl (); + static void setAPRudderControl (double value); + static double getAPElevatorControl (); + static void setAPElevatorControl (double value); + static double getAPThrottleControl (); + static void setAPThrottleControl (double value); + // GPS static string getTargetAirport ();