aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * Disable video command when not playing back a demotma2006-08-291-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@881 edf5b092-35ff-0310-97b2-ce42778d08ea
* Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave ↵thilo2006-08-281-3/+0
| | | | | | as it was originally described. git-svn-id: svn://svn.icculus.org/quake3/trunk@880 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash when recording to files and the map changes. Was caused by new, ↵thilo2006-08-281-0/+3
| | | | | | | | | correct, behaviour of FS_Restart() which would close the files before they'd be closed by the client. git-svn-id: svn://svn.icculus.org/quake3/trunk@878 edf5b092-35ff-0310-97b2-ce42778d08ea
* - compensate sv_fps for timescale value.thilo2006-08-261-7/+23
| | | | | | | - Add a non-dirty-hack fix for client hanging when unpausing a game. git-svn-id: svn://svn.icculus.org/quake3/trunk@870 edf5b092-35ff-0310-97b2-ce42778d08ea
* * qvm files no longer installed by "make copyfiles"tma2006-08-131-0/+3
| | | | | | | | | | | | * Loopback clients only get snapshots at the server frame rate now (Anonymous <nkylqinhvgcbyl@mailinator.com>) * JPEG chroma subsampling disabled if the quality value is >= 85 (Anonymous <nkylqinhvgcbyl@mailinator.com>) * cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@838 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the demofile slot finder to use FS_FileExists instead of FS_ReadFile ↵thilo2006-07-301-3/+1
| | | | | | to find a free filename. git-svn-id: svn://svn.icculus.org/quake3/trunk@823 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written.thilo2006-07-301-4/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@822 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix bug that allows a malicious server to write and overwrite any files in ↵thilo2006-06-161-7/+0
| | | | | | | | | | | the quake3 directory. Reported by Luigi Auriemma. - Moved directory traversal check to a more proper location. - Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances. git-svn-id: svn://svn.icculus.org/quake3/trunk@804 edf5b092-35ff-0310-97b2-ce42778d08ea
* Forgot to check for windows-style path seperator in precaution against ↵thilo2006-06-011-1/+1
| | | | | | directory traversal abuse. git-svn-id: svn://svn.icculus.org/quake3/trunk@794 edf5b092-35ff-0310-97b2-ce42778d08ea
* Prevent servers from making clients download files that are written to ↵thilo2006-05-281-0/+7
| | | | | | non-quake3 directories. git-svn-id: svn://svn.icculus.org/quake3/trunk@790 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-061-1/+1
| | | | | | | | | R_RemapShader buffer overflow exploit that can be found here: http://milw0rm.com/exploits/1750 git-svn-id: svn://svn.icculus.org/quake3/trunk@765 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Added SV_Shutdown to Linux signal handler to ensure that clients don't ↵thilo2006-05-041-0/+4
| | | | | | | | | | hang when server gets killed, as suggested by Tony J. White - Added newline to final message sent to clients. - Added check for whether client is running at all before CL_Shutdown runs through. git-svn-id: svn://svn.icculus.org/quake3/trunk@738 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduced various new typedefs for windows platform (int32_t, int64_t, ↵thilo2006-04-271-2/+1
| | | | | | | | | etc...) - Applied md5 64-bit safety patch by Tony White. git-svn-id: svn://svn.icculus.org/quake3/trunk@727 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-261-1/+2
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* * cl_guid for semi-reliable server authentication (from tjw)tma2006-04-221-0/+25
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@720 edf5b092-35ff-0310-97b2-ce42778d08ea