]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bfi.hxx
Tweaks and massaging relative to the new waypoint route management system.
[flightgear.git] / src / Main / bfi.hxx
index 867acce49e1570aa484f01606596be05487217b7..6c086f6763cccd8fda08a521dd017d23121a2c23 100644 (file)
@@ -57,6 +57,7 @@ public:
   static const string getAircraft ();
   static const string getAircraftDir ();
   static time_t getTimeGMT ();
+  static const string &getGMTString ();
   static bool getHUDVisible ();
   static bool getPanelVisible ();
 
@@ -89,6 +90,10 @@ public:
   static void setPitch (double pitch);
   static void setRoll (double roll);
 
+                               // Engine
+  static double getRPM ();
+  static void setRPM ( double rpm );
+  static double getEGT ();
 
                                // Velocities
   static double getAirspeed ();
@@ -105,37 +110,43 @@ public:
 
                                // Controls
   static double getThrottle ();
+  static double getMixture ();
+  static double getPropAdvance ();
   static double getFlaps ();
   static double getAileron ();
   static double getRudder ();
   static double getElevator ();
   static double getElevatorTrim ();
-  static double getBrake ();
+  static double getBrakes ();
   static double getLeftBrake ();
   static double getRightBrake ();
+  static double getCenterBrake ();
 
   static void setThrottle (double throttle);
+  static void setMixture (double mixture);
+  static void setPropAdvance (double pitch);
   static void setFlaps (double flaps);
-  static void setFlapsRaise (bool step);
-  static void setFlapsLower (bool step);
   static void setAileron (double aileron);
   static void setRudder (double rudder);
   static void setElevator (double elevator);
   static void setElevatorTrim (double trim);
-  static void setBrake (double brake);
+  static void setBrakes (double brake);
   static void setLeftBrake (double brake);
   static void setRightBrake (double brake);
+  static void setCenterBrake (double brake);
 
 
                                // Autopilot
   static bool getAPAltitudeLock ();
   static double getAPAltitude ();
   static bool getAPHeadingLock ();
+  static double getAPHeading ();
   static double getAPHeadingMag ();
 
   static void setAPAltitudeLock (bool lock);
   static void setAPAltitude (double altitude);
   static void setAPHeadingLock (bool lock);
+  static void setAPHeading (double heading);
   static void setAPHeadingMag (double heading);
 
   static bool getAPNAV1Lock ();
@@ -147,6 +158,8 @@ public:
   static double getNAV1Radial ();
   static double getNAV1SelRadial ();
   static double getNAV1DistDME ();
+  static bool getNAV1TO ();
+  static bool getNAV1FROM ();
   static bool getNAV1InRange ();
   static bool getNAV1DMEInRange ();
 
@@ -155,6 +168,8 @@ public:
   static double getNAV2Radial ();
   static double getNAV2SelRadial ();
   static double getNAV2DistDME ();
+  static bool getNAV2TO ();
+  static bool getNAV2FROM ();
   static bool getNAV2InRange ();
   static bool getNAV2DMEInRange ();
 
@@ -175,16 +190,13 @@ public:
   static void setADFRotation (double rot);
 
                                // GPS
-  static const string getTargetAirport ();
+  static const string &getTargetAirport ();
   static bool getGPSLock ();
   static double getGPSTargetLatitude ();
   static double getGPSTargetLongitude ();
 
   static void setTargetAirport (const string &targetAirport);
   static void setGPSLock (bool lock);
-  static void setGPSTargetLatitude (double latitude);
-  static void setGPSTargetLongitude (double longitude);
-
 
                                // Weather
   static double getVisibility ();