# include <config.h>
#endif
-#include <simgear/math/point3d.hxx>
#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Scenery/scenery.hxx>
#include <string>
#include <math.h>
-SG_USING_STD(string);
+using std::string;
#include "AIThermal.hxx"
setHeight(scFileNode->getDoubleValue("height-msl", 5000.0));
}
-bool FGAIThermal::init() {
+bool FGAIThermal::init(bool search_in_AI_path) {
factor = 8.0 * max_strength / (diameter * diameter * diameter);
setAltitude( height );
- return FGAIBase::init();
+ return FGAIBase::init(search_in_AI_path);
}
void FGAIThermal::bind() {