]> git.mxchange.org Git - flightgear.git/commitdiff
disable old ATC display. This is now done via screen.log.write() messages.
authormfranz <mfranz>
Tue, 21 Feb 2006 21:29:19 +0000 (21:29 +0000)
committermfranz <mfranz>
Tue, 21 Feb 2006 21:29:19 +0000 (21:29 +0000)
(Decide after 0.9.10 if it should be replaced with a new C++ implementation,
or if the Nasal one is good enough.)

src/ATC/ATCdisplay.cxx

index e7f19a07c37c34eaae0d121986c24240841f95f5..89588e0006f0967708853a3f4600016f2a9792c2 100644 (file)
@@ -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;