aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved ↵thilo2007-03-171-4/+2
| | | | | | with s_alMaxDistance. git-svn-id: svn://svn.icculus.org/quake3/trunk@1051 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3018) need to call Cvar_SetCheatState() after CG_INIT and UI_INIT totjw2007-03-024-1/+12
| | | | | | | | override user-defined cvar values for CVAR_CHEAT cvars that could be registered in cgame and ui. git-svn-id: svn://svn.icculus.org/quake3/trunk@1048 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 2741) Adds support in the SDL client for many keys that were nottjw2007-02-143-6/+229
| | | | | | | | | | | | | recognized. For example, F13, F14, F15, WINDOWS, SCROLLLOCK, CAPSLOCK, WORLD_0 - WORLD_95, etc. (Christophe Cavalaria) * (bug 2741) Adds the hard-coded toggleConsole bind Shift-Escape * (bug 2741) Adds detailed explaination of SDL keyboard handling differences in the README file. git-svn-id: svn://svn.icculus.org/quake3/trunk@1044 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-122-12/+72
| | | | | | | | 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
* - Fix loads of format string bugsthilo2007-01-245-15/+13
| | | | | | | - Fix locally looping sounds, thanks to Timbo git-svn-id: svn://svn.icculus.org/quake3/trunk@1037 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix wrong use of strncatludwig2007-01-231-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1036 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix two non-C-standard variable declarations.thilo2007-01-071-2/+6
| | | | | | | - Fix function name of vsnprintf for windows systems. git-svn-id: svn://svn.icculus.org/quake3/trunk@1027 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-305-8/+8
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* using the function pointer time() doesn't make any sense. Passing downludwig2006-12-301-2/+2
| | | | | | | the variable instead looks like the obvious fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1020 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge 954:955 from 1.34 branchtma2006-11-282-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@985 edf5b092-35ff-0310-97b2-ce42778d08ea
* There's still a little bug in my recent change...thilo2006-11-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@983 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add input sanitising to various sound playing functions called from MODs.thilo2006-11-251-3/+40
| | | | | | | | This fixes https://bugzilla.icculus.org/show_bug.cgi?id=2836 - Make searching through the knownSfx array a bit more efficient. git-svn-id: svn://svn.icculus.org/quake3/trunk@982 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug in parameter checking. Thanks to Neil Toronto for reporting.thilo2006-11-231-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@979 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only stop demo on map change if it was started by autorecord.thilo2006-11-032-4/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@958 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Explicitly set distance attenuation model.thilo2006-11-031-64/+133
| | | | | | | - Mute sounds that exceed a certain distance from the listener. git-svn-id: svn://svn.icculus.org/quake3/trunk@957 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Remove "server crashed" message on server shutdown caused by local client ↵thilo2006-10-273-1/+12
| | | | | | | | | 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
* * (bug 2758) Toggling the console while holding keys can put the cgame/uitjw2006-10-231-1/+2
| | | | | | | | | keycatchers in a bad place since they see a key press for a key that is already in a down state. Simply clearing the down state of all keys as the console is toggled seems like a simple fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@951 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2893) OpenAL was not tracking one-shot sound effects to the entity'stjw2006-10-131-2/+1
| | | | | | | position git-svn-id: svn://svn.icculus.org/quake3/trunk@934 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-115-4/+582
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea
* looks like ALCchar is not available on older openal versionsludwig2006-09-051-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@890 edf5b092-35ff-0310-97b2-ce42778d08ea
* * renamed static function GetClipboardData to CL_GetClipboardData since it ↵tjw2006-08-301-3/+3
| | | | | | was causing compile errors in newer mingw git-svn-id: svn://svn.icculus.org/quake3/trunk@882 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-283-12/+1
| | | | | | 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-283-1/+12
| | | | | | | | | 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
* - Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack ↵thilo2006-08-271-28/+70
| | | | | | | | | introduced in rev. 832 - intro now plays correctly before looping sound. git-svn-id: svn://svn.icculus.org/quake3/trunk@874 edf5b092-35ff-0310-97b2-ce42778d08ea
* * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated servertjw2006-08-261-4/+0
| | | | | | | builds when svn version cannot be detected git-svn-id: svn://svn.icculus.org/quake3/trunk@872 edf5b092-35ff-0310-97b2-ce42778d08ea
* - compensate sv_fps for timescale value.thilo2006-08-264-8/+29
| | | | | | | - 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
* * Add SVN version to the version string displayed in the client consoletjw2006-08-222-2/+5
| | | | | | | if it can be detected git-svn-id: svn://svn.icculus.org/quake3/trunk@858 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Change available device list to be displayed on sound initialization andthilo2006-08-191-8/+6
| | | | | | | use line feeds as separators. git-svn-id: svn://svn.icculus.org/quake3/trunk@856 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Compiler warning fixtma2006-08-191-2/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@855 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tweak enumeration support, remove win32 dependencythilo2006-08-192-19/+6
| | | | | | | - fix two typos in status message in snd_main.c git-svn-id: svn://svn.icculus.org/quake3/trunk@854 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add device enumeration support on windows and make "Generic Software" new ↵thilo2006-08-191-0/+75
| | | | | | | | | | default device as that one seems to work more reliably on many platforms. - Add shfolder.lib library to dependencies in MSVC project files - update documentation for OpenAL changes. git-svn-id: svn://svn.icculus.org/quake3/trunk@853 edf5b092-35ff-0310-97b2-ce42778d08ea
* * qvm files no longer installed by "make copyfiles"tma2006-08-133-1/+6
| | | | | | | | | | | | * 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
* bug 2747tjw2006-08-031-1/+5
| | | | | | | | | | * it turns out Apple's OpenAL only allows for 64 alSource's by default http://opensource.creative.com/pipermail/openal/2005-October/008893.html This was the main cause of the Mac OS X OpenAL probem since we were using 128 as MAX_SRC git-svn-id: svn://svn.icculus.org/quake3/trunk@833 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2747tjw2006-08-031-13/+10
| | | | | | | | | | * open music stream in S_AL_StartBackgroundTrack() instead of relying on S_AL_MusicProcess() to open it. This allows S_AL_MusicProcess() to return early when called whenever there is no open music stream to prevent a segfault. git-svn-id: svn://svn.icculus.org/quake3/trunk@832 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-021-0/+2
| | | | | | | | | | | | | | * adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another patch to make uncompressed AVI write in RGB24 format by anonymous ↵thilo2006-07-311-2/+2
| | | | | | virtualdub sympathiser. git-svn-id: svn://svn.icculus.org/quake3/trunk@825 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix from the VirtualDub people which should make avi files created with the ↵thilo2006-07-311-9/+12
| | | | | | video command playable with numerous windows players. git-svn-id: svn://svn.icculus.org/quake3/trunk@824 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
* - print warning if server tries to set cvars it shouldn't setludwig2006-07-051-1/+4
| | | | | | | - make warnings yellow git-svn-id: svn://svn.icculus.org/quake3/trunk@812 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-031-2/+21
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenAL bug fix (from Josh Weisskopf)tma2006-06-171-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@810 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
* Fix remotely exploitable parse download overflow reported by Luigi Auriemma.thilo2006-06-041-8/+20
| | | | | | | | See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html for the advisory. git-svn-id: svn://svn.icculus.org/quake3/trunk@796 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
* Partially applied patch from Joerg Dietrich. Fixes:thilo2006-06-012-6/+18
| | | | | | | | - incorrect handling of file names when opening sound files by name without extension - byte endian issues in ogg decoder. git-svn-id: svn://svn.icculus.org/quake3/trunk@793 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
* Corrected #include directives of openal headers for MSVC.thilo2006-05-131-2/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@779 edf5b092-35ff-0310-97b2-ce42778d08ea