]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bfi.hxx
- removed bfi.cxx and bfi.hxx
[flightgear.git] / src / Main / bfi.hxx
index da6482549581c45d6f0757ac38c4cedade3824c7..dadebcfeb6142fe322530f241f31f9f2f3712d09 100644 (file)
 
 #include <simgear/compiler.h>
 
-FG_USING_NAMESPACE(std);
+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
 
@@ -101,9 +103,16 @@ public:
   static double getRPM ();     // revolutions/minute
   static void setRPM ( double rpm ); // revolutions/minute
 
-  static double getEGT ();     // [unit??]
-  static double getCHT ();     // [unit??]
-  static double getMP ();      // [unit??]
+  static double getEGT ();     // deg Fahrenheit
+  static double getCHT ();     // deg Fahrenheit
+  static double getMP ();      // inches mercury
+  static double getFuelFlow (); // gals/hr
+
+                                 // Consumables
+  static double getTank1Fuel (); // gals
+  static void setTank1Fuel( double gals );
+  static double getTank2Fuel (); // gals
+  static void setTank2Fuel( double gals );
 
                                // Velocities
   static double getAirspeed ();        // knots
@@ -128,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
 
@@ -146,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 ();