From: mfranz Date: Tue, 21 Feb 2006 21:29:19 +0000 (+0000) Subject: disable old ATC display. This is now done via screen.log.write() messages. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b23e2b131522fd44b0f16c0de3e58bbb7b241e9;p=flightgear.git disable old ATC display. This is now done via screen.log.write() messages. (Decide after 0.9.10 if it should be replaced with a new C++ implementation, or if the Nasal one is good enough.) --- diff --git a/src/ATC/ATCdisplay.cxx b/src/ATC/ATCdisplay.cxx index e7f19a07c..89588e000 100644 --- a/src/ATC/ATCdisplay.cxx +++ b/src/ATC/ATCdisplay.cxx @@ -203,6 +203,7 @@ void FGATCDisplay::update(double dt) { } void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) { +/**/ return; //cout << msg << '\n'; atcMessage m; m.msg = msg; @@ -219,18 +220,21 @@ void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) { } void FGATCDisplay::RegisterRepeatingMessage(const string& msg) { +/**/ return; rep_msg = true; rep_msg_str = msg; return; } void FGATCDisplay::ChangeRepeatingMessage(const string& newmsg) { +/**/ return; rep_msg_str = newmsg; change_msg_flag = true; return; } void FGATCDisplay::CancelRepeatingMessage() { +/**/ return; rep_msg = false; rep_msg_str = ""; dsp_offset1 = 0;