#include <simgear/scene/util/project.hxx>
#include <Main/globals.hxx>
+#include <Main/fg_props.hxx>
#include <Scenery/scenery.hxx>
#include <Aircraft/controls.hxx>
#include <FDM/flight.hxx>
#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"
HUD::Runway::Runway(HUD *hud, const SGPropertyNode *node, float x, float y) :
Item(hud, node, x, y),
// 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;