]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud.cxx
Updates to vacuum system model from Alex Perry.
[flightgear.git] / src / Cockpit / hud.cxx
index a85624fc2b6b3abaac0ac5fd966add290ce77856..0d773c8c945164775639ab5045c98e6011530dc8 100644 (file)
 #  include <values.h>  // for MAXINT
 #endif
 
+#include <simgear/constants.h>
+#include <simgear/debug/logstream.hxx>
+#include <simgear/math/fg_random.h>
+#include <simgear/math/polar3d.hxx>
+
 #include <Aircraft/aircraft.hxx>
-#include <Debug/logstream.hxx>
 #include <GUI/gui.h>
-#include <Include/fg_constants.h>
 #include <Main/options.hxx>
-#include <Math/fg_random.h>
-#include <Math/mat3.h>
-#include <Math/polar3d.hxx>
-#include <Network/network.h>
+#ifdef FG_NETWORK_OLK
+#include <NetworkOLK/network.h>
+#endif
 #include <Scenery/scenery.hxx>
 #include <Time/fg_timer.hxx>
 
@@ -1274,6 +1276,13 @@ void fgUpdateHUD( void ) {
   char *gmt_str = get_formated_gmt_time();
   HUD_TextList.add( fgText(40, 10, gmt_str) );
 
+#ifdef FG_NETWORK_OLK
+  if ( net_hud_display ) {
+      net_hud_update();
+  }
+#endif
+
+
   // temporary
   extern bool fgAPAltitudeEnabled( void );
   extern bool fgAPHeadingEnabled( void );