From c7b88756f21df9b0534c53dace4b8f22d778039a Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 16 Jan 2009 07:31:01 +0000 Subject: [PATCH 1/3] Update MSVC 7.1 project --- projects/VC7.1/fgjs.vcproj | 8 ++++---- projects/VC7.1/terrasync.vcproj | 8 ++++---- projects/VC7.1/yasim.vcproj | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/projects/VC7.1/fgjs.vcproj b/projects/VC7.1/fgjs.vcproj index 2b4462652..a9552d0d4 100755 --- a/projects/VC7.1/fgjs.vcproj +++ b/projects/VC7.1/fgjs.vcproj @@ -34,10 +34,10 @@ Name="VCCustomBuildTool"/> Date: Sat, 17 Jan 2009 10:05:05 +0000 Subject: [PATCH 2/3] Csaba/Jester : initialize all per-engine and per-tank attributes --- src/Aircraft/controls.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Aircraft/controls.cxx b/src/Aircraft/controls.cxx index 2e3da344c..9df598427 100644 --- a/src/Aircraft/controls.cxx +++ b/src/Aircraft/controls.cxx @@ -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; From 5c836d7ae87c1c0766331726b0a4d2b60622b914 Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 17 Jan 2009 15:44:13 +0000 Subject: [PATCH 3/3] Csaba/Jester : initialize all per-engine and per-tank attributes ( follow-up ) --- src/Aircraft/controls.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Aircraft/controls.cxx b/src/Aircraft/controls.cxx index 9df598427..5eeadc1a1 100644 --- a/src/Aircraft/controls.cxx +++ b/src/Aircraft/controls.cxx @@ -228,9 +228,10 @@ FGControls::init () to_engine[tank] = 0; to_tank[tank] = 0; } - - // controls/fuel/tank[n]/pump[p]/ - bool boost_pump[MAX_TANKS * MAX_BOOSTPUMPS]; + + for( int pump = 0; pump < MAX_TANKS * MAX_BOOSTPUMPS; pump++ ) { + boost_pump[pump] = false; + } brake_left = brake_right = copilot_brake_left = copilot_brake_right