aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix infinite loop in case an invalid pk3 file has been downloaded from the ↵thilo2009-10-191-1/+19
| | | | | | server. Thanks tjw for reporting (#3074) git-svn-id: svn://svn.icculus.org/quake3/trunk@1686 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix environment variable handling for Linux, make setenv command added ↵thilo2009-10-121-37/+0
| | | | | | before parsing of configuration files. (https://bugzilla.icculus.org/show_bug.cgi?id=3626) git-svn-id: svn://svn.icculus.org/quake3/trunk@1659 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't need a call to va() for thisthilo2009-10-121-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1658 edf5b092-35ff-0310-97b2-ce42778d08ea
* Whoops.. don't make it overwrite cmds in case of recursive error.thilo2009-10-111-7/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1656 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix recursive error for disconnect after reliable client command overflow. ↵thilo2009-10-111-20/+29
| | | | | | Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616 git-svn-id: svn://svn.icculus.org/quake3/trunk@1655 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix warning in cl_main.ctma2009-09-141-1/+1
| | | | | | * Fix bug #4026 (SDL dx backend doesn't work on some machines) git-svn-id: svn://svn.icculus.org/quake3/trunk@1586 edf5b092-35ff-0310-97b2-ce42778d08ea
* Better handling of "voip" console command.icculus2009-09-141-1/+19
| | | | | | | | | | Prints usage info and current gain values, and catches a case where we report an error where no error exists. Fixes Bugzilla #4018. git-svn-id: svn://svn.icculus.org/quake3/trunk@1585 edf5b092-35ff-0310-97b2-ce42778d08ea
* More 3966 business:zakk2009-07-071-9/+6
| | | | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=3966 I'm hopeful that the server browser will surrender. git-svn-id: svn://svn.icculus.org/quake3/trunk@1581 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix for bad ping times, see bug 3966 but note that this patch is different, ↵zakk2009-07-041-1/+4
| | | | | | | | | got a fresh one from Amanieu in irc. git-svn-id: svn://svn.icculus.org/quake3/trunk@1580 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make client send a random challenge number in getchallenge requeststhilo2009-06-011-22/+46
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1567 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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
* * Move command argument completion from being hard coded to being associatedtma2008-09-161-0/+35
| | | | | | | 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-051-2/+2
| | | | | | | | | | * 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-281-0/+5
| | | | | | | | | | | 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
* * Restrict OpenAL capture support test hack to OS X, where it is required; thistma2008-08-031-1/+1
| | | | | | | 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
* * Remove cl_platformSensitivity as it predates the move to SDL everywheretma2008-07-121-2/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1424 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-071-19/+17
| | | | | | | | | * 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
* VOIP: Added cvar cl_voipCaptureMult to boost gain on recorded bits.icculus2008-07-051-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1403 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Added cheapie VoIP meter.icculus2008-06-251-3/+6
| | | | 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-081-0/+1
| | | | | | | | | 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
* VoIP: tweaked VAD code.icculus2008-06-081-1/+3
| | | | | | | | 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: attempt at changing voipPower calc and using it for VAD.icculus2008-06-081-18/+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: initial shot at voice activation.icculus2008-06-071-24/+55
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1375 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Initial work on adding Speex preprocessor.icculus2008-06-071-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1373 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: Don't hardcode Speex sample rate.icculus2008-06-071-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1372 edf5b092-35ff-0310-97b2-ce42778d08ea
* VoIP: functionality to adjust incoming audio gain, per-user.icculus2008-06-041-0/+2
| | | | 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-041-0/+16
| | | | 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
* Don't allow client to capture audio if playing back a demo.icculus2008-06-031-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1360 edf5b092-35ff-0310-97b2-ce42778d08ea
* More VoIP work: treat voip/sv_voip cvars as protocol version numbers.icculus2008-06-021-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1358 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed a few VoIP cvars to be latched.icculus2008-06-011-2/+2
| | | | | | | It either doesn't make sense to change these mid-game, or doing so won't work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1351 edf5b092-35ff-0310-97b2-ce42778d08ea
* Forbid setting voip cvar if network data rate is too low.icculus2008-06-011-11/+23
| | | | | | | This prevents "Connection Interrupted" packets as VoIP data is incoming. git-svn-id: svn://svn.icculus.org/quake3/trunk@1350 edf5b092-35ff-0310-97b2-ce42778d08ea
* Client shouldn't try to capture audio data if voip cvar is disabled.icculus2008-06-011-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1349 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-011-0/+235
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* mumble link supportludwig2008-05-301-0/+61
| | | | | | | The coordinate calculation was adopted from Warsow's mumble patch. git-svn-id: svn://svn.icculus.org/quake3/trunk@1347 edf5b092-35ff-0310-97b2-ce42778d08ea
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-011-0/+2
| | | | | | | | | | - tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove commented codethilo2008-04-121-5/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1318 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another change to server parsing as a server reporting in from 69.79.84.0/24 ↵thilo2008-04-121-29/+25
| | | | | | with the master server could screw up the server list in ioquake3 clients. git-svn-id: svn://svn.icculus.org/quake3/trunk@1316 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-121-1/+1
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-121-1/+1
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Revamp in-game server browser: you can now scan for games on multiple ↵thilo2008-04-111-106/+90
| | | | | | | | | master servers, while retaining compatibility with old QVMs. - Make Master server reporting/server queries ipv6 capable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-101-4/+3
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-091-1/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea