Commit graph

1701 commits

Author SHA1 Message Date
Thad Ward
759729b5a8 Prevent an infinite loop in a fairly rare case, where the infostring is too
full to accept a new name when there is a duplicate name.
2001-05-22 12:55:36 +00:00
Adam Olsen
920de43af9 - remove align flags from gcc command line
- only use usleep if HAVE_USLEEP is defined
2001-05-22 05:39:16 +00:00
Adam Olsen
5369e82456 ditto as from other commit. 2001-05-22 05:25:20 +00:00
Bill Currie
eb974c6dcb sadly, that just does not work 2001-05-21 06:01:03 +00:00
Bill Currie
a90f8132a7 make the rw selection do the right thing elsewhere 2001-05-21 01:13:44 +00:00
Bill Currie
d90d3d0de3 change "%x" (int)(pointer_expr) to "%p" (pointer_expr) 2001-05-16 21:11:50 +00:00
Bill Currie
f3e7e4d1bc fix device openning mode. defaults to write only, but read/write can be
selected using -sndrw
2001-05-16 18:57:54 +00:00
Adam Olsen
d97095fe87 Apply usleep patch, so we don't busy-wait so much. cl_maxfps will
now release your CPU :)
2001-05-16 08:59:10 +00:00
Bill Currie
3fc2675cb8 fix key_dest handling on startup 2001-05-15 05:35:42 +00:00
Bill Currie
88c3955b4f bump the default memsize up to 16M 2001-05-15 05:35:09 +00:00
Adam Olsen
9de78a5d83 two minor fixes from when I tried gcc 3.0. includes a trigraphs fix. 2001-05-15 02:06:02 +00:00
Adam Olsen
d1f33ed6a6 backport my sdl audio fixes 2001-05-14 22:53:17 +00:00
Jeff Teunissen
978d90f9f7 Make up/down arrows skip over brightness and contrast's positions when
they don't exist.
2001-05-14 18:08:32 +00:00
Bill Currie
a7c23e13a9 handle X11 key repeat properly 2001-05-13 22:29:41 +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
1a9db8c2eb Make gamma work for GL. Man, that was stupid. :) 2001-05-13 09:06:51 +00:00
Jeff Teunissen
2e88971a08 Make the menu get initialized after video; otherwise, the menu will never
pick up brightness and contrast. :)
2001-05-13 08:26:45 +00:00
Jeff Teunissen
540d13b588 Deal with brightness and contrast not existing in software targets, but do
it at runtime.
2001-05-13 07:48:05 +00:00
Bill Currie
9d23ea9db0 who the hell used 0 for CVAR_NONE? 2001-05-13 05:15:36 +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
Jeff Teunissen
75089e506e Configure updates, also rev for 0.3.1 2001-05-13 05:08:49 +00:00
Jeff Teunissen
bfc25fa462 Gamma cleanups. Software gamma still doesn't work in GL. 2001-05-12 06:53:53 +00:00
Bill Currie
72d8bd6af7 put in some debug info about precache overflows 2001-05-12 03:24:29 +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
8327d1edac clean up V_CheckGamma a bit 2001-04-23 18:44:56 +00:00
Bill Currie
2d5f4b86fb sw gamma now seems to work 2001-04-23 18:39:14 +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
Anton E. Gavrilov
b9caa4273c LordHavoc forgot to #include "mathlib.h" 2001-04-22 05:18:03 +00:00
Adam Olsen
bf6afa6ad4 Thought I would have commited this by now... 2001-04-20 13:29:55 +00:00
Adam Olsen
5b46db8796 No harm in backporting a few fixes :) 2001-04-20 13:17:48 +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
Bill Currie
06b06abc74 must not call snd_pcm_mmap_forward with a count of 0
this fixes the alsa assert at slower rates
2001-04-13 08:07:56 +00:00
Anton E. Gavrilov
54076d1a07 Fix a typo 2001-04-08 00:06:32 +00:00
Dabb
0e3d9f385a Tiny fix, sizeof(*move) -> sizeof(usercmd_t) 2001-04-06 13:02:35 +00:00
Bill Currie
74a61f22f7 make gdb screens infinitely high so it doesn't stop output and wait 2001-03-27 04:01:32 +00:00
Chris Ison
ad37b9cedd fixing LordHavocs untested code 2001-03-16 13:48:24 +00:00
Forest Hale
a8df60c554 cleaned up d_8to24table (build as bytes to avoid endian-issues and make it more readable) and d_15to8table building (faster and MUCH more readable) 2001-03-16 13:05:57 +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
Forest Hale
f922262b61 changed spaces to tabs in dabb's code 2001-03-16 12:10:59 +00:00
Bill Currie
5c63c96340 fix a silly bug in --with-user-cfg 2001-03-09 21:48:36 +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
Bill Currie
24841130a7 change egcs to kgcc for the broken distro 2001-03-08 21:03:39 +00:00
Bill Currie
8cca7c7dd9 strings.h/string.h compile fixes 2001-03-08 19:50:50 +00:00
Bill Currie
b68b6a4dd3 fix a compile bug 2001-03-07 04:01:23 +00:00
Dabb
b4dfcb0906 I don't think we want to do prediction when DISCONNECTED ... 2001-03-05 18:10:52 +00:00
Dabb
89dd78e5fe Merged duplicate client/server functions (placed into PMOVETST.C).
Client now uses WORLDA.S (renamed func)
2001-03-05 11:53:02 +00:00