Module neither: Change committed

havoc at icculus.org havoc at icculus.org
Thu Aug 25 20:33:28 EDT 2005


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/neither
Module     : neither
Commit time: 2005-08-26 00:33:27 UTC

Log message:

moved all common includes to ncommon.h (with the exception of fs/fs.h which is used by fs/, and the game includes which are clearly specific to game/)
removed many includes from .h files (particularly ncommon.h, so that the .c file must include it before the other headers, or the compiler screams loudly)
added File_DoesFileExist function to check for the existence of a file without using fs/fs.h
changed screenshot saving to use File_WriteFile instead of fs/fs.h stuff
fixed gcc compile errors and warnings in Black's recent commits

Modified files:
     darkwar/collision.c darkwar/collision.h darkwar/console.c
     darkwar/console.h darkwar/crc.c darkwar/crc.h darkwar/cvar.c
     darkwar/cvar.h darkwar/dwmap.c darkwar/dwmesh.c darkwar/dwmesh.h
     darkwar/hash.c darkwar/hash.h darkwar/lhnet.c darkwar/material.c
     darkwar/material.h darkwar/mathlib.h darkwar/matrixlib.c
     darkwar/model.c darkwar/model.h darkwar/ncommon.h
     darkwar/nendian.h darkwar/nfile.c darkwar/nfile.h
     darkwar/nmemory.c darkwar/nstring.c darkwar/nstring.h
     darkwar/ntypes.h darkwar/polygon.c darkwar/r_dyngl.c
     darkwar/r_dyngl.h darkwar/r_dynglstubs.c darkwar/r_dynglstubs.h
     darkwar/r_main.c darkwar/r_main.h darkwar/resource.c
     darkwar/resource.h darkwar/s_main.c darkwar/shell.c
     darkwar/shell.h darkwar/shell_local.h darkwar/sound.c
     darkwar/sound.h darkwar/system.c darkwar/system.h
     darkwar/texture.c darkwar/texture.h darkwar/util.c darkwar/util.h
     darkwar/video.c darkwar/video.h darkwar/fs/dir.c
     darkwar/fs/dir_posix.c darkwar/fs/dir_win32.c
     darkwar/fs/embedded.c darkwar/fs/fs.c darkwar/fs/fs.h
     darkwar/fs/pak.c darkwar/fs/rw_ops.c darkwar/fs/zip.c
     darkwar/fs/zip.h darkwar/game/g_explosion.c darkwar/game/g_main.c
     darkwar/game/g_main.h darkwar/game/g_network.c
     darkwar/game/g_network.h darkwar/game/g_packetbuffer.c
     darkwar/game/g_packetbuffer.h darkwar/game/g_rain.c
     darkwar/game/g_render.c darkwar/game/g_render.h
     darkwar/game/g_util.c darkwar/game/g_util.h
     darkwar/game/particle.c darkwar/game/particle.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: neither.20050826.003327.havoc.diff
URL: <http://icculus.org/pipermail/neither-commits/attachments/20050825/6f43ae6c/attachment.diff>


More information about the neither-commits mailing list