]> git.mxchange.org Git - flightgear.git/commitdiff
Added magnetos and starter to structure
authorcurt <curt>
Sun, 3 Mar 2002 20:27:56 +0000 (20:27 +0000)
committercurt <curt>
Sun, 3 Mar 2002 20:27:56 +0000 (20:27 +0000)
src/Network/raw_ctrls.hxx

index 91a74cf41e0ba0efb65da2b6c3372ca43473c853..bba3c36d9a8bfcf05ad22f95393cd3cf7877cece 100644 (file)
@@ -30,9 +30,9 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_RAW_CTRLS_VERSION = 2;
+const int FG_RAW_CTRLS_VERSION = 3;
 
-const int FG_MAX_ENGINES = 10;
+const int FG_MAX_ENGINES = 4;
 const int FG_MAX_WHEELS = 3;
 
 // Define a structure containing the control parameters
@@ -49,6 +49,8 @@ public:
     double elevator_trim;               // -1 ... 1
     double rudder;                      // -1 ... 1
     double flaps;                       //  0 ... 1
+    int magnetos[FG_MAX_ENGINES];
+    bool starter[FG_MAX_ENGINES];        //  true = starter engauged
     double throttle[FG_MAX_ENGINES];     //  0 ... 1
     double mixture[FG_MAX_ENGINES];      //  0 ... 1
     double prop_advance[FG_MAX_ENGINES]; //  0 ... 1