From 7105d2029a4fdb8f30c4fb1911f2283496a78773 Mon Sep 17 00:00:00 2001 From: daveluff Date: Thu, 16 Oct 2003 11:28:44 +0000 Subject: [PATCH] Remove some cruft, and add a short TODO list --- src/ATC/tower.cxx | 20 +++++++++++++++++++- src/ATC/tower.hxx | 2 -- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index 5a0e7ef86..2713c6737 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -119,6 +119,25 @@ isUser(false) // FGTower +/******************************************* + TODO List + +Currently user is assumed to have taken off again when leaving the runway - check speed/elev for taxiing-in. + +AI plane lands even when user on rwy - make it go-around instead. + +Tell AI plane to contact ground when taxiing in. + +Use track instead of heading to determine what leg of the circuit the user is flying. + +Use altitude as well as position to try to determine if the user has left the circuit. + +Currently HoldShortReported code assumes there will be only one plane holding for the runway at once and +will break when planes start queueing. + +Implement ReportRunwayVacated +*******************************************/ + FGTower::FGTower() { ATCmgr = globals->get_ATC_mgr(); @@ -1225,7 +1244,6 @@ void FGTower::ContactAtHoldShort(PlaneRec plane, FGAIPlane* requestee, tower_tra t->plane = plane; t->planePtr = requestee; t->holdShortReported = true; - t->clearanceCounter = 0; t->clearedToLineUp = false; t->clearedToTakeOff = false; t->opType = operation; diff --git a/src/ATC/tower.hxx b/src/ATC/tower.hxx index aa23ce17f..9c57c61fc 100644 --- a/src/ATC/tower.hxx +++ b/src/ATC/tower.hxx @@ -85,8 +85,6 @@ public: bool onRwy; // is physically on the runway bool nextOnRwy; // currently projected by tower to be the next on the runway - double clearanceCounter; // Hack for communication timing - counter since clearance requested in seconds - // Type of operation the plane is doing tower_traffic_type opType; -- 2.39.2