]> git.mxchange.org Git - flightgear.git/commitdiff
Dave Culp:
authorcurt <curt>
Tue, 2 May 2006 01:19:02 +0000 (01:19 +0000)
committercurt <curt>
Tue, 2 May 2006 01:19:02 +0000 (01:19 +0000)
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

index 7c3b64742e076997dc496fd57987aad7ca0c4ff1..f79c780b89e953355a3407a028de4fbb658b676f 100644 (file)
@@ -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();
 }