]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bfi.hxx
- removed bfi.cxx and bfi.hxx
[flightgear.git] / src / Main / bfi.hxx
index ac250b24d83a53a52ccd19824fba634ed5df6335..dadebcfeb6142fe322530f241f31f9f2f3712d09 100644 (file)
 
 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 ();