]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/net_ctrls.hxx
Add an "additive-switch" type.
[flightgear.git] / src / Network / net_ctrls.hxx
index 31f21cb51a845da70f603cd74d2a5f6cf7cf19c4..1de077dd8e51d475822d8cf31a2e15253542a115 100644 (file)
@@ -1,7 +1,8 @@
 // net_ctrls.hxx -- defines a common net I/O interface to the flight
 //                  sim controls
 //
-// Written by Curtis Olson - curt@flightgear.com, started July 2001.
+// Written by Curtis Olson - http://www.flightgear.org/~curt
+// Started July 2001.
 //
 // This file is in the Public Domain, and comes with no warranty.
 //
@@ -16,7 +17,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 +53,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 +72,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 +95,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