Commit graph

51 commits

Author SHA1 Message Date
Bill Currie
fabe501768 the merge continues. qw_common/common.c and uquake/common.c have /finally/ been
merged with the command line args merged into common/qargs.c. Args rebuilding
in qargs.c should now be totally safe with no limits.
2000-02-10 13:49:39 +00:00
Bill Currie
1308793cce moved qw_common{bothdefs.h,pmove.h,pmove_simple.h} to common
merged qw_common/quakedef.h and uquake/quakedef.h into common/quakedef.h (sort
of, bits of bothdefs.h too)
common/cl_ents.c common/client.h uquake/screen.c uquake/sv_user.c:
	various fixups to cope with the merge.

UQ is still busted
2000-02-09 01:44:59 +00:00
Bill Currie
21416b0b94 qw_common/pmove.h:
add #include "net.h"
uquake/Makefile.in:
	put cl_ents.c back it. might as well make a commitment :)
merge qw_common/protocol.h and uquake/protocol.h into common/protocol.h
2000-02-08 22:25:15 +00:00
Pontus Lidman
6dcee510f9 Converted the file to 100% UNIX newlines 2000-02-08 21:40:58 +00:00
Pontus Lidman
003f4be021 Now correctly handles IPv4 addresses returned by getaddrinfo();
also parses RFC 2732 IPv6 address/port numbers in the connect command etc.
2000-02-08 21:33:33 +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
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
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
Joseph Carter
218d2fcb9b random QW changes which should help with sbar stuff later on 2000-02-03 21:16:57 +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
083021da12 no-asm patch from Darius 2000-02-03 02:34:26 +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
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
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
Zephaniah E. Hull
427b74299d No more -DGLQUAKE!!!
Took me 9+ hours straight to do it, but its done!
2000-01-22 12:54:51 +00:00
Zephaniah E. Hull
34391442c7 Merged render.h, to fix compile warnings..
No more compile warnings! A completely clean build on my system!
Wrapped all the unistd.h includes with #ifdef HAVE_UNISTD_H.
Seems like there is more, but that looks like it..
2000-01-19 11:01:04 +00:00
Bill Currie
f9e636c147 AUTHORS CREDITS:
add Nye Liu <nyet@nbase.com>
qw_common/common.c:
	include changes nyet (above:) found were needed.
2000-01-18 09:16:45 +00:00
Joseph Carter
3f74fe38b8 ./configure --enable-newstyle now actually does something. It changes the
default game name from "id1" to "base".  This allows you to have full and
shareware version's of Id's pak's installed, as well as other full TC's
you want..  You may want to make base a symlink to id1 for now since you
currently can't have multiple -game's, that's my next fix.
2000-01-18 03:13:38 +00:00
Zephaniah E. Hull
0391657e6b We now have two versions, what we first identify ourselves as, which is
2.40, and the quakeforge version, fixes the annoying spectator bug..
2000-01-16 12:19:30 +00:00
Zephaniah E. Hull
c188df7698 Some misc 3dfx changes..
Some keys changes for toggle console..
Some (not currently the /best/, but functional) speed cheat improvements..
And some stuff brought in from QuakeLives.. (max rate, and new ping system)
2000-01-15 22:52:56 +00:00
Nelson Rush
48e4cc464e forgot to add it with the IPv6 patch from Pontus 2000-01-09 22:19:33 +00:00
Nelson Rush
7560771b16 beginnings of IPv6 support by Pontus Lidman
(pali) i had to personally fix this so that it's optional, if anyone wants to enable this (it's not ready yet, it's just a star) you have to uncomment the line\
for QW_NET_SRC in qw_client/Makefile.in and qw_server/Makefile.in, you also have to uncomment LINUX_IPV6 definition in qw_common/net.h

here's an excerpt of Pontus's explaination:
I've started to work on IPv6 support. I guess it's not a top priority, as
the intersections of quake players and people with 6bone access is pretty
small, but at least I'm one of them ;)

If anyone else is interested in working on IPv6 support, or have
opinions/advice on how to go about it, I'd like to get in touch.
2000-01-09 22:11:12 +00:00
Nelson Rush
23ed936a3f added additional copyright information
Copyright (C) 1999,2000  contributors of the QuakeForge project
Please see the file "AUTHORS" for a list of contributors
2000-01-08 21:55:49 +00:00
Zephaniah E. Hull
67f8201590 Applied patch from Roger Sen Montero <rogersm@tau.uab.es> to switch to
using vsnprintf/snprintf..
2000-01-08 13:55:33 +00:00
Nelson Rush
dfbfbb6711 readded a copyright notice that somehow got removed
added "Portions" statement to the copyright statement

Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.
2000-01-08 04:50:26 +00:00
Marcus Sundberg
19fd8a6816 A '&' before an array variable is at best ignored, at worst it could do
weird stuff.
2000-01-07 21:31:20 +00:00
Joseph Carter
d42a1abed2 Applied a cleanup to qw's net_udp.c's error messages 2000-01-07 17:35:02 +00:00
Zephaniah E. Hull
5123746344 Translate the outputs to ASCII.. 2000-01-07 06:29:44 +00:00
Nelson Rush
2151636145 added copyrights for buffer overrun fixes 2000-01-07 05:47:53 +00:00
Nelson Rush
36a1b4d7ae added dan olson's patch
This patch keeps all the "PackFile" and "FindFile" messages from flooding
stdout unless the developer cvar is set to 1.
2000-01-06 22:02:55 +00:00
Marcus Sundberg
b28fa0a244 Add #ifndef so file is only included once. 2000-01-06 02:29:09 +00:00
Zephaniah E. Hull
b68f84619e Fixes for portability issues.. 2000-01-05 16:55:01 +00:00
Nelson Rush
705c1d0e3b fixed some problems 2000-01-05 00:11:02 +00:00
Nelson Rush
a77bb35db6 Fixed buffer overflow problems, changed sprintf to snprintf don't use this yet, i have a few things that need to be fixed. 2000-01-05 00:05:48 +00:00
Marcus Sundberg
a6be84b54d Merged into net_udp.c. 2000-01-04 22:58:19 +00:00
Marcus Sundberg
61a1599c80 Autoconf network headers.
Merged in qw_common/net_wins.c
2000-01-04 22:56:56 +00:00
Joseph Carter
740177b2c0 Another merge from BigM 2000-01-04 03:34:56 +00:00
Zephaniah E. Hull
47e85cdd29 Version cleanup, not completely happy with it yet..
Removed the registered game checking, but added a little back for
backword compatibility..
2000-01-03 01:40:54 +00:00
Joseph Carter
365a1c144f draw.[ch] merge 2000-01-02 10:06:17 +00:00
Zephaniah E. Hull
8a2e473014 Squashed a QW showstopper, last one I hope!
Fixed a rare chance of a buffer overflow attack in the display code.
1999-12-29 14:09:12 +00:00
Joseph Carter
e3ac6357dc Loring Holden's autoconf support. {qw-client,quake}-glide is currently not built since neither of us has the hardware available at the moment to test the 3dfx MiniGL target. Someone who does (Mercury?) will have to fix that. Bins all build in odd places for the moment. Thanks for staying up so late to help get this working Loring, you rock! 1999-12-29 13:58:47 +00:00
Jeff Teunissen
b0bf08dad6 Nothing of note... 1999-12-28 11:39:14 +00:00
Zephaniah E. Hull
7e9e2f177a QW Server, QW Client, and POQ all compile now..
(Provided you don't run out of disk space well compiling..)
1999-12-26 10:07:10 +00:00
Zephaniah E. Hull
1058a4cdd7 QW compiles again.. 1999-12-26 07:05:55 +00:00
Zephaniah E. Hull
5765f7fe5d BIG merge work, POQ now compiles, though at least glquake.3dfx has, err, issues..
Hopefully QW will still compile and work, thats the next commit I think..
1999-12-26 06:37:28 +00:00
Zephaniah E. Hull
5bb26adda5 Moved keys.h into common, wrapped 3 quakeworld specific lines with
#ifdef QUAKEWORLD
1999-12-25 22:30:22 +00:00
Zephaniah E. Hull
6ba933cf80 Added the KP_* symbols, for the keys on the keypad.. 1999-12-25 21:50:55 +00:00
Zephaniah E. Hull
570ede5076 Changed the root makefile so any rule will be passed along, not just 'all'.
Removed qw_client/gl_vidlinux_svga.c, nothing uses it and its almost a exact duplicate of gl_vidlinux.c.

Cleaned up ALL the compile time warnings..
1999-12-25 19:37:15 +00:00
Zephaniah E. Hull
cc89add2a4 Moved keys.h to qw_common.
Added rules to allow gl-client-glide to compile.
1999-12-25 18:03:05 +00:00