1
0
Fork 0

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.)
This commit is contained in:
mfranz 2006-02-21 21:29:19 +00:00
parent f38f3aabcc
commit 4b23e2b131

View file

@ -203,6 +203,7 @@ void FGATCDisplay::update(double dt) {
} }
void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) { void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) {
/**/ return;
//cout << msg << '\n'; //cout << msg << '\n';
atcMessage m; atcMessage m;
m.msg = msg; m.msg = msg;
@ -219,18 +220,21 @@ void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) {
} }
void FGATCDisplay::RegisterRepeatingMessage(const string& msg) { void FGATCDisplay::RegisterRepeatingMessage(const string& msg) {
/**/ return;
rep_msg = true; rep_msg = true;
rep_msg_str = msg; rep_msg_str = msg;
return; return;
} }
void FGATCDisplay::ChangeRepeatingMessage(const string& newmsg) { void FGATCDisplay::ChangeRepeatingMessage(const string& newmsg) {
/**/ return;
rep_msg_str = newmsg; rep_msg_str = newmsg;
change_msg_flag = true; change_msg_flag = true;
return; return;
} }
void FGATCDisplay::CancelRepeatingMessage() { void FGATCDisplay::CancelRepeatingMessage() {
/**/ return;
rep_msg = false; rep_msg = false;
rep_msg_str = ""; rep_msg_str = "";
dsp_offset1 = 0; dsp_offset1 = 0;