]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/hud_lon.cxx
Tweaks for Mips Irix compilers.
[flightgear.git] / src / Cockpit / hud_lon.cxx
index 07a75fea1b5b410f8b5a3a91ee00ed8c33c14ac2..4eb5a51711a1a4d99ef62ee1cd309513da40a9a0 100644 (file)
@@ -1,24 +1,7 @@
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
-#ifdef HAVE_WINDOWS_H
-#  include <windows.h>
-#endif
-#include <stdlib.h>
-#include <string.h>
-#include <Aircraft/aircraft.hxx>
-#include <GUI/gui.h>
-#include <Include/fg_constants.h>
-#include <Math/fg_random.h>
-#include <Math/mat3.h>
-#include <Math/polar3d.hxx>
-#include <Scenery/scenery.hxx>
-#include <Time/fg_timer.hxx>
-
 
 #include "hud.hxx"
 
+
 #ifdef USE_HUD_TextList
 #define textString( x , y, text, font )  TextString( text, x , y )
 #else
@@ -149,10 +132,10 @@ draw( void )       // Required method in base class
   if( justify == RIGHT_JUST ) {
          posincr = scrn_rect.right - lenstr;
   }else if( justify == CENTER_JUST ) {
-         posincr = get_span() - (lenstr/2); //  -lenstr*4;
+         posincr = get_span() - (lenstr/2);
   }  else {
       //  justify == LEFT_JUST
-      posincr = 0;  // 0;
+      posincr = 0;
   }
   
   if( fontSize == SMALL ) {