X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAircraft%2Fcontrols.cxx;h=5eeadc1a1ddae27daae9eab6756cbb2a0b736ad1;hb=386aefe69358ce41a11c9afeb8f56e26758fe56b;hp=150dbf296dfc6681c635671dc4342c16faff17ea;hpb=4c1c10ffef2c2bf85b6fc0689acff1eb65eed079;p=flightgear.git diff --git a/src/Aircraft/controls.cxx b/src/Aircraft/controls.cxx index 150dbf296..5eeadc1a1 100644 --- a/src/Aircraft/controls.cxx +++ b/src/Aircraft/controls.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include @@ -202,8 +205,10 @@ FGControls::init () magnetos[engine] = 0; feed_tank[engine] = -1; // set to -1 to turn off all tanks 0 feeds all engines from center body tank starter[engine] = false; + feather[engine] = false; ignition[engine] = false; fire_switch[engine] = false; + fire_bottle_discharge[engine] = false; cutoff[engine] = true; augmentation[engine] = false; reverser[engine] = false; @@ -211,6 +216,21 @@ FGControls::init () nitrous_injection[engine] = false; cowl_flaps_norm[engine] = 0.0; condition[engine] = 1.0; + carb_heat[engine] = false; + inlet_heat[engine] = false; + generator_breaker[engine] = false; + bus_tie[engine] = false; + engine_bleed[engine] = false; + } + + for ( int tank = 0; tank < MAX_TANKS; tank++ ) { + fuel_selector[tank] = false; + to_engine[tank] = 0; + to_tank[tank] = 0; + } + + for( int pump = 0; pump < MAX_TANKS * MAX_BOOSTPUMPS; pump++ ) { + boost_pump[pump] = false; } brake_left = brake_right