aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* Add Multicast capabilities for LAN server scanning.thilo2008-04-091-11/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-041-42/+91
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* A more clean solution to this bug. Stop the renderer when the UI VM is not ↵thilo2008-03-271-4/+0
| | | | | | running, as no commands get issued in that case anyways. git-svn-id: svn://svn.icculus.org/quake3/trunk@1285 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix flashing connect screen, see ↵thilo2008-03-271-0/+4
| | | | | | https://bugzilla.icculus.org/show_bug.cgi?id=3425. git-svn-id: svn://svn.icculus.org/quake3/trunk@1284 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove obsolete code for obfuscation.thilo2008-03-251-11/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1279 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3412) %s expansion security patch (DevHC)tma2008-01-221-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1250 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove small redundancythilo2007-12-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1241 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug where an extraneous render command can cause a crash whentma2007-11-181-0/+2
| | | | | | | | | recording video * Make S_CodecUtilClose NULL the snd_stream_t pointer * Fix indentation in runtime SDL check code git-svn-id: svn://svn.icculus.org/quake3/trunk@1214 edf5b092-35ff-0310-97b2-ce42778d08ea
* make master server used by client configurable (cl_master)ludwig2007-11-141-2/+4
| | | | | | | patch by Erik Kloppenburg git-svn-id: svn://svn.icculus.org/quake3/trunk@1212 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug that prevented key up events getting to cgame/ui when not in gametma2007-10-021-6/+7
| | | | | | | | * Use Key_[GS]etCatcher everywhere to set keycatcher * Clear all key states when the catcher changes git-svn-id: svn://svn.icculus.org/quake3/trunk@1189 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move the conditional compilation of bg_lib.c from the Makefile to cpp intma2007-09-221-5/+5
| | | | | | | | order to force dependency generation on bg_lib.* * Make testing USE_ defines more consistent git-svn-id: svn://svn.icculus.org/quake3/trunk@1186 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-30/+110
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge win_net.c and unix_net.ctma2007-08-281-9/+0
| | | | | | | | | | | + Move win32/win_net.c to qcommon/net_ip.c and make it portable + Remove unix_net.c, but incorporate its revision history into win_net.c + Remove all IPX support -- this remains compatible with existing mods + This change also inadvertently gets us SOCKS support on non-Windows platforms git-svn-id: svn://svn.icculus.org/quake3/trunk@1139 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if theytjw2007-04-051-1/+2
| | | | | | | | | | are being loaded to play a demo. This restores the normal "timedemo" cvar behaviour. * (bug 3054) The "demo" command works properly now when connected to the local server git-svn-id: svn://svn.icculus.org/quake3/trunk@1062 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-161-7/+3
| | | | | | | when generating the qkey file git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-121-11/+70
| | | | | | | | non-zero, cl_guid will be unique for each server that the client connects to git-svn-id: svn://svn.icculus.org/quake3/trunk@1041 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-301-1/+1
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge 954:955 from 1.34 branchtma2006-11-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@985 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Remove "server crashed" message on server shutdown caused by local client ↵thilo2006-10-271-0/+3
| | | | | | | | | disconnect. - Stop demo recording on a new gamestate packet so the demo won't end with a new level load. git-svn-id: svn://svn.icculus.org/quake3/trunk@956 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-111-4/+86
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea