aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
Commit message (Collapse)AuthorAgeFilesLines
* I'll retain the new way seeding the random number generator.. these calls ↵thilo2009-05-311-5/+1
| | | | | | are therefore redundant git-svn-id: svn://svn.icculus.org/quake3/trunk@1563 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes of rand() to random() as random() was redefined in quake3.thilo2009-05-311-2/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1562 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce seeding of the random number generator at startupthilo2009-05-311-6/+2
| | | | | | | - Replaced all engine-side occurances of rand() with random() git-svn-id: svn://svn.icculus.org/quake3/trunk@1561 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor fix for server infostring. Thanks to slackerthilo2009-05-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1556 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't modify s_alDevice and add fallback to let openAL choose the deviceludwig2009-05-081-24/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1543 edf5b092-35ff-0310-97b2-ce42778d08ea
* mark s_alDriver CVAR_LATCHludwig2009-05-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1542 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix leaking OpenAL buffers (Amanieu)tma2009-03-151-0/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1510 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some new GCC 4.3 warningstma2008-11-101-34/+43
| | | | | | | * Fix many many strict aliasing warnings, now that it's re-enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1487 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix variable declaration (#3849)ludwig2008-11-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1486 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix strict aliasing issuesludwig2008-11-032-10/+6
| | | | | | Patch by Przemysław Iskra (#3805) git-svn-id: svn://svn.icculus.org/quake3/trunk@1481 edf5b092-35ff-0310-97b2-ce42778d08ea
* move location of version string in console a bitludwig2008-11-021-5/+3
| | | | | | patch by 'devhc97' (#3758) git-svn-id: svn://svn.icculus.org/quake3/trunk@1479 edf5b092-35ff-0310-97b2-ce42778d08ea
* specify alDevice instead of NULL when asking for for ALC_EXTENSIONSludwig2008-11-021-1/+1
| | | | | | patch by Ben Millwood (#3777) git-svn-id: svn://svn.icculus.org/quake3/trunk@1478 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix return value of CL_cURL_CallbackWrite (#3804)ludwig2008-10-241-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1474 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskraludwig2008-10-241-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1473 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move command argument completion from being hard coded to being associatedtma2008-09-163-0/+93
| | | | | | | with the individual commands to be completed git-svn-id: svn://svn.icculus.org/quake3/trunk@1472 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Supply specific identifier to the master server (Mathieu Olivier)tma2008-09-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1471 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Com_HexStrToInttma2008-09-052-23/+6
| | | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@1470 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add scope id to ipv6 addresses.thilo2008-08-311-6/+29
| | | | | | | | | | - 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 'Handle dead keys more gracefully by taking a "best guess" rather thantma2008-08-284-6/+12
| | | | | | | | | | | 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@1461 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #3729) server dependencies on client.h (Ben Millwood)tma2008-08-223-4/+0
| | | | | | | | | | | * (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__ git-svn-id: svn://svn.icculus.org/quake3/trunk@1456 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy up the keyboard code a bit, add in_keyboardDebugtma2008-08-191-1/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1450 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3674) Change default for s_alGain from 0.4 to 1.0tma2008-08-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1439 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Restrict OpenAL capture support test hack to OS X, where it is required; thistma2008-08-032-7/+18
| | | | | | | fixes a crash on exit with Windows when using OpenAL git-svn-id: svn://svn.icculus.org/quake3/trunk@1433 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix build without VOIP (David Severwright, bug#3720)ludwig2008-07-161-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1427 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove cl_platformSensitivity as it predates the move to SDL everywheretma2008-07-123-5/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1424 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-0711-50/+48
| | | | | | | | | * 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 git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't start UI when starting client binary with +set dedicated 1tma2008-07-061-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1415 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix killserver command for client binary based dedicated servertma2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1414 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed client binary dedicated servertma2008-07-061-5/+5
| | | | | | | * Revert 1286 as the checks are no longer redundant following above fix git-svn-id: svn://svn.icculus.org/quake3/trunk@1409 edf5b092-35ff-0310-97b2-ce42778d08ea
* VOIP: Added cvar cl_voipCaptureMult to boost gain on recorded bits.icculus2008-07-052-1/+9
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1403 edf5b092-35ff-0310-97b2-ce42778d08ea
* Whitespace cleanup.icculus2008-06-291-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1400 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't show VoIP meter in all the common scenarios.icculus2008-06-291-4/+13
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1399 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: allow targetting last attacker, or the one in your crosshairs.icculus2008-06-251-0/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1393 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Added cheapie VoIP meter.icculus2008-06-253-3/+43
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1392 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Save own voice when recording a demo.icculus2008-06-084-2/+34
| | | | | | | | | 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. git-svn-id: svn://svn.icculus.org/quake3/trunk@1382 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Don't lose gain for good if using VAD on disconnect.icculus2008-06-081-0/+4
| | | | | | | This temporarily disables VAD so the system can clean up recording state. git-svn-id: svn://svn.icculus.org/quake3/trunk@1381 edf5b092-35ff-0310-97b2-ce42778d08ea
* Removed an obsolete FIXME.icculus2008-06-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1380 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: tweaked VAD code.icculus2008-06-082-1/+4
| | | | | | | | Also added cl_voipVADThreshold cvar...if the power of a set of Speex frames doesn't exceed this value, it isn't transmitted. git-svn-id: svn://svn.icculus.org/quake3/trunk@1379 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Enable Automatic Gain Control.icculus2008-06-081-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1378 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: attempt at changing voipPower calc and using it for VAD.icculus2008-06-082-22/+12
| | | | | | | | | | | | | | | | | The Speex VAD sort of sucks, honestly, or I'm not using it right. Now trying this algorithm, after denoising: http://lists.xiph.org/pipermail/speex-dev/2006-March/004269.html And I'll play around to find the threshold for considering a set of frames to be "voice" from there. Also worth noting: we consider the power of the set of frames as a whole, so you need to sustain power for 0.25 seconds at a time, or it's not "voice." git-svn-id: svn://svn.icculus.org/quake3/trunk@1377 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: changed debug output filenames.icculus2008-06-071-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1376 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: initial shot at voice activation.icculus2008-06-074-34/+71
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1375 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Only update from cl_voipSendTarget if sending data.icculus2008-06-071-25/+26
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1374 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Initial work on adding Speex preprocessor.icculus2008-06-073-2/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1373 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Don't hardcode Speex sample rate.icculus2008-06-075-8/+17
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1372 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Fixed per-user gain output.icculus2008-06-051-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1370 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: functionality to adjust incoming audio gain, per-user.icculus2008-06-044-3/+41
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1366 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: client can now specify targets for voice transmission.icculus2008-06-044-1/+21
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1365 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: voip cvar should be 1 by default.icculus2008-06-031-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1363 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-032-8/+21
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea