Csaba/Jester : initialize all per-engine and per-tank attributes
This commit is contained in:
parent
c7b88756f2
commit
2d4a87b41c
1 changed files with 16 additions and 0 deletions
|
@ -205,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;
|
||||
|
@ -214,8 +216,22 @@ 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;
|
||||
}
|
||||
|
||||
// controls/fuel/tank[n]/pump[p]/
|
||||
bool boost_pump[MAX_TANKS * MAX_BOOSTPUMPS];
|
||||
|
||||
brake_left = brake_right
|
||||
= copilot_brake_left = copilot_brake_right
|
||||
= brake_parking = 0.0;
|
||||
|
|
Loading…
Add table
Reference in a new issue