Module twilight: Change committed

warp at icculus.org warp at icculus.org
Fri May 23 22:26:57 EDT 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-05-24 02:26:56 UTC

Log message:

src/(nq|qw)/gl_* except for gl_screen.c is gone, now living in
src/renderer.

We now have gl_light.[ch], and gl_main.c.

Things that were in gl_rmain.c have been moved to cl_main.c if they
were not something that could be easily shared. (Same with the version
string from gl_draw.c).

How we handle detecting if we are allowed to do wateralpha has changed,
it should be faster and /much/ cleaner this way.

Alias models now use texcoord_t for the texcoord array, and we just
set the GL pointers to it for rendering. (No speed change here. :/)

And a big optimization, if we are using skysphere or skybox but no sky
surfaces are visible, don't bother drawing the sky stuff at all.

And probably a number of other things that I've missed.

Modified files:
     src/nq/Makefile.am src/nq/cl_main.c src/nq/cl_parse.c
     src/nq/render.h src/qw/Makefile.am src/qw/cl_main.c
     src/qw/cl_parse.c src/qw/gl_screen.c src/qw/render.h
     src/renderer/Makefile.am src/renderer/entities.c
     src/renderer/gl_alias.c src/renderer/gl_arrays.h
     src/renderer/gl_brush.c src/renderer/gl_brush.h
     src/renderer/gl_draw.c src/renderer/gl_info.c
     src/renderer/gl_info.h src/renderer/gl_textures.c
     src/renderer/mod_alias.c src/renderer/mod_alias.h
     src/renderer/r_part.h src/renderer/sky.c

Added files:
     src/renderer/gl_light.c src/renderer/gl_light.h
     src/renderer/gl_main.c

Removed files:
     src/nq/gl_draw.c src/nq/gl_rlight.c src/nq/gl_rmain.c
     src/qw/gl_draw.c src/qw/gl_ngraph.c src/qw/gl_rlight.c
     src/qw/gl_rmain.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030524.022656.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030524/74ac35ad/attachment.diff>


More information about the twilight-commits mailing list