Module twilight: Change committed

warp at icculus.org warp at icculus.org
Thu Apr 17 23:19:41 EDT 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-04-18 03:19:41 UTC

Log message:

The main bulk of my changes.

Don't blank r_skyname on map changes, if someone sets things to use a
skybox, then don't force it to skyspheres.

Make everything /except/ lightmaps use things like GLT_Load_* and
GL_Upload32 instead of uploading directly, this makes sure that we
honor the gl_max_size on everything except lightmaps.

Make sure that gl_max_size is a power of 2.

Move some variable declarations.

Change how we handle CVAs a bit, this should work with nVidia drivers
and be faster in a number of cases. (Though, for some reason I'm not
seeing much in the way of speedups.)

Change some of the vertex array handling.

Added TEX_REPLACE flag, this causes the texture to replace other
textures with the same name, used for skys.

Change some of the sky sphere drawing, a little bit faster.

Modified files:
     doc/TODO.txt src/nq/cl_parse.c src/nq/gl_rmain.c
     src/nq/gl_rsurf.c src/nq/render.h src/qw/cl_parse.c
     src/qw/gl_ngraph.c src/qw/gl_rmain.c src/qw/gl_rsurf.c
     src/qw/render.h src/renderer/gen_textures.c
     src/renderer/gl_alias.c src/renderer/gl_arrays.c
     src/renderer/gl_arrays.h src/renderer/gl_draw.c
     src/renderer/gl_info.c src/renderer/gl_textures.c
     src/renderer/gl_textures.h src/renderer/liquid.c
     src/renderer/r_explosion.c src/renderer/sky.c src/renderer/sky.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030418.031941.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030418/2b0a09d4/attachment.diff>


More information about the twilight-commits mailing list