Commit graph

255 commits

Author SHA1 Message Date
Thilo Schulz
387dc9d6ff Don't need a call to va() for this 2009-10-12 03:21:02 +00:00
Thilo Schulz
691da05b74 Whoops.. don't make it overwrite cmds in case of recursive error. 2009-10-11 18:34:15 +00:00
Thilo Schulz
fee5a4a157 Fix recursive error for disconnect after reliable client command overflow. Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616 2009-10-11 18:31:00 +00:00
Thilo Schulz
ff2f143882 Make s_volume cvar affect volume of S_Base_RawSamples, thanks to Jay Weisskopf for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3474 2009-10-08 22:26:10 +00:00
Thilo Schulz
dd572db7d6 Rewrite of key event processing, thanks to /dev/humancontroller and Ben Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3374 2009-10-03 23:35:07 +00:00
Ryan C. Gordon
b9f033d1fa Prevent hang in S_UpdateBackgroundTrack() with some sample rates.
Fixes Bugzilla #4022.
2009-09-15 06:19:04 +00:00
Ryan C. Gordon
6978dcf645 Don't send a 0-length command to cgame during map_restart.
Fixes Bugzilla #3965.
2009-09-15 06:15:00 +00:00
Ryan C. Gordon
d47be89f0a Removed broken music fading code from snd_dma.
Fixes Bugzilla #3757.
2009-09-15 00:53:02 +00:00
Ryan C. Gordon
2cf2911131 Added s_muteWhenUnfocused cvar (thanks, Chris!).
Fixes Bugzilla #3768.
2009-09-14 16:25:29 +00:00
Tim Angus
64a0a078d2 * Fix warning in cl_main.c
* Fix bug #4026 (SDL dx backend doesn't work on some machines)
2009-09-14 12:34:31 +00:00
Ryan C. Gordon
2bd4c89203 Better handling of "voip" console command.
Prints usage info and current gain values, and catches a case where we
 report an error where no error exists.

  Fixes Bugzilla #4018.
2009-09-14 01:37:59 +00:00
Tim Angus
de8364102d * Fix typo in cl_avi.c (Ben Millwood/bubu^) 2009-09-08 21:47:18 +00:00
Zachary Slater
d34e91ef68 More 3966 business:
http://bugzilla.icculus.org/show_bug.cgi?id=3966
I'm hopeful that the server browser will surrender.
2009-07-07 22:13:06 +00:00
Zachary Slater
20c374e87b Fix for bad ping times, see bug 3966 but note that this patch is different, got a fresh one from
Amanieu in irc.
2009-07-04 19:43:13 +00:00
Thilo Schulz
02195ea8bd Make client send a random challenge number in getchallenge requests 2009-06-01 05:29:28 +00:00
Thilo Schulz
4e8a181073 I'll retain the new way seeding the random number generator.. these calls are therefore redundant 2009-05-31 20:30:37 +00:00
Thilo Schulz
e4d0c14f70 Revert changes of rand() to random() as random() was redefined in quake3. 2009-05-31 20:24:10 +00:00
Thilo Schulz
b40f1507ea - Introduce seeding of the random number generator at startup
- Replaced all engine-side occurances of rand() with random()
2009-05-31 19:48:28 +00:00
Thilo Schulz
1f779efbb8 Minor fix for server infostring. Thanks to slacker 2009-05-22 00:34:37 +00:00
Ludwig Nussel
b35c63f37a don't modify s_alDevice and add fallback to let openAL choose the device 2009-05-08 09:13:06 +00:00
Ludwig Nussel
de19303320 mark s_alDriver CVAR_LATCH 2009-05-08 09:13:03 +00:00
Tim Angus
53adde9fb2 * Fix leaking OpenAL buffers (Amanieu) 2009-03-15 12:39:53 +00:00
Tim Angus
72dea0a184 * Fix some new GCC 4.3 warnings
* Fix many many strict aliasing warnings, now that it's re-enabled
2008-11-10 23:55:22 +00:00
Ludwig Nussel
7c19978aaa fix variable declaration (#3849) 2008-11-10 09:47:14 +00:00
Ludwig Nussel
c754d6fdfb fix strict aliasing issues
Patch by Przemysław Iskra (#3805)
2008-11-03 17:03:54 +00:00
Ludwig Nussel
1e02c641bc move location of version string in console a bit
patch by 'devhc97' (#3758)
2008-11-02 17:39:25 +00:00
Ludwig Nussel
5a3eda3485 specify alDevice instead of NULL when asking for for ALC_EXTENSIONS
patch by Ben Millwood (#3777)
2008-11-02 17:32:25 +00:00
Ludwig Nussel
ce907f32cc fix return value of CL_cURL_CallbackWrite (#3804) 2008-10-24 07:08:52 +00:00
Ludwig Nussel
7d9ba904ec fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskra 2008-10-24 07:02:35 +00:00
Tim Angus
130c0c6575 * Move command argument completion from being hard coded to being associated
with the individual commands to be completed
2008-09-16 21:05:22 +00:00
Tim Angus
47ee177430 * Supply specific identifier to the master server (Mathieu Olivier) 2008-09-15 20:24:04 +00:00
Tim Angus
b2d87c4b2a * Add Com_HexStrToInt
* Fixed some whacky indentation in q_shared.c
* Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition
  to ASCII characters
* Experimental code to ignore dead keys
2008-09-05 23:38:35 +00:00
Thilo Schulz
9dd887b2ea - Add scope id to ipv6 addresses.
- Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround.
- Bring ipv6 master server up to speed for dpmaster

Thanks go out to Mathieu Olivier for this work.
2008-08-31 19:54:29 +00:00
Tim Angus
c0328ab4f6 * Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
ignoring completely' from r1459; it can't ever work acceptably, especially on
  azerty/qwertz layouts
* Make the ordering of the output from in_keyboardDebug more sensible
* Add cl_consoleKeys cvar, a space delimited list of key names or characters
  that toggle the console
2008-08-28 22:05:34 +00:00
Tim Angus
b555d68b3f * (bug #3729) server dependencies on client.h (Ben Millwood)
* (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering
  <gabriel.schnoering@gmail.com>)
* (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett
  <baggett.patrick@figglesoftware.com>) and...
* (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__
2008-08-22 22:47:26 +00:00
Tim Angus
5b4dc4c743 * Tidy up the keyboard code a bit, add in_keyboardDebug 2008-08-19 21:32:23 +00:00
Tim Angus
2cf5052786 * (bug 3674) Change default for s_alGain from 0.4 to 1.0 2008-08-08 18:27:06 +00:00
Tim Angus
d13269c5bb * Restrict OpenAL capture support test hack to OS X, where it is required; this
fixes a crash on exit with Windows when using OpenAL
2008-08-03 19:31:42 +00:00
Ludwig Nussel
2ed334b2be fix build without VOIP (David Severwright, bug#3720) 2008-07-16 07:15:09 +00:00
Tim Angus
d84d418086 * Remove cl_platformSensitivity as it predates the move to SDL everywhere 2008-07-12 13:31:31 +00:00
Tim Angus
37d664d4b2 * Rename voip cvar to cl_voip
* s/#if USE_VOIP/#ifdef USE_VOIP/
* Add generalised runtime cvar range checking, currently on [sv|cl]_voip,
  dedicated and a bunch of r_ variables
2008-07-07 22:31:39 +00:00
Tim Angus
391bb74c44 * Don't start UI when starting client binary with +set dedicated 1 2008-07-06 15:47:15 +00:00
Tim Angus
9d469692f3 * Fix killserver command for client binary based dedicated server 2008-07-06 10:55:19 +00:00
Tim Angus
b601941240 * Fixed client binary dedicated server
* Revert 1286 as the checks are no longer redundant following above fix
2008-07-06 01:30:42 +00:00
Ryan C. Gordon
1e21a3e258 VOIP: Added cvar cl_voipCaptureMult to boost gain on recorded bits. 2008-07-05 04:38:16 +00:00
Ryan C. Gordon
fc0ba1a53f Whitespace cleanup. 2008-06-29 04:05:28 +00:00
Ryan C. Gordon
21d1cd380b Don't show VoIP meter in all the common scenarios. 2008-06-29 04:04:33 +00:00
Ryan C. Gordon
ee54985383 VoIP: allow targetting last attacker, or the one in your crosshairs. 2008-06-25 05:51:05 +00:00
Ryan C. Gordon
f8d6828f15 VoIP: Added cheapie VoIP meter. 2008-06-25 05:50:44 +00:00
Ryan C. Gordon
a7b854d65f VoIP: Save own voice when recording a demo.
We fake a server packet and write it directly to the demo file at the point
 where we'd transmit to the server. This is a little nasty, but it seems to
 be the most reasonable solution.
2008-06-08 08:25:25 +00:00