#include <Main/fg_props.hxx>
#include <Main/globals.hxx>
#include <Main/util.hxx>
+#include <Instrumentation/HUD/HUD.hxx>
#include "instrument_mgr.hxx"
#include "adf.hxx"
#include "inst_vertical_speed_indicator.hxx" // (TJ)
#include "od_gauge.hxx"
#include "wxradar.hxx"
-#include "tacan.hxx"
+#include "tacan.hxx"
#include "mk_viii.hxx"
{
set_subsystem("annunciator", new Annunciator);
set_subsystem("od_gauge", new FGODGauge, 1.0);
+ set_subsystem("hud", new HUD);
config_props = new SGPropertyNode;
#include <Scenery/tilemgr.hxx>
#include <ATC/ATCdisplay.hxx>
#include <GUI/new_gui.hxx>
+#include <Instrumentation/instrument_mgr.hxx>
+#include <Instrumentation/HUD/HUD.hxx>
#include "splash.hxx"
#include "renderer.hxx"
hud_and_panel->apply();
fgCockpitUpdate();
+ FGInstrumentMgr *instr = static_cast<FGInstrumentMgr *>(globals->get_subsystem("instrumentation"));
+ HUD *hud = static_cast<HUD *>(instr->get_subsystem("hud"));
+ hud->draw();
+
// Use the hud_and_panel ssgSimpleState for rendering the ATC output
// This only works properly if called before the panel call
if((fgGetBool("/sim/atc/enabled")) || (fgGetBool("/sim/ai-traffic/enabled")))