]> git.mxchange.org Git - flightgear.git/blobdiff - Cockpit/panel.cxx
Converted to new logstream debugging facility. This allows release
[flightgear.git] / Cockpit / panel.cxx
index 70bfb0a088f04e2fef740879d1b13bf4caed8f86..a79c779026c7d4d75e03f84c600c27577091dabf 100644 (file)
@@ -41,8 +41,7 @@
 #include <string>
 #include <math.h>
 
-#include <Aircraft/aircraft.h>
-#include <Debug/fg_debug.h>
+#include <Aircraft/aircraft.hxx>
 #include <Main/options.hxx>
 #include <Main/views.hxx>
 
@@ -404,8 +403,9 @@ CreatePointer(&pointer[i]);
     // strcat(tpath, "arthor.rgb");
 
  //   if ( (imag = ImageLoad(tpath)) == NULL ){
- //    fgPrintf( FG_COCKPIT, FG_EXIT, 
+ //    fgPrintf( FG_COCKPIT, FG_ALERT, 
                 // "Error loading cockpit texture %s\n", tpath );
+    //  exit(-1);
    // }
     
     xglPixelStorei(GL_UNPACK_ROW_LENGTH, 256);
@@ -726,9 +726,17 @@ pointer->vertices[19] = pointer->vertices[3];
 
 
 /* $Log$
-/* Revision 1.7  1998/08/31 20:45:31  curt
-/* Tweaks from Friedemann.
+/* Revision 1.9  1998/11/06 21:18:01  curt
+/* Converted to new logstream debugging facility.  This allows release
+/* builds with no messages at all (and no performance impact) by using
+/* the -DFG_NDEBUG flag.
 /*
+/* Revision 1.8  1998/10/16 23:27:37  curt
+/* C++-ifying.
+/*
+ * Revision 1.7  1998/08/31 20:45:31  curt
+ * Tweaks from Friedemann.
+ *
  * Revision 1.6  1998/08/28 18:14:40  curt
  * Added new cockpit code from Friedemann Reinhard
  * <mpt218@faupt212.physik.uni-erlangen.de>