// 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();
t->plane = plane;
t->planePtr = requestee;
t->holdShortReported = true;
- t->clearanceCounter = 0;
t->clearedToLineUp = false;
t->clearedToTakeOff = false;
t->opType = operation;
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;