- Fix sound problems. - Fix building on !i386. - Fix writting personal configuration, and do it in ~/.tenebrae, to avoid conflicts with other engines since they usually have different variables. - Use USE_DOS2UNIX. - Remove unneeded information from pkg-message (it depends on quake-data so it will be installed automatically, also quake-data installs the demo so tenebrae is playable after installation). - Use release target instead of the debug one. - Clean-up. PR: ports/98783 Approved by: maintainer (timeout)
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
--- ./glquake.h.orig Sat Jun 10 12:08:13 2006
|
|
+++ ./glquake.h Sat Jun 10 12:08:13 2006
|
|
@@ -419,8 +419,8 @@
|
|
void R_TranslatePlayerSkin (int playernum);
|
|
void GL_Bind (int texnum);
|
|
|
|
-#ifndef _WIN32
|
|
-#define APIENTRY /* */
|
|
+#ifndef APIENTRY
|
|
+#define APIENTRY
|
|
#endif
|
|
|
|
#if !defined (__APPLE__) && !defined (MACOSX)
|
|
@@ -470,6 +470,9 @@
|
|
// ARB_texture_compression defines
|
|
#define GL_COMPRESSED_RGBA_ARB 0x84EE
|
|
|
|
+#ifndef GL_ATI_separate_stencil
|
|
+#define GL_ATI_separate_stencil 1
|
|
+
|
|
#define GL_STENCIL_BACK_FUNC_ATI 0x8800
|
|
#define GL_STENCIL_BACK_FAIL_ATI 0x8801
|
|
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
|
|
@@ -478,6 +481,8 @@
|
|
typedef void (APIENTRY *PFNGLSTENCILOPSEPARATEATIPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
|
typedef void (APIENTRY *PFNGLSTENCILFUNCSEPARATEATIPROC)(GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
|
|
|
|
+#endif
|
|
+
|
|
extern PFNGLSTENCILOPSEPARATEATIPROC qglStencilOpSeparateATI;
|
|
extern PFNGLSTENCILFUNCSEPARATEATIPROC qglStencilFuncSeparateATI;
|
|
|
|
@@ -1134,8 +1139,13 @@
|
|
// <AWE> There are some diffs with the function parameters. wgl stuff not present with MacOS X. -DC- and SDL
|
|
#if defined (__APPLE__) || defined (MACOSX) || defined(SDL) || defined (__glx__)
|
|
|
|
+#ifndef GL_APPLE_vertex_array_range
|
|
+#define GL_APPLE_vertex_array_range 1
|
|
+
|
|
typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, const GLvoid *pointer);
|
|
typedef void (APIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei size, const GLvoid *pointer);
|
|
+
|
|
+#endif
|
|
|
|
extern PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC qglFlushVertexArrayRangeAPPLE;
|
|
extern PFNGLVERTEXARRAYRANGEAPPLEPROC qglVertexArrayRangeAPPLE;
|