Commit graph

888 commits

Author SHA1 Message Date
Joseph Carter
bc28568890 there are still uquake issues... 2000-02-07 23:13:16 +00:00
Joseph Carter
7633189c91 cl_tent.c is merged - uquake still has some issues but they're smaller now 2000-02-07 22:54:33 +00:00
Bill Currie
56c8badd2d merge qw_client/r_edge.c and uquake/r_edge.c into common/r_edge.c 2000-02-07 04:31:25 +00:00
Bill Currie
ea4390157a merge qw_client/r_efrag.c and uquake/r_efrag.c into common/r_efrag.c 2000-02-07 04:18:27 +00:00
Joseph Carter
bcc96386cd A few mods for uquake... 2000-02-07 04:18:18 +00:00
Joseph Carter
e023ae7ffe qw-client and server work again, sound_lib builds, uquake doesn't 2000-02-07 03:49:50 +00:00
Bill Currie
9a17811cd3 removed reference to cl_state.h 2000-02-07 03:21:08 +00:00
Bill Currie
aceca3eb86 this shouldn't be in cvs 2000-02-07 01:53:45 +00:00
Joseph Carter
3c55b43e25 Committing my merges of client.h and net.h.. Got rid of snd_dma.c changes
made before, it breaks a few things but it needs to be committed so they
can be fixed..
2000-02-07 01:32:12 +00:00
Bill Currie
004003ccb0 merge qw_common/common.h and uquake/common.h into common/common.h 2000-02-07 00:43:02 +00:00
Bill Currie
4b77a46ca6 merged qw_client/cl_input.c and uquake/cl_input.c into common/cl_input.c 2000-02-07 00:12:21 +00:00
Loring Holden
9ff456626f snd_null.c - snd is another variable defined in snd_dma.c that has to be
defined here as well
vid_sunx.c - missing client.h include
2000-02-05 19:42:21 +00:00
Marcus Sundberg
840ff1c72f Added support for numpad keys and some other ones missing. 2000-02-05 17:49:03 +00:00
Marcus Sundberg
60ce402933 Changed HAS_SOCKLEN_T into HAVE_SOCKLEN_T.
Added HAVE_SIZE_T.
Removed some junk from file.
2000-02-05 16:16:06 +00:00
Marcus Sundberg
20b104b4aa Check for size_t in <sys/types.h>
Changed HAS_SOCKLEN_T into HAVE_SOCKLEN_T.
2000-02-05 16:15:15 +00:00
Marcus Sundberg
2cb28b8f01 Prevent division by zero in CalcFov(). 2000-02-05 16:03:37 +00:00
Marcus Sundberg
6403d62a28 Include qargs.h 2000-02-05 16:02:39 +00:00
Marcus Sundberg
662e6491eb Make sure we don't use a negative index into sb_faces. 2000-02-05 16:01:15 +00:00
Marcus Sundberg
475353c278 typedef socklen_t here if it doesn't exist. 2000-02-05 15:59:39 +00:00
Marcus Sundberg
69cbd2e370 Now compiles. 2000-02-05 15:21:19 +00:00
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