Commit Graph

17 Commits

Author SHA1 Message Date
Bill Currie a078544d38 Replaced every single fscking FILE and gzFile (except in quakeio.*) with QFile
and fixed up as many f* and gz* calls as gcc found (and, where sensible, grep)

Unfortuanatly, demos are broken again.
2000-02-08 07:23:09 +00:00
Bill Currie edbb589045 merge qw_client/cl_main.c and uquake/cl_main.c into common/cl_main.c
For the rest, convert all refs to FILE and gzFile to QFile, and similar for
file functions (eg fprintf, fgets, fread, etc)
2000-02-08 05:06:58 +00:00
Bill Currie 0a46c1d979 configure.in:
make zlib enabled by default
common/nozip.h:
	swap the size and count params to f{read,write} to prevent demo code
	breaking
common/quakefs.c:
	if zlib is unavailable, there is no point in supporting the .gz
	extension
2000-02-03 21:44:46 +00:00
Eric Windisch 9e47e221b6 Changed the name of the pak3 code to pakzip. Also a few assorted, trivial code cleanups.
-- Eric Windisch
2000-02-03 21:13:23 +00:00
Joseph Carter c0dc03a8ff Other minor changes for uquake, nothing visible 2000-02-03 20:27:25 +00:00
Jeff Teunissen 9a9384f6a9 Cmd_InitFilesystem(): add -game support to the common cmd.c, #ifdef
QUAKEWORLD the Cmd_AddGameDirectory("%s/qw", ... ) call.
2000-02-03 11:29:22 +00:00
Loring Holden 8349f3e59f Various changes to get build to work when zlib isn't available...
Various changes to get rid of warnings under AIX, Irix, Linux & Solaris...
2000-02-03 08:46:52 +00:00
Bill Currie e9a2a3fab5 Add gzip support, add -Werror to gcc CFLAGS, clean up misc warnings.
NOTE: demos are broken for gzipped demo files (possibly normal ones too, not
yet tested).
2000-02-03 00:34:12 +00:00
Jeff Teunissen 02dab8f828 Re-added Hipnotic/Rogue support to filesystem code. Cleaned up
COM_LoadGameDirectory().
2000-02-02 06:49:43 +00:00
Joseph Carter 7bc3e61e27 This isn't funny.. Typo fixed. 2000-02-02 05:33:23 +00:00
Joseph Carter b210bffd3e Note to self: ...test before you commit, test before you commit... 2000-02-02 05:10:56 +00:00
Joseph Carter 0393b88e5f breaks are evil outside switch's, the for loop has an exit condition... 2000-02-02 05:07:29 +00:00
Eric Windisch b1af7c3e37 Fixed bug that caused:
Error: Not enough RAM allocated.  Try starting using "-mem 16" or higher
Quakefs.c
2000-02-02 05:01:07 +00:00
Eric Windisch 668fcd2143 Minor changes to quakefs.c; if generations and experimental are defined all files ending in .pak3 are loaded. 2000-02-01 05:13:30 +00:00
Bill Currie 19e937518c can find "wadfile".gz as well as just "wadfile". NOTE: .gz files don't acutally
work yet.
2000-01-30 22:46:30 +00:00
Bill Currie 6f213c8342 common/quakefs.c:
make pak3 support dependent on /both/ _EXPERIMENTAL_ and GENERATIONS
qw_client/Makefile.in:
	move gl files into cleint/gl so thay can have their own build rules
	conditionally added -lasound to LIBS if building for ALSA
2000-01-29 02:31:47 +00:00
Zephaniah E. Hull f18b3bcf02 HUGE changes..
Basicly, sound_lib.a is built, and is compiled into the clients..
Note, uquake is SERIOUSLY FSCKED..
2000-01-27 17:06:02 +00:00