]> git.jsancho.org Git - lugaru.git/blobdiff - Source/gamegl.h
Looks like UNIX also needs the MacCompatibility.cpp for ConvertFileName.
[lugaru.git] / Source / gamegl.h
index c88278a1abd6a4682983680a0f2bdb0cff4ef48e..20d94ce125d9799cc2c84c6a1ecb9afe411f1991 100644 (file)
@@ -33,13 +33,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef WIN32
   #if PLATFORM_UNIX
     #define GL_GLEXT_PROTOTYPES
-    #include "gl.h"
-    #include "glu.h"
-    #include "glext.h"
+    #include "GL/gl.h"
+    #include "GL/glu.h"
+    #include "GL/glext.h"
   #else
-    #include <gl.h>
-    #include <glu.h>
-    #include <glext.h>
+    #include <GL/gl.h>
+    #include <GL/glu.h>
+    #include <GL/glext.h>
   #endif
 #else
   #define WIN32_LEAN_AND_MEAN
@@ -49,12 +49,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
   #define GL_GLEXT_PROTOTYPES
   #include <gl/gl.h>
   #include <gl/glu.h>
-  #include <gl/glaux.h>
+  //#include <gl/glaux.h> -- EVIL and OLD, NEVER USE IT!
   #include <gl/glext.h>
   #include "MacCompatibility.h"
-  #include "il/ilut.h"
+  //#include "il/ilut.h"
 
-  #define glDeleteTextures( a, b) glDeleteTextures( (a), (const unsigned int *)(b) );
 #endif
 
 #if !PLATFORM_MACOSX
@@ -70,7 +69,9 @@ typedef RGBColor * RGBColorPtr;
 
 using namespace std;
 
-#include "logger/logger.h"
+/* !!! FIXME: until we replace logger better. --ryan. */
+#define LOGFUNC
+void LOG(const std::string &fmt, ...);
 
 #endif