Module twilight: Change committed

warp at icculus.org warp at icculus.org
Mon Mar 3 23:51:57 EST 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-03-04 04:51:57 UTC

Log message:

The 'why the hell is this not common' commit.

gl_draw.c from qw and nq has been made common, the texture tracking
pieces have been put in src/renderer/gl_textures.c, and the drawing
pieces have been put in src/renderer/gl_draw.c (new).

There were some name changes for the texture management code,
GLT_Load_<type>, the main one is GLT_Load_Raw.
(Some other misc naming changes.)

r_explosions.c has been made common.

The variables glx and gly were NEVER changed, and never inited, but were
used.  This worked because they were always 0, but this can't have made
things like the bounds checking gcc happy, they are now quite gone.

Changed the linking order, ugh, I hate linking order problems.

Included qtypes.h in a few more headers so they could actually be
#included first.

Moved stuff in gl_textures.c around a bit.

Modified files:
     include/draw.h include/vid.h include/wad.h nq/Makefile.am
     nq/gl_draw.c nq/gl_rlight.c nq/gl_rmain.c nq/gl_screen.c
     nq/render.h qw/Makefile.am qw/gl_draw.c qw/gl_ngraph.c
     qw/gl_rlight.c qw/gl_rmain.c qw/gl_screen.c qw/render.h
     src/image/image.h src/renderer/Makefile.am src/renderer/gl_info.h
     src/renderer/gl_textures.c src/renderer/gl_textures.h
     src/renderer/mod_brush.c src/renderer/mod_sprite.c
     src/renderer/sky.c

Added files:
     src/renderer/gl_draw.c src/renderer/gl_draw.h
     src/renderer/r_explosion.c

Removed files:
     nq/r_explosion.c qw/r_explosion.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030304.045157.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030304/2980b05f/attachment.diff>


More information about the twilight-commits mailing list