3b5512f573
I'm looking through the AI code, trying to find the bug that's killing the thermals. The following things don't look right: 1) AIManager::101 , the Traffic Manager pointer is searched for by name at every dt. I'll leave this for you to look at. 2) AIManager::295 , the thermal height is not being set. We need to restore the line: ai_thermal->setHeight(entity->height_msl); This fixes the thermal problem. 3) AIManager::328 , I changed the fetching of the user state to occur every sim cycle, and changed the fetching function from by-name lookup to a lookup by node pointer. It should be faster now, and more accurate too. This helps the air-refueling. |
||
---|---|---|
.. | ||
.cvsignore | ||
AIAircraft.cxx | ||
AIAircraft.hxx | ||
AIBallistic.cxx | ||
AIBallistic.hxx | ||
AIBase.cxx | ||
AIBase.hxx | ||
AICarrier.cxx | ||
AICarrier.hxx | ||
AIFlightPlan.cxx | ||
AIFlightPlan.hxx | ||
AIFlightPlanCreate.cxx | ||
AIManager.cxx | ||
AIManager.hxx | ||
AIScenario.cxx | ||
AIScenario.hxx | ||
AIShip.cxx | ||
AIShip.hxx | ||
AIStorm.cxx | ||
AIStorm.hxx | ||
AIThermal.cxx | ||
AIThermal.hxx | ||
Makefile.am | ||
submodel.cxx | ||
submodel.hxx |