Module twilight: Change committed

warp at icculus.org warp at icculus.org
Tue Jun 17 10:49:42 EDT 2003


Commiter   : warp
CVSROOT    : /cvs/cvsroot/twilight
Module     : twilight
Commit time: 2003-06-17 14:49:42 UTC

Log message:

Any wad files we find will have its contents inserted as 'gfx/<foo>.lmp'

src/base/wad.c and src/include/wad.h are gone.

qpic_t is gone, use image_t.

FS_FindFiles_Complex, for when you are looking for any of a set of
files, but want the one that is highest on the path. (Added latest).

Redesign part of the image handling:
  Image_Load takes a new argument, flags.
  Image_Load_Multi takes a NULL terminated list of files to try to find,
  finds the one highest in the path, giving preference to the first ones
  listed. (If they are both on the same level of the path.)

  If flags has TEX_UPLOAD, then we upload the texture before returning.
  image_t now has a texnum field, and a fs_file_t * field.

  If flags does NOT have TEX_KEEPRAW, we free the pixel data.
  (Use it or TEX_UPLOAD please.)

  /Lots/ of internal changes that I won't mention here.

GLT_Load_image no longer takes a (NEVER used) palette option.

And, oh shit, some debugging lines that I'll kill about 60 seconds
after this commit?

(And probably a few other things too.)

Modified files:
     src/base/Makefile.am src/base/menu.c src/client/hud.c
     src/fs/Makefile.am src/fs/fs.c src/fs/fs.h src/fs/pak.c
     src/image/Makefile.am src/image/image.c src/image/image.h
     src/image/pcx.c src/image/pcx.h src/image/qlmp.c src/image/qlmp.h
     src/image/sdlimage.c src/image/sdlimage.h src/image/tga.c
     src/image/tga.h src/include/Makefile.am src/include/menu.h
     src/nq/gl_screen.c src/nq/host.c src/qw/cl_main.c
     src/qw/cl_null.c src/qw/gl_screen.c src/renderer/Makefile.am
     src/renderer/gl_draw.c src/renderer/gl_draw.h
     src/renderer/gl_light.c src/renderer/gl_main.c
     src/renderer/gl_textures.c src/renderer/gl_textures.h
     src/renderer/menu.c src/renderer/mod_brush.c src/renderer/sky.c

Added files:
     src/fs/wad.c src/fs/wad.h

Removed files:
     src/base/wad.c src/include/wad.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twilight.20030617.144942.warp.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20030617/9fd5f8af/attachment.diff>


More information about the twilight-commits mailing list