]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCdisplay.cxx
Modified Files:
[flightgear.git] / src / ATC / ATCdisplay.cxx
index 78635152a2d6fb2fe623396fd07e41e6f6f66efa..e554a4d78ab71ba19bc6c5833147bbb991efa238 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
 
+#ifdef HAVE_WINDOWS_H
+#   include <windows.h>
+#endif
+
+#include <simgear/compiler.h>
+
+#include SG_GLU_H
+
 #include <simgear/props/props.hxx>
 
 #include <Include/general.hxx>
@@ -53,8 +61,13 @@ void FGATCDisplay::bind() {
 void FGATCDisplay::unbind() {
 }
 
+void FGATCDisplay::update(double dt)
+{
+  std::cout << "OSGFIXME" << std::endl;
+}
+
 // update - this actually draws the visuals and should be called from the main Flightgear rendering loop.
-void FGATCDisplay::update(double dt) {
+void FGATCDisplay::update(double dt, osg::State& state) {
        
        // These strings are used for temporary storage of the transmission string in order
        // that the string we view only changes when the next repetition starts scrolling
@@ -194,7 +207,8 @@ void FGATCDisplay::update(double dt) {
        }
 }
 
-void FGATCDisplay::RegisterSingleMessage(string msg, double delay) {
+void FGATCDisplay::RegisterSingleMessage(const string& msg, double delay) {
+/**/   return;
        //cout << msg << '\n';
        atcMessage m;
        m.msg = msg;
@@ -210,19 +224,22 @@ void FGATCDisplay::RegisterSingleMessage(string msg, double delay) {
        //cout << "Single message registered\n";
 }
 
-void FGATCDisplay::RegisterRepeatingMessage(string msg) {
+void FGATCDisplay::RegisterRepeatingMessage(const string& msg) {
+/**/   return;
        rep_msg = true;
        rep_msg_str = msg;
        return;
 }
 
-void FGATCDisplay::ChangeRepeatingMessage(string newmsg) {
+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;