# error This library requires C++
#endif
-const int FG_RAW_CTRLS_VERSION = 6;
+const int FG_RAW_CTRLS_VERSION = 7;
// Define a structure containing the control parameters
enum {
FG_MAX_ENGINES = 4,
- FG_MAX_WHEELS = 3
+ FG_MAX_WHEELS = 3,
+ FG_MAX_TANKS = 4
};
// Aero controls
double mixture[FG_MAX_ENGINES]; // 0 ... 1
double prop_advance[FG_MAX_ENGINES]; // 0 ... 1
+ // Fuel management
+ int num_tanks; // number of valid tanks
+ bool fuel_selector[FG_MAX_TANKS]; // false = off, true = on
+
// Brake controls
int num_wheels; // number of valid wheels
double brake[FG_MAX_WHEELS]; // 0 ... 1