]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bfi.hxx
Changes to support new simgear waypoint module.
[flightgear.git] / src / Main / bfi.hxx
index 42635639a34dce95ad7d69ba3cee5b341acc231d..8f26d88556cb3589ada3646d62a1c63c9056c666 100644 (file)
@@ -90,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 ();
@@ -106,6 +110,8 @@ public:
 
                                // Controls
   static double getThrottle ();
+  static double getMixture ();
+  static double getPropAdvance ();
   static double getFlaps ();
   static double getAileron ();
   static double getRudder ();
@@ -117,6 +123,8 @@ public:
   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 setAileron (double aileron);
   static void setRudder (double rudder);
@@ -182,15 +190,16 @@ 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);
+  // static void setGPSTargetLatitude (double latitude);
+  // static void setGPSTargetLongitude (double longitude);
+  static void setGPSTargetWayPoint (double latitude, double longitude);
 
 
                                // Weather