Yaay, Debian package updates.

This commit is contained in:
Jeff Teunissen 2000-11-14 21:45:34 +00:00
parent 24477b651a
commit e5641c148b
34 changed files with 108 additions and 42 deletions

46
source/.gitignore vendored
View file

@ -1,19 +1,43 @@
.vimrc
*.i
*.s
*.a
*.d
*.i
*.o
*.obj
*.s
.deps
.vimrc
Makefile
Makefile.in
client.exe
qf-client-ggi
qf-client-glx
qf-client-sdl
qf-client-sgl
qf-client-svga
qf-client-x11
qf-client-3dfx
qf-client-3dfx.exe
qf-client-ggi
qf-client-ggi.exe
qf-client-glx
qf-client-glx.exe
qf-client-sdl
qf-client-sdl.exe
qf-client-sgl
qf-client-sgl.exe
qf-client-svga
qf-client-svga.exe
qf-client-x11
qf-client-x11.exe
qf-server
server.exe
.deps
qf-server.exe
qwaq-client-3dfx
qwaq-client-3dfx.exe
qwaq-client-ggi
qwaq-client-ggi.exe
qwaq-client-glx
qwaq-client-glx.exe
qwaq-client-sdl
qwaq-client-sdl.exe
qwaq-client-sgl
qwaq-client-sgl.exe
qwaq-client-svga
qwaq-client-svga.exe
qwaq-client-x11
qwaq-client-x11.exe
qwaq-server
qwaq-server.exe

View file

@ -340,11 +340,11 @@ Shared_Init8bitPalette()
load_texture = (void *) dlsym(dlhand, "glColorTableEXT");
#endif
Con_Printf("8-bit GL extensions enabled.\n");
glEnable( GL_SHARED_TEXTURE_PALETTE_EXT );
Con_Printf ("8-bit GL extensions enabled.\n");
glEnable (GL_SHARED_TEXTURE_PALETTE_EXT);
oldPalette = (char *) d_8to24table; //d_8to24table3dfx;
newPalette = thePalette;
for (i=0;i<256;i++) {
for (i = 0; i < 256; i++) {
*newPalette++ = *oldPalette++;
*newPalette++ = *oldPalette++;
*newPalette++ = *oldPalette++;
@ -352,17 +352,17 @@ Shared_Init8bitPalette()
}
is8bit = true;
if (strstr(gl_renderer, "Mesa Glide")) {
if (strstr (gl_renderer, "Mesa Glide")) {
#ifdef HAVE_TDFXGL
load_texture(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGB, 256, GL_RGB, GL_UNSIGNED_BYTE, (void *) thePalette);
load_texture (GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGB, 256, GL_RGB, GL_UNSIGNED_BYTE, (void *) thePalette);
#endif
} else
glColorTable(GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGB, 256, GL_RGB, GL_UNSIGNED_BYTE, (void *) thePalette);
glColorTable (GL_SHARED_TEXTURE_PALETTE_EXT, GL_RGB, 256, GL_RGB, GL_UNSIGNED_BYTE, (void *) thePalette);
}
#endif
void
VID_Init8bitPalette(void)
VID_Init8bitPalette (void)
{
if (COM_CheckParm("-no8bit")) {
Con_Printf("disabled.\n");