From 9c42c9288a7e487590deab5f83fa24d2dedda217 Mon Sep 17 00:00:00 2001 From: curt Date: Sun, 3 Mar 2002 20:27:56 +0000 Subject: [PATCH] Added magnetos and starter to structure --- src/Network/raw_ctrls.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Network/raw_ctrls.hxx b/src/Network/raw_ctrls.hxx index 91a74cf41..bba3c36d9 100644 --- a/src/Network/raw_ctrls.hxx +++ b/src/Network/raw_ctrls.hxx @@ -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