trails, and possibly others as well.
Eliminate cl_oldvisedicts and cl_visedicts_list, change cl_visedicts's
definition to compensate. It isn't used any more, so they just waste
memory.
host.h:
remove Host_SimulationTime prototype
cl_main.c:
cl_demospeed stuff. Host_SimulationTime was resurected because of gcc
warnings about setjmp clobbering vars. It's made static inline so its
resurection doesn't cost fps.
you). While not yet fully functional, it compiles and runs to the point of
failing to find a mode (probably my fault, that:), but there's no mouse
support yet and the keyboard input isn't playable.
gl_smooth is now gl_dlight_smooth
gl_smoothdlights was redundant, is now gone
gl_flashblend is now gl_dlight_polyblend
gl_lightmap added to enable/disable lightmap updates independently of use of gl_dlight_polyblend
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.