]> git.mxchange.org Git - flightgear.git/blobdiff - Cockpit/cockpit.c
Code reorganizations. Added a Lib/ directory for more general libraries.
[flightgear.git] / Cockpit / cockpit.c
index 8b4b21f76ef9c1084bb29226078b5c4b3479f823..20ddb97b200c3372318ead3382fb065f3455968d 100644 (file)
  **************************************************************************/
 
 
+#include <config.h>
+
+#ifdef HAVE_WINDOWS_H          
+#  include <windows.h>
+#endif
+
 #include <GL/glut.h>
 
 #include <stdlib.h>
@@ -85,20 +91,27 @@ fgCOCKPIT *fgCockpitAddHUD( fgCOCKPIT *cockpit, HUD *hud )
 void fgCockpitUpdate( void )
 {
 
-       fgPrintf( FG_COCKPIT, FG_INFO,
+       fgPrintf( FG_COCKPIT, FG_DEBUG,
                  "Cockpit: code %d   status %d\n", 
                  aircraft_cockpit->code, aircraft_cockpit->status );
-       if( aircraft_cockpit->hud != NULL )                     // That is, if the aircraft has a HUD,
-               fgUpdateHUD( aircraft_cockpit->hud );   // then draw it.
-                
+       if( aircraft_cockpit->hud != NULL ) {
+           // That is, if the aircraft has a HUD, then draw it.
+           fgUpdateHUD( aircraft_cockpit->hud );
+       }
 }
 
 
 /* $Log$
-/* Revision 1.10  1998/02/07 15:29:33  curt
-/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
-/* <chotchkiss@namg.us.anritsu.com>
+/* Revision 1.12  1998/04/14 02:23:09  curt
+/* Code reorganizations.  Added a Lib/ directory for more general libraries.
 /*
+ * Revision 1.11  1998/03/14 00:32:13  curt
+ * Changed a printf() to a fgPrintf().
+ *
+ * Revision 1.10  1998/02/07 15:29:33  curt
+ * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
+ * <chotchkiss@namg.us.anritsu.com>
+ *
  * Revision 1.9  1998/02/03 23:20:14  curt
  * Lots of little tweaks to fix various consistency problems discovered by
  * Solaris' CC.  Fixed a bug in fg_debug.c with how the fgPrintf() wrapper