Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 23:39:54 -0500
From:      "Charles Anderson" <caa@columbus.rr.com>
To:        "Daniel J. O'Connor" <darius@dons.net.au>
Cc:        Soren Schmidt <sos@freebsd.dk>, multimedia@FreeBSD.ORG, Martin Cracauer <cracauer@cons.org>
Subject:   Re: Quake1 source GPL'ed
Message-ID:  <19991223233954.B93977@midgard.dhs.org>
In-Reply-To: <XFMail.991223205154.darius@dons.net.au>; from darius@dons.net.au on Thu, Dec 23, 1999 at 08:51:54PM %2B1030
References:  <199912221020.LAA19273@freebsd.dk> <XFMail.991223205154.darius@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii

Here is what I did to gl_vidlinuxglx.c it looks much better now, but I don't have
any control over it (the keyboard & mouse grab don't seem to be working) , and the
sound doesn't work.  Evidently the shared texture bit is broken.  gl_ztrick makes
it not look transparent, but it also seems to slow it down, you can also set this
in the console (but I can't because of the afformentioned keyboard problem).

-Charlie

On Thu, Dec 23, 1999 at 08:51:54PM +1030, Daniel J. O'Connor wrote:
> 
> On 22-Dec-99 Soren Schmidt wrote:
> >  I have a libvgl & X11 version of it, does that count ??
> 
> Ooh neat :)
> 
> I just started a vgl version I guess I'll hold off 8-)
> 
> Can I have your diffs?
> 
> I rewrote the stinky GNU makefile too..
> 
> I tried to get the GL version going but it has some.. problems..
> 
> (Compiles and links, but doesn't look very nice at all :)
> 
> ---
> Daniel O'Connor software and network engineer
> for Genesis Software - http://www.gsoft.com.au
> "The nice thing about standards is that there
> are so many of them to choose from."
>   -- Andrew Tanenbaum
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message

-- 
Charles Anderson	caa@columbus.rr.com

No quote, no nothin'

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gl_vidlinuxglx.c.pat"

--- gl_vidlinuxglx.c.orig	Thu Dec 23 23:31:47 1999
+++ gl_vidlinuxglx.c	Thu Dec 23 18:47:44 1999
@@ -20,7 +20,7 @@
 #include <termios.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
-#include <sys/vt.h>
+/*#include <sys/vt.h> */
 #include <stdarg.h>
 #include <stdio.h>
 #include <signal.h>
@@ -91,7 +91,7 @@
 
 float		gldepthmin, gldepthmax;
 
-cvar_t	gl_ztrick = {"gl_ztrick","1"};
+cvar_t	gl_ztrick = {"gl_ztrick","0"};
 
 const char *gl_vendor;
 const char *gl_renderer;
@@ -667,7 +667,9 @@
 		qgl3DfxSetPaletteEXT((GLuint *)table);
 		is8bit = true;
 
-	} else if (strstr(gl_extensions, "GL_EXT_shared_texture_palette") &&
+	}
+#if 0
+	else if (strstr(gl_extensions, "GL_EXT_shared_texture_palette") &&
 		(qglColorTableEXT = dlsym(prjobj, "glColorTableEXT")) != NULL) {
 		char thePalette[256*3];
 		char *oldPalette, *newPalette;
@@ -685,6 +687,7 @@
 		qglColorTableEXT(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGB, 256, GL_RGB, GL_UNSIGNED_BYTE, (void *) thePalette);
 		is8bit = true;
 	}
+#endif
 	
 	dlclose(prjobj);
 }

--a8Wt8u1KmwUX3Y2C--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991223233954.B93977>