remove vid_win.c from the projects. no longer needed after taniwha's
cl_main changes.
cl_main.c:
remove #include "winquake.h", which is not needed
vc/config.h:
add #define HAVE_WINSOCK_H
Rip out the pcx loading code and use LoadPCX instead.
pcx.h:
remove the data field from pcx_t: it was messing with gcc's idea of the
structure size. also, update LoadPCX's prototype
pcx.c:
change LoadPCX to return tex_t (new type in texture.h) and take a new
param: convert. LoadPCX will now wither load raw 8 bit or convert to
rgba on loading depending on convert. Also, make LoadPCX WORK and use
Hunk_TempAlloc to store the resulting texture.
texture.h:
define tex_t. defines an in-memory texture (either 8 or 32 bit, depending
on the presense of a palette). Data comes immediately after the sturcture.
eg tex_t *tex = Hunk_TempAlloc (sizeof (tex_t) + count)
mismatch. First, the md4 checksum is stored in the mesh, and the md4 checksum
of the mesh and the model checksum are also stored. If, on loading, either
checksum fails, the model is re-meshed.
include/mdfour.h:
Add define for MDFOUR_DIGEST_BYTES
source/.gdbinit
setrom _windowed_mouse 0 so mods don't make debugging difficult
source/model_alias.c:
pass original model data and size to GL_MakeAliasModelDisplayLists
source/sw_model_alias.c:
GL_MakeAliasModelDisplayLists take (but ignore) new params
source/gl_mesh.c:
do md4 checksums on the model and mesh
qfgl_ext.h:
Add protection against multiple includes of extensions from different files.
Add defs for GL_EXT_paletted_texture.
Change the #ifndef conditional for shared palettes to
GL_EXT_shared_texture_palette.
addition, removed support (for now) for SGIS and EXT multitexture. It
allowed me to enhance support for ARB multitexture, which is better anyway
(especially for Radeon, but that won't get special support yet until we
need a third texture pass).
Updated the Unix 8-bit GL code to be more like the Windows version, which
may work better. It still defaults off, because many drivers have bugs in
their handling of the shared texture palette extension.
strings (skybox and *progs). skybox is easy to take care of (aditional parse
functions), but I haven't yet decided what to do with *progs. Also, progs code
needs a bit of a cleanup, but that will come later.