Module darkplaces: Change committed

havoc at icculus.org havoc at icculus.org
Fri Nov 8 18:27:05 EST 2002


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2002-11-08 23:27:04 UTC

Log message:

Elric's changes:
JPEG texture loading using libjpeg (entirely optional at runtime - if not present, it won't load it)
gl_extensionfunctionlist_t is now renamed dllfunction_t and part of a shared system for library opening/function retrieval (functions Sys_LoadLibrary, Sys_GetProcAddress, Sys_UnloadLibrary - for this the library handles are considered void *'s)
LordHavoc's changes:
fixed libjpeg support in non-win32 by using jpeglib.h - honors jpeglib.h's idea of boolean - Linux libjpeg is compiled with boolean as int, unlike windows where it is apparently byte - unfortunately this also means you need libjpeg-devel installed to compile it in non-win32, not sure what can be done about this (but most people seem to have that anyway...)
looks for libjpeg.so.62 instead of libjpeg.so

Modified files:
     darkplaces.dsp gl_rsurf.c gl_textures.c image.c makefile
     quakedef.h sys.h sys_linux.c sys_win.c vid.h vid_glx.c
     vid_shared.c vid_wgl.c

Added files:
     jpeg.c jpeg.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20021108.232704.havoc.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20021108/2e909deb/attachment.diff>


More information about the twilight-commits mailing list