From f9edbf36200e2d3638ffa7127bd6195c8e804de3 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 2 May 2006 01:19:02 +0000 Subject: [PATCH] Dave Culp: I've got some updates for the soaring scenario that will make for a more realistic (and fun) experience. They are: 1) A cap cloud, which will sit atop each thermal 2) A thermal scenario with wide coverage around KSFO, and using cap clouds 3) A one-line change to AIThermal.cxx to position cap cloud properly 4) Schweizer 2-33 set file change to match cloud coverage with thermal heights. files: 1) data/Models/Geometry/thermalcap.ac 2) data/Models/Geometry/thermalcap.xml 3) data/Models/Geometry/thermal_cap.rgb 4) data/AI/thermal_demo.xml 5) data/Aircraft/sgs233/sgs233-set.xml 6) source/src/AIModel/AIThermal.cxx *** or, if you prefer diffs *** 7) aimodel.diff --- src/AIModel/AIThermal.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AIModel/AIThermal.cxx b/src/AIModel/AIThermal.cxx index 7c3b64742..f79c780b8 100644 --- a/src/AIModel/AIThermal.cxx +++ b/src/AIModel/AIThermal.cxx @@ -56,6 +56,7 @@ void FGAIThermal::readFromScenario(SGPropertyNode* scFileNode) { bool FGAIThermal::init() { factor = 8.0 * max_strength / (diameter * diameter * diameter); + setAltitude( height ); return FGAIBase::init(); }