]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/net_ctrls.hxx
Switch from bool to int for more deterministic structure packing.
[flightgear.git] / src / Network / net_ctrls.hxx
index 31f21cb51a845da70f603cd74d2a5f6cf7cf19c4..1508b7ac56500d30781ddba989f165f2ca793e41 100644 (file)
@@ -16,7 +16,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_NET_CTRLS_VERSION = 20;
+const int FG_NET_CTRLS_VERSION = 23;
 
 
 // Define a structure containing the control parameters
@@ -52,6 +52,7 @@ public:
     bool starter_power[FG_MAX_ENGINES];  // true = starter power
     double throttle[FG_MAX_ENGINES];     //  0 ... 1
     double mixture[FG_MAX_ENGINES];      //  0 ... 1
+    double condition[FG_MAX_ENGINES];    //  0 ... 1
     bool fuel_pump_power[FG_MAX_ENGINES];// true = on
     double prop_advance[FG_MAX_ENGINES]; //  0 ... 1
 
@@ -70,6 +71,8 @@ public:
     // Brake controls
     double brake_left;
     double brake_right;
+    double copilot_brake_left;
+    double copilot_brake_right;
     double brake_parking;
     
     // Landing Gear
@@ -91,6 +94,11 @@ public:
     double hground;                     // ground elevation (meters)
     double magvar;                      // local magnetic variation in degs.
 
+    // hazards
+    bool icing;                          // icing status could me much
+                                         // more complex but I'm
+                                         // starting simple here.
+
     // simulation control
     int speedup;                        // integer speedup multiplier
     int freeze;                                 // 0=normal