case 1:
retVal = createPushBack(ac, firstFlight, dep, latitude, longitude,
radius, fltType, aircraftType, airline);
- // Pregenerate the
- if (retVal) {
- waypoints.back()->setName( waypoints.back()->getName() + string("legend"));
- retVal = createTakeoffTaxi(ac, false, dep, radius, fltType, aircraftType, airline);
- }
+ // Pregenerate the taxi leg.
+ //if (retVal) {
+ // waypoints.back()->setName( waypoints.back()->getName() + string("legend"));
+ // retVal = createTakeoffTaxi(ac, false, dep, radius, fltType, aircraftType, airline);
+ //}
break;
case 2:
retVal = createTakeoffTaxi(ac, firstFlight, dep, radius, fltType,
break;
default:
//exit(1);
- SG_LOG(SG_INPUT, SG_ALERT,
+ SG_LOG(SG_AI, SG_ALERT,
"AIFlightPlan::create() attempting to create unknown leg"
" this is probably an internal program error");
}
&heading, &gateId,
radius, fltType,
acType, airline))) {
- SG_LOG(SG_INPUT, SG_WARN, "Could not find parking for a " <<
+ SG_LOG(SG_AI, SG_WARN, "Could not find parking for a " <<
acType <<
" of flight type " << fltType <<
" of airline " << airline <<
FGAIWaypoint *wpt;
- double aptElev = apt->getElevation();
+ //double aptElev = apt->getElevation();
double currElev = 0;
char buffer[12];
FGRunway * rwy = apt->getRunwayByIdent(activeRunway);