Commit Graph

818 Commits

Author SHA1 Message Date
Marcus Sundberg 461c66051c Include <model.h> 2000-02-05 15:08:13 +00:00
Marcus Sundberg 0d77a4577e Include <math.h> 2000-02-05 15:05:44 +00:00
Joseph Carter dc627d6b28 uquake has the beginning of netchan support, netchan.message works fine
now, the rest I don't know how much of it I can do without breaking the
protocol's compatibility.

client_state_t has moved back to client.h in qw_common and uquake.  Seems
like that's a step backward, but the way it was being used while common
was far worse!  This required massive reworking of headers and such.

Speaking of using cl (the global client_state_t) badly, the sound code did
exactly that.  Mercury should be shot for not fixing that when he did the
sound_lib.a stuff.  The fix illustrates what we need to start doing to the
code to make modularization possible.  I'll be sending a message to the
list about this shortly..
2000-02-04 13:40:04 +00:00
Bill Currie 233984564e configure.in:
remove a debug echo
snd_alsa.c:
	#include "console.h"
2000-02-04 09:52:43 +00:00
Joseph Carter 7e04ceced5 The pretty green/yellow/blue pixels that hang around after things like
biosuits, pents, and quads wear off are now gone.  Sort of.  They are
caused by places where two texture edges meet and there are little gaps
at the seams where nothing gets drawn.  This is also why noclip screws w/
the screen if you walk outside of the map in the GL targets.  We now draw
a backdrop whose color is set by r_clearcolor, ala software renderer.
2000-02-04 04:01:23 +00:00
Joseph Carter 23b33b7173 4 scrap textures oughtta be enough for anybody. 2000-02-04 01:58:27 +00:00
Joseph Carter 2606dee353 how many times have you wished there was a -nodemos parameter to make the
demos at startup not happen in uquake?  Guess what?
2000-02-04 01:24:39 +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
Joseph Carter 218d2fcb9b random QW changes which should help with sbar stuff later on 2000-02-03 21:16:57 +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 e543a111d1 don't typedef in acconfig.h, we #include it in .s files 2000-02-03 20:54:50 +00:00
Bill Currie 0b6cb6a9bf fix the checking for --enable-zlib 2000-02-03 20:42:51 +00:00
Joseph Carter c0dc03a8ff Other minor changes for uquake, nothing visible 2000-02-03 20:27:25 +00:00
Joseph Carter 9c399a04e5 ixed he irst etter issing roblem 2000-02-03 12:46:08 +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
Jeff Teunissen 18fc5af9e9 Replaced Knghtbrd's command fix for UQ, added more for completeness. 2000-02-03 11:14:57 +00:00
Joseph Carter cdee91b71f talk sound now happens in UQ again 2000-02-03 10:56:46 +00:00
Joseph Carter e9e147fe84 Most of the commands in uquake/host_cmd.c are simply passed to the server
when you type them.  This includes say, god, etc...  They never got there
however because Mercury forgot to add the uquake stuff to it.  We _REALLY_
need to get cls.netchan backported to uquake!
2000-02-03 10:51:06 +00:00
Joseph Carter 51676c32e7 You can tell who has what hardware and libs because they tend to forget to
update the files for the stuff they don't use/have...
2000-02-03 10:32:56 +00:00
Joseph Carter afe3589124 Fix for 3dfx target using lsh's macros 2000-02-03 09:55:11 +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
Loring Holden 713e84ecae Workaround for isspace() with sgi and gcc 2000-02-03 08:44:01 +00:00
Loring Holden f7f02c7b58 client.h: Allow build without zlib
net_dgrm.c: Get rid of warnings about unknown functions
sys_unix: function warnings, unused variable warning
net_udp.c: use socklen_t always (it is guaranteed to be defined)
2000-02-03 08:42:14 +00:00
Loring Holden 19773c8525 client.h, common.c - now work w/out zlib
net_udp.c - now uses socklen_t, which is guaranteed to be defined
2000-02-03 08:20:07 +00:00
Bill Currie 75bb541f81 more f*->gz*. forgot to save this one earlier. 2000-02-03 03:09:52 +00:00
Bill Currie fe681d4427 some more f* -> gz*. need to get home to test this properly. 2000-02-03 02:59:11 +00:00
Bill Currie 73c6ffdde3 a few more f* -> gz* conversions. I don't have GL at work :) 2000-02-03 02:52:05 +00:00
Bill Currie 083021da12 no-asm patch from Darius 2000-02-03 02:34:26 +00:00
Bill Currie 64a5b117ab Demoes are working again (for uncopressed .dem files, anyway) 2000-02-03 01:49:11 +00:00
Bill Currie b526d14bb9 missed a fclose -> gzclose conversion.
/me must remeber to make clean; make when hacking headers.
2000-02-03 00:45:25 +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 0d679d1648 qw_client/Makefile.in:
put the gl specific rules back in (some of us have GL in
	/usr/X11R6/include rather than /usr/local/include or /usr/include,
	nudge, nudge).
2000-01-30 09:36:45 +00:00
Nelson Rush 8346bd1997 aa tty support, adds text mode qf keyboard/video support.
currently i have no idea if this even works because i cannot test it, if anyone is willing to make a target for it i can start debugging.
2000-01-30 07:32:33 +00:00
Nelson Rush 6c874ac682 removed 0.2 from tty target, it's too early to add it 2000-01-30 04:00:39 +00:00
Joseph Carter 4f9ce178c1 Merc missed a few things, cleaned the makefiles up a little more 2000-01-30 00:36:41 +00:00
Loring Holden ff664f9b75 Makefile.in - conditionally run ranlib
sys_unix.c - copied Sys_DebugLog() from sys_linux.c
2000-01-29 23:24:16 +00:00
Loring Holden 3c8f2939af Makefile.in - Explicitly list patterns instead of using echo, conditionally
run ranlib
d_part.c, snd_sun.c, vid_sunx.c - missing includes
2000-01-29 23:22:00 +00:00
Loring Holden 3357d40344 Explicitly list patterns instead of using the following:
$(shell echo $(BUILD_DIR)/{client,common_lib}/%.d)

That does not work properly on various platforms (AIX, SGI, Solaris)
2000-01-29 23:18:26 +00:00
Loring Holden 63e425a7c4 Check for existence of ranlib 2000-01-29 23:16:17 +00:00
Joseph Carter 1da6a85464 Restructured TODO massively 2000-01-29 23:02:36 +00:00
Zephaniah E. Hull 925344be77 uquake now works! All targets I can test!
I also merged console.[ch] while I was at it..
2000-01-29 18:46:26 +00:00
Jeff Teunissen ad90a0508d Added part of what we'll require for automatically generating dependency
information. This is not activated yet, and will be quite annoying at the
very least to activate before we are in a more traditional build tree,
with a single source directory and self-contained (except for headers, of
course) subdirs for modules.
2000-01-29 15:02:45 +00:00
Bill Currie 463ae7730b added rpm/build_rpm.in and rpm/quakeforge.spec.in
It is now easy to add any new autoconf files. All current (relevant) ones now
have their dependencies checked.
2000-01-29 12:03:26 +00:00