Commit graph

392 commits

Author SHA1 Message Date
Bill Currie
4c7c5880fe do that the right way. /I/ feel better now :P 2001-06-12 02:28:44 +00:00
Joseph Carter
883b7ecf80 newstyle dies! 2001-06-06 14:29:58 +00:00
Bill Currie
1362736e55 try three :/ 2001-05-30 22:59:00 +00:00
Bill Currie
5a889df497 true64 attempt two 2001-05-30 22:45:36 +00:00
Bill Currie
cf16e6c5d7 compile fixes for true64 2001-05-30 22:22:58 +00:00
Bill Currie
e20541700c not all compilers do the right thing with "extern inline" so fix it the easy
way
2001-05-29 20:29:39 +00:00
Bill Currie
e72ebb6c63 send a nop packet to make sure *list packets get acked. should prevent
"player overflowed" messages.
2001-05-29 03:45:52 +00:00
Thad Ward
7a0ba8ca2e port Mercury's Userinfo validation over from cougar. 2001-05-22 14:23:19 +00:00
Bill Currie
dd134f9c4f updated for 0.3.1 2001-05-13 22:29:13 +00:00
Jeff Teunissen
765a22a033 Remove the rest of the calls to GL_CheckBrightness() 2001-05-13 19:22:31 +00:00
Jeff Teunissen
8a4cc8a526 Restore gamma properly in X11 targets, regardless of the value of
vid_system_gamma
2001-05-13 09:07:57 +00:00
Jeff Teunissen
272abade38 Backport Cvar callbacks to newtree. Software gamma still doesn't work in
GL, and I still don't know exactly why.
2001-05-13 05:10:02 +00:00
Thad Ward
6162fd8017 got win32 building again. not sure (yet) if it works as advertised.
will fully test later.
2001-05-02 22:53:10 +00:00
Bill Currie
6a75c4e00d vid_gamma now seems to work :) 2001-04-23 04:16:17 +00:00
Bill Currie
bd06625c55 backport the gamma code from the quakeforge tree in preparation for 0.3.1
Doesn't work yet because VID_UpdateGamma needs to be called at the
appropriate time and cvar callbacks are not implemented in newtree.
2001-04-23 03:52:20 +00:00
Brian Koropoff
75ecbe3032 This change adds a new type of client connection state (cs_prespawned) to make sure
the client sends the prespawn, spawn, and begin commands in the correct order.
This stops several interesting cheats in TF as well as the posibility of avoiding the map
checksum.
2001-04-19 23:50:31 +00:00
Forest Hale
05545350e7 readability cleanup of vector comparisons to 0, now all such comparisons use VectorIsNull, and a little more whitespace cleanup in cl_pred.c 2001-03-16 12:27:11 +00:00
Jeff Teunissen
6f1587ff7f Userinfo culling in the server. The server now only sends userinfo stuff
that's useful to the client or the players. This should solve the problem
with QW clients' tiny setinfo buffers once and for all. Note, you can
still use setinfo to set your user info, but if it's not in the
"need-to-know" list, the server won't send it back to you. I will probably
make this optional with a server Cvar if there are problems.
2001-03-09 08:25:39 +00:00
Jeff Teunissen
49d7b35d43 New server Cvar: sv_extensions. When set to zero, it disables the extended
challenge, causing QF clients to not detect a QuakeForge server. This
makes the client not add the QF-specific info strings, in turn making it
not overflow original QW clients' limited setinfo space. This also
probably makes certain proxies work with QF servers again. It /also/ has
the side effect of disabling compressed downloads. If you want compressed
downloads, you need sv_extensions on.

Also, remove the "stdver" setinfo in the client -- it's handled by
*qsg_version if there's a QF server on the other end, so it was just
wasted space.
2001-03-09 04:50:14 +00:00
Dabb
a033a03624 Merged duplicate client/server functions (placed into PMOVETST.C).
pmtrace_t replaced by trace_t with ent->entnum change
pmplane_t replaced by plane_t
2001-03-05 11:52:19 +00:00
Bill Currie
4f7561fd92 fix broken ipv6 address field 2001-02-22 19:00:34 +00:00
Bill Currie
942732d3b9 the mingw files were feeling neglected 2001-02-18 05:01:24 +00:00
Bill Currie
20b9411bcc disable transparent pixels in the conback. They will still currently be black,
but at least they won't flicker on some drivers.
2001-02-16 22:07:40 +00:00
Jeff Teunissen
e1638eba85 (Finally!) commit the property list parser. 2001-02-15 17:18:45 +00:00
Bill Currie
a76c7779a7 remove a bogus prototype 2001-02-14 05:12:14 +00:00
Bill Currie
8711d430d1 rev for 0.3.0 release 2001-02-12 07:17:01 +00:00
Bill Currie
0ffba7e3da add fs_usercfg. defaults to "" (nothing) in oldstyle, or "~/.PACKAGErc" in
newstyle.
2001-02-10 00:40:55 +00:00
Bill Currie
b10b829260 amputate an 8M cacerous growth from the memory footprint of the clients 2001-02-08 19:24:27 +00:00
Jeff Teunissen
6da731fec1 Clear packet entities when they are removed. This fixes a bug in particle
trails, and possibly others as well.

Eliminate cl_oldvisedicts and cl_visedicts_list, change cl_visedicts's
definition to compensate. It isn't used any more, so they just waste
memory.
2001-02-08 17:43:14 +00:00
Bill Currie
3320cf5e2c cl_demospeed cvar. 1 = normal speed, < 1 = slow-mo, > 1 = timelaps.
host.h:
	remove Host_SimulationTime prototype
cl_main.c:
	cl_demospeed stuff. Host_SimulationTime was resurected because of gcc
	warnings about setjmp clobbering vars. It's made static inline so its
	resurection doesn't cost fps.
2001-02-07 20:15:33 +00:00
Ragnvald Maartmann-Moe IV
800ee05584 More whitespace than you can shake a shambler at. 2001-02-07 05:45:59 +00:00
Bill Currie
e32119aa3c forgot to commit this with in_x11.c 2001-02-07 04:57:38 +00:00
Bill Currie
367fee1dc6 add HAVE_WINSOCK_H 2001-02-06 19:54:26 +00:00
Bill Currie
b443a0254e rev version for beta7 2001-02-06 00:29:16 +00:00
Bill Currie
345d34c386 fix make dist 2001-02-06 00:23:31 +00:00
Bill Currie
2079b73194 fix gl_conalpha/scr_consize interaction 2001-02-03 04:04:22 +00:00
Bill Currie
4d08e219d9 make edict_t.v a union of entvars_t and pr_type_t[] 2001-02-02 21:22:35 +00:00
Bill Currie
ff12a738b5 Linux frame buffer support from Ryan Nielsen <ran@gondolin.fortyoz.org> (thank
you). While not yet fully functional, it compiles and runs to the point of
failing to find a mode (probably my fault, that:), but there's no mouse
support yet and the keyboard input isn't playable.
2001-02-02 05:56:53 +00:00
Ragnvald Maartmann-Moe IV
161973d75a Cvar cleanup.
gl_smooth is now gl_dlight_smooth
gl_smoothdlights was redundant, is now gone
gl_flashblend is now gl_dlight_polyblend
gl_lightmap added to enable/disable lightmap updates independently of use of gl_dlight_polyblend
2001-02-01 19:53:15 +00:00
Bill Currie
20a885c174 clean up the #define mess in progs.h. While I doubt this will fix the null
function crashes, at least the code is easier to read.
2001-02-01 08:38:25 +00:00
Ragnvald Maartmann-Moe IV
e930c800f0 Rename gl_particles to r_particles, and allow software to disable particles as well. Thanks sergio! 2001-01-29 00:13:01 +00:00
Bill Currie
a24894dc70 progs modularity improvements. what WAS sv_progs is now sv_pr_state, qwprog is
now sv_progs and the progs loading code no longer falls back to qwprogs.dat or
progs.dat. Also, call SV_Progs_Init_Cvars (forgot to do this earlier)
2001-01-28 23:27:48 +00:00
Zephaniah E. Hull
c316ae0069 Cleaned up a lot of fixmes. 2001-01-27 04:58:07 +00:00
Ragnvald Maartmann-Moe IV
4717448bd6 Minor lighting cleanup, plus fix minor bug (loss of color on nearby dlights). 2001-01-27 03:01:09 +00:00
Ragnvald Maartmann-Moe IV
9b0cea79ed Remove unused #define. 2001-01-27 02:59:33 +00:00
Thad Ward
c8ab801128 qw_client.dsp and makefile.mgw:
remove vid_win.c from the projects. no longer needed after taniwha's
    cl_main changes.

cl_main.c:
    remove #include "winquake.h", which is not needed

vc/config.h:
    add #define HAVE_WINSOCK_H
2001-01-25 21:16:43 +00:00
Bill Currie
97ff9b38da add .vimrc 2001-01-24 20:17:12 +00:00
Dabb
8fd94ff199 Add HAVE_WINSOCK_H 2001-01-24 19:25:39 +00:00
Bill Currie
21654b12e5 server builds (and works, thanks for the test, Dabb) and an sdl client attempts
to link.
2001-01-24 17:41:34 +00:00
Bill Currie
733d55603c partial fixes for cross-compiling using mingw32. MIGHT break normal builds 2001-01-24 00:06:58 +00:00