aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_main.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * Displace the '\n's passed to SV_Shutdowntma2006-02-281-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@594 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't try to auto record a demo while playing a demotma2006-01-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@495 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Oops. Rename cl_avidemo to cl_aviFrameRatetma2006-01-061-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added cl_autoRecordDemo, which when enabled automatically records a new demotma2006-01-051-0/+40
| | | | | | | on each map change git-svn-id: svn://svn.icculus.org/quake3/trunk@458 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Only display the g_syncClients warning when it's appropriatetma2006-01-041-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@457 edf5b092-35ff-0310-97b2-ce42778d08ea
* * AVI video outputtma2006-01-041-8/+93
| | | | | | | | | | | - Uses motion jpeg codec by default - Use cl_avidemo to set a framerate - \video [filename] to start capture - \stopvideo to stop capture - Audio capture is a bit ropey git-svn-id: svn://svn.icculus.org/quake3/trunk@454 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed hard coded mouse acceleration in the unix build(s)tma2005-10-141-0/+2
| | | | | | | | * Added CVAR_ROM cl_platformSensitivity to normalise the scale of cl_sensitivity across platforms git-svn-id: svn://svn.icculus.org/quake3/trunk@160 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to multiple buffer overflow bugs in CL_Rcon_ftma2005-09-191-5/+6
| | | | | | | | | | | * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
* First diff from Andreas Schneider:zakk2005-08-311-1/+1
| | | | | | | | here are gcc4 signedness fixes for latest svn :) git-svn-id: svn://svn.icculus.org/quake3/trunk@50 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-3324/+3324
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+3324
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea