]> git.mxchange.org Git - flightgear.git/commitdiff
Remove some cruft, and add a short TODO list
authordaveluff <daveluff>
Thu, 16 Oct 2003 11:28:44 +0000 (11:28 +0000)
committerdaveluff <daveluff>
Thu, 16 Oct 2003 11:28:44 +0000 (11:28 +0000)
src/ATC/tower.cxx
src/ATC/tower.hxx

index 5a0e7ef8640f3ef1229891d4092a0d5c53a5f984..2713c67379029374e90b57395b0279d06fd7bb56 100644 (file)
@@ -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;
index aa23ce17f06976e0ff1073c8ad7807f75f3c13fc..9c57c61fceb9519b9413a37dd8771aa006c4de61 100644 (file)
@@ -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;