1
0
Fork 0

Vivian wants: s/with the ATIS/with ATIS/

This commit is contained in:
mfranz 2006-02-10 21:26:36 +00:00
parent 3957e26234
commit af7cd434cf
2 changed files with 4 additions and 4 deletions

View file

@ -179,7 +179,7 @@ void FGAIGAVFRTraffic::FlyPlane(double dt) {
} }
//cout << "freq = " << freq << endl; //cout << "freq = " << freq << endl;
GetRwyDetails(airportID); GetRwyDetails(airportID);
//"@AP Tower @CS @MI miles @CD of the airport for full stop with the ATIS" //"@AP Tower @CS @MI miles @CD of the airport for full stop with ATIS"
// At the bare minimum we ought to make sure it goes the right way at dual parallel rwy airports! // At the bare minimum we ought to make sure it goes the right way at dual parallel rwy airports!
if(rwy.rwyID.size() == 3) { if(rwy.rwyID.size() == 3) {
patternDirection = (rwy.rwyID.substr(2,1) == "R" ? 1 : -1); patternDirection = (rwy.rwyID.substr(2,1) == "R" ? 1 : -1);
@ -200,7 +200,7 @@ void FGAIGAVFRTraffic::FlyPlane(double dt) {
if(dist_miles > 1) pending_transmission += " miles "; if(dist_miles > 1) pending_transmission += " miles ";
else pending_transmission += " mile "; else pending_transmission += " mile ";
pending_transmission += GetCompassDirection(GetHeadingFromTo(_destPos, _pos)); pending_transmission += GetCompassDirection(GetHeadingFromTo(_destPos, _pos));
pending_transmission += " of the airport for full stop with the ATIS"; pending_transmission += " of the airport for full stop with ATIS";
//cout << pending_transmission << endl; //cout << pending_transmission << endl;
Transmit(14); // 14 is the callback code, NOT the timeout! Transmit(14); // 14 is the callback code, NOT the timeout!
responseCounter = 0; responseCounter = 0;

View file

@ -319,7 +319,7 @@ void FGTower::Init() {
// TODO FIXME - this will break when user starts on apron, at hold short, etc. // TODO FIXME - this will break when user starts on apron, at hold short, etc.
if(!OnAnyRunway(Point3D(user_lon_node->getDoubleValue(), user_lat_node->getDoubleValue(), 0.0))) { if(!OnAnyRunway(Point3D(user_lon_node->getDoubleValue(), user_lat_node->getDoubleValue(), 0.0))) {
//cout << ident << " ADD 0\n"; //cout << ident << " ADD 0\n";
current_atcdialog->add_entry(ident, "@AP Tower @CS @MI miles @CD of the airport for full stop with the ATIS", "Contact tower for VFR arrival (full stop)", TOWER, (int)USER_REQUEST_VFR_ARRIVAL_FULL_STOP); current_atcdialog->add_entry(ident, "@AP Tower @CS @MI miles @CD of the airport for full stop with ATIS", "Contact tower for VFR arrival (full stop)", TOWER, (int)USER_REQUEST_VFR_ARRIVAL_FULL_STOP);
} }
} }
} }
@ -1325,7 +1325,7 @@ void FGTower::CheckDepartureList(double dt) {
// Change the communication options // Change the communication options
RemoveAllUserDialogOptions(); RemoveAllUserDialogOptions();
//cout << "ADD A\n"; //cout << "ADD A\n";
current_atcdialog->add_entry(ident, "@AP Tower @CS @MI miles @CD of the airport for full stop with the ATIS", "Contact tower for VFR arrival (full stop)", TOWER, (int)USER_REQUEST_VFR_ARRIVAL_FULL_STOP); current_atcdialog->add_entry(ident, "@AP Tower @CS @MI miles @CD of the airport for full stop with ATIS", "Contact tower for VFR arrival (full stop)", TOWER, (int)USER_REQUEST_VFR_ARRIVAL_FULL_STOP);
} else { } else {
// Send a clear-of-airspace signal // Send a clear-of-airspace signal
// TODO - implement this once we actually have departing AI traffic (currently all circuits or arrivals). // TODO - implement this once we actually have departing AI traffic (currently all circuits or arrivals).