From d95b0f66063fb7bb6e0faa2cc3b76cbca33b89e7 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Mon, 15 Dec 2008 19:03:26 +0000 Subject: Put -lm back as it seems to break on non-i386 arches. Removed `sys_stdio' cvar in favor of `sys_console' on Unix. Unix client no longer writes anything on stdout by default if launched without a terminal (e.g. from X session). Server now uses entity origin instead of view origin when performing PVS/PHS culling of multicast data (fixes railing/chaining out of the water, etc). MVD client now clears roll angle of player entities. Really fixed MVD channel overflow recovery. Use RTLD_LAZY for loading game library on Unix to work around old mods. When adjusting lightmap/texture color saturation, calculate luminance accoring to sRGB colorspace specification. Fixed OpenGL renderer's PVS glitches when crossing water boundaries. Re-enable MD3 model support. --- source/files.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'source/files.c') diff --git a/source/files.c b/source/files.c index c3b78b4..9816f79 100644 --- a/source/files.c +++ b/source/files.c @@ -1257,19 +1257,19 @@ of the list so they override previous pack files. ================= */ static pack_t *FS_LoadPakFile( const char *packfile ) { - dpackheader_t header; - int i; - packfile_t *file; - dpackfile_t *dfile; - int numpackfiles; + dpackheader_t header; + int i; + packfile_t *file; + dpackfile_t *dfile; + int numpackfiles; char *names; - size_t namesLength; - pack_t *pack; + size_t namesLength; + pack_t *pack; FILE *packhandle; - dpackfile_t info[MAX_FILES_IN_PACK]; - int hashSize; + dpackfile_t info[MAX_FILES_IN_PACK]; + int hashSize; unsigned hash; - size_t len; + size_t len; packhandle = fopen( packfile, "rb" ); if( !packhandle ) { @@ -1374,19 +1374,19 @@ FS_LoadZipFile ================= */ static pack_t *FS_LoadZipFile( const char *packfile ) { - int i; - packfile_t *file; + int i; + packfile_t *file; char *names; - int numFiles; - pack_t *pack; - unzFile zFile; - unz_global_info zGlobalInfo; - unz_file_info zInfo; + int numFiles; + pack_t *pack; + unzFile zFile; + unz_global_info zGlobalInfo; + unz_file_info zInfo; char name[MAX_QPATH]; - size_t namesLength; - int hashSize; + size_t namesLength; + int hashSize; unsigned hash; - size_t len; + size_t len; zFile = unzOpen( packfile ); if( !zFile ) { -- cgit v1.2.3