]> git.mxchange.org Git - flightgear.git/commitdiff
Add support for wind speed/direction and freezes.
authorcurt <curt>
Wed, 16 Oct 2002 03:46:24 +0000 (03:46 +0000)
committercurt <curt>
Wed, 16 Oct 2002 03:46:24 +0000 (03:46 +0000)
src/Network/net_ctrls.hxx

index a1797b3f637296eab3f79665d331cb8792e8d114..553ca093e2d15c297beb2729916cc628367da767 100644 (file)
@@ -30,7 +30,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_NET_CTRLS_VERSION = 11;
+const int FG_NET_CTRLS_VERSION = 13;
 
 
 // Define a structure containing the control parameters
@@ -80,10 +80,20 @@ public:
     bool master_alt;
     bool master_avionics;
 
-    // Other values of use to a remote FDM
+    // wind and turbulance
+    double wind_speed_kt;
+    double wind_dir_deg;
+
+    // other information about environment
     double hground;                     // ground elevation (meters)
-    double magvar;                      // local magnetic variation in degrees.
+    double magvar;                      // local magnetic variation in degs.
+
+    // simulation control
     int speedup;                        // integer speedup multiplier
+    int freeze;                                 // 0=normal
+                                        // 0x01=master
+                                        // 0x02=position
+                                        // 0x04=fuel
 };