Module twilight: Change committed

warp at icculus.org warp at icculus.org
Tue Jun 10 23:39:10 EDT 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-06-11 03:39:10 UTC

Log message:

Before I do more, I should commit this much.

Kill light.h, now part of gl_light.h.

We now REQUIRE SDL 1.2.5.

Interduce sdlimage.[ch], if we can find SDL_image, use it to load
things.

(Still a hack in a few ways, like the init, but we get /lots/ of image
formats from this.)

Interduce VectorMI, like VectorMA, except that it does a += on the
destination.

Do some tweaking on the alias model renderer:
 - Kill the shadelight variable that was always 1.
 - Move lightcolor to gl_alias.c.
 - Make the blended alias model function use VectorCopy, and VectorMI.

Change R_LightPoint to take a vec3_t argument, set to the light color
of the point.

Probably a few other things.

Modified files:
     configure.in src/client/cclient.h src/image/Makefile.am
     src/image/image.c src/include/mathlib.h src/nq/client.h
     src/nq/view.c src/qw/client.h src/qw/view.c
     src/renderer/Makefile.am src/renderer/gl_alias.c
     src/renderer/gl_arrays.h src/renderer/gl_brush.c
     src/renderer/gl_light.c src/renderer/gl_light.h
     src/renderer/gl_sprite.c src/renderer/mod_alias.c

Added files:
     src/image/sdlimage.c src/image/sdlimage.h

Removed files:
     src/renderer/light.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030611.033910.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030611/d6749e21/attachment.diff>


More information about the twilight-commits mailing list