]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/raw_ctrls.hxx
Updated adf property names.
[flightgear.git] / src / Network / raw_ctrls.hxx
index e39591a101a7ce8e9ad6cbcd756188fa756ca319..d955e1f6b1377178d0d3bcfee4d4b5ad26285b76 100644 (file)
@@ -30,7 +30,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_RAW_CTRLS_VERSION = 5;
+const int FG_RAW_CTRLS_VERSION = 6;
 
 
 // Define a structure containing the control parameters
@@ -41,8 +41,10 @@ public:
 
     int version;                        // increment when data values change
 
-    static const int FG_MAX_ENGINES = 4;
-    static const int FG_MAX_WHEELS = 3;
+    enum {
+        FG_MAX_ENGINES = 4,
+        FG_MAX_WHEELS = 3
+    };
 
     // Aero controls
     double aileron;                     // -1 ... 1
@@ -62,6 +64,9 @@ public:
     // Brake controls
     int num_wheels;                     // number of valid wheels
     double brake[FG_MAX_WHEELS];         //  0 ... 1
+    
+    // Landing Gear
+    bool gear_handle; // true=gear handle down; false= gear handle up
 
     // Other values of use to a remote FDM
     double hground;                     // ground elevation (meters)