aboutsummaryrefslogtreecommitdiffstats
path: root/code/client
Commit message (Collapse)AuthorAgeFilesLines
...
* * Fix bug that prevented key up events getting to cgame/ui when not in gametma2007-10-028-69/+77
| | | | | | | | * 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-229-21/+21
| | | | | | | | 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
* * Don't apply colour escape chars on input fieldstma2007-09-215-48/+46
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1184 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-0513-149/+188
| | | | | | | * 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
* * Nuts.tma2007-08-231-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1131 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3324) Incorrect use of sizeof (beast <info@dbwatersports.com>)tma2007-08-231-51/+39
| | | | | | | | | | | | | | * (bug 2946) Console scrolling broken (identified by misantropia) + Field_VariableSizeDraw contained a hack to ensure the cursor was always visible. Unfortunately this interfered with scrolling long lines. Move the hack to a different place + Removed commented code in the same function + Reworked Field_KeyDownEvent to use a switch( ... ) and set edit->scroll in every case, thereby avoiding scrolling issues when "Home" or "End" are pressed git-svn-id: svn://svn.icculus.org/quake3/trunk@1130 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3077) allow cURL to follow HTTP redirects (up to 5)tjw2007-05-221-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1087 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if theytjw2007-04-053-3/+4
| | | | | | | | | | 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
* * Silly tab filter breaking thingstma2007-04-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1055 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move storage of console history from a cvar to a file in order to alleviatetma2007-04-011-40/+67
| | | | | | | security concerns git-svn-id: svn://svn.icculus.org/quake3/trunk@1054 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now definedtjw2007-03-223-8/+10
| | | | | | | | | | | | | | | at 256 for mod compatability reasons. ioq3-only mods may chose to use MAX_KEYS for checking binds in order to get full key support, but at the cost of breaking compatability with older clients. * (bug 2741) remove some lingering 256-key hardcoding * properly check bounds of keynum in Key_IsDown(), Key_SetBinding(), and Key_GetBinding() git-svn-id: svn://svn.icculus.org/quake3/trunk@1053 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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