]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/HUD/HUD_runway.cxx
Re-Name FGViewer to flightgear::View
[flightgear.git] / src / Instrumentation / HUD / HUD_runway.cxx
index 5ad4592a1d6141bf6ba53d9e2dd95ad92423ea6a..6fae692d10eb6ff86c9a1ff52632db57057b85f1 100644 (file)
@@ -36,7 +36,7 @@
 #include <Environment/environment_mgr.hxx>
 #include <Viewer/viewer.hxx>
 #include <Viewer/viewmgr.hxx>
-#include <ATCDCL/ATCutils.hxx>
+#include <Airports/airport.hxx>
 
 #include "HUD.hxx"
 #include "HUD_private.hxx"
@@ -87,7 +87,7 @@ void HUD::Runway::draw()
 //    double po = curr_view->getPitchOffset_deg();
 //    double ho = curr_view->getHeadingOffset_deg();
 
-    FGViewer* cockpitView = globals->get_viewmgr()->get_view(0);
+    flightgear::View* cockpitView = globals->get_viewmgr()->get_view(0);
     
     double yaw = -(cockpitView->getHeadingOffset_deg() - _default_heading) * SG_DEGREES_TO_RADIANS;
     double pitch = (cockpitView->getPitchOffset_deg() - _default_pitch) * SG_DEGREES_TO_RADIANS;