From 4b9c0ad822aa37edd345662683b2bf77bbedf499 Mon Sep 17 00:00:00 2001 From: daveluff Date: Tue, 17 Dec 2002 11:36:14 +0000 Subject: [PATCH] Add some stub functions to FGTower to aid ATC dialog box development --- src/ATC/tower.cxx | 16 ++++++++++++++++ src/ATC/tower.hxx | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index 1c63b4a09..5f6920f70 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -102,3 +102,19 @@ void FGTower::Update() { } ++play; } + +void FGTower::RequestLandingClearance(string ID) { + cout << "Request Landing Clearance called...\n"; +} +void FGTower::RequestDepartureClearance(string ID) { + cout << "Request Departure Clearance called...\n"; +} +//void FGTower::ReportFinal(string ID); +//void FGTower::ReportLongFinal(string ID); +//void FGTower::ReportOuterMarker(string ID); +//void FGTower::ReportMiddleMarker(string ID); +//void FGTower::ReportInnerMarker(string ID); +//void FGTower::ReportGoingAround(string ID); +void FGTower::ReportRunwayVacated(string ID) { + cout << "Report Runway Vacated Called...\n"; +} diff --git a/src/ATC/tower.hxx b/src/ATC/tower.hxx index 51603cbe7..a73a4ebeb 100644 --- a/src/ATC/tower.hxx +++ b/src/ATC/tower.hxx @@ -83,7 +83,9 @@ class FGTower : public FGATC { void Init(); void Update(); - + + void RequestLandingClearance(string ID); + void RequestDepartureClearance(string ID); void ReportFinal(string ID); void ReportLongFinal(string ID); void ReportOuterMarker(string ID);