]> git.mxchange.org Git - flightgear.git/commitdiff
Added fuel_pump switch, and master switches (bat, alt, avionics)
authorcurt <curt>
Wed, 25 Sep 2002 22:06:38 +0000 (22:06 +0000)
committercurt <curt>
Wed, 25 Sep 2002 22:06:38 +0000 (22:06 +0000)
src/Network/raw_ctrls.hxx

index 579c3a51b3ab2d7196685b334a33043e475a1f0f..5b7e29f45f77539adcb7f9cca386a9bf8572dc70 100644 (file)
@@ -30,7 +30,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_RAW_CTRLS_VERSION = 8;
+const int FG_RAW_CTRLS_VERSION = 10;
 
 
 // Define a structure containing the control parameters
@@ -60,6 +60,7 @@ public:
     bool starter[FG_MAX_ENGINES];        // true = starter engauged
     double throttle[FG_MAX_ENGINES];     //  0 ... 1
     double mixture[FG_MAX_ENGINES];      //  0 ... 1
+    bool fuel_pump[FG_MAX_ENGINES];      // true = on
     double prop_advance[FG_MAX_ENGINES]; //  0 ... 1
 
     // Fuel management
@@ -73,6 +74,11 @@ public:
     // Landing Gear
     bool gear_handle; // true=gear handle down; false= gear handle up
 
+    // Switches
+    bool master_bat;
+    bool master_alt;
+    bool master_avionics;
+
     // Other values of use to a remote FDM
     double hground;                     // ground elevation (meters)
     double magvar;                      // local magnetic variation in degrees.