aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * Add Com_HexStrToInttma2008-09-055-149/+131
| | | | | | | | | | * Fixed some whacky indentation in q_shared.c * Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition to ASCII characters * Experimental code to ignore dead keys git-svn-id: svn://svn.icculus.org/quake3/trunk@1470 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add scope id to ipv6 addresses.thilo2008-08-315-17/+48
| | | | | | | | | | - Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround. - Bring ipv6 master server up to speed for dpmaster Thanks go out to Mathieu Olivier for this work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to console completion bug introduced by the last fix (from the oopstma2008-08-301-1/+1
| | | | | | | dept.) git-svn-id: svn://svn.icculus.org/quake3/trunk@1465 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Update IN_IsConsoleKey so that specifying ascii values/characters for thetma2008-08-301-10/+52
| | | | | | | console key always results in the character being used as opposed to the key git-svn-id: svn://svn.icculus.org/quake3/trunk@1464 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Better condition to test whether to use the character or the keytma2008-08-281-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1462 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 'Handle dead keys more gracefully by taking a "best guess" rather thantma2008-08-285-43/+88
| | | | | | | | | | | ignoring completely' from r1459; it can't ever work acceptably, especially on azerty/qwertz layouts * Make the ordering of the output from in_keyboardDebug more sensible * Add cl_consoleKeys cvar, a space delimited list of key names or characters that toggle the console git-svn-id: svn://svn.icculus.org/quake3/trunk@1461 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Collapse common command completion code into one function and fix thetma2008-08-271-57/+38
| | | | | | | | incorrect buffer size parameter to strncpy (from the how-the-fuck-did-this-ever-work dept.) git-svn-id: svn://svn.icculus.org/quake3/trunk@1460 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Handle dead keys more gracefully by taking a "best guess" rather than ignoringtma2008-08-252-15/+54
| | | | | | | | | | completely * When activating or deactivating the mouse flush any pending motion events; this should stop the view moving unpredictably in these circumstances * Add keyname completion to "unbind" git-svn-id: svn://svn.icculus.org/quake3/trunk@1459 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix unused variable warningtma2008-08-232-4/+9
| | | | | | | * Add USE_LOCAL_HEADERS guards to sys_loadlib.h git-svn-id: svn://svn.icculus.org/quake3/trunk@1458 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #3729) server dependencies on client.h (Ben Millwood)tma2008-08-2212-30/+23
| | | | | | | | | | | * (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering <gabriel.schnoering@gmail.com>) * (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett <baggett.patrick@figglesoftware.com>) and... * (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__ git-svn-id: svn://svn.icculus.org/quake3/trunk@1456 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't set SE_KEY event to ctrl-h; I don't think this makes sensetma2008-08-222-35/+52
| | | | | | | | | | | | * Don't warp the mouse on deactivation unless the cursor is in the window already; this fixes in_nograb * Stop grabbing the mouse in windowed mode when there is no sense in doing so * Make sure that IN_Restart is only called on r_fullscreen modification if a mode change actually takes place git-svn-id: svn://svn.icculus.org/quake3/trunk@1455 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Really fix backspace on OS X (I hope)tma2008-08-221-5/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1454 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Prevent ~ from generating a charactertma2008-08-221-0/+6
| | | | | | | * Fix backspace on OS X (I hope) git-svn-id: svn://svn.icculus.org/quake3/trunk@1453 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Update to jpeg-6b (only a decade old)tma2008-08-2165-1445/+3405
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1452 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy up the keyboard code a bit, add in_keyboardDebugtma2008-08-192-58/+84
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1450 edf5b092-35ff-0310-97b2-ce42778d08ea
* * More robust x86 vm entrypoint/callback assembly (Tron)tma2008-08-171-96/+74
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1448 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix misplaced #endiftma2008-08-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1447 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Pass the "best" SDL_PixelFormat (as returned by the initial call totma2008-08-131-7/+26
| | | | | | | | SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an empty list when using the "windib" driver git-svn-id: svn://svn.icculus.org/quake3/trunk@1446 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problemstma2008-08-126-17/+14
| | | | | | | | and you're using an nVidia graphics card, make sure your 'conformant texture clamp' setting is set to on for ioq3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1445 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use IPv6 header qcommon/wspiapi.h if it has been added by the end usertma2008-08-091-43/+50
| | | | | | | * Update README to explain the Windows XP requirement git-svn-id: svn://svn.icculus.org/quake3/trunk@1444 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Always show the mouse cursor when the mouse is disabledtma2008-08-095-20/+57
| | | | | | | | | | | * Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick * Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time * Call IN_Restart when changing r_fullscreen * Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use * Random README tweaks git-svn-id: svn://svn.icculus.org/quake3/trunk@1441 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Sys_GLimpInit for platform specific GLimp initialisationtma2008-08-085-16/+67
| | | | | | | | | | * Move Unix specific signal handlers to Sys_PlatformInit * (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already set externally * (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1 git-svn-id: svn://svn.icculus.org/quake3/trunk@1440 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3674) Change default for s_alGain from 0.4 to 1.0tma2008-08-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1439 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix memory leak in win32 VM code (arQon/dmitry)tma2008-08-062-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1438 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace...tma2008-08-031-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1436 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Report SDL driver used on GLimp initialisationtma2008-08-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1435 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on tma2008-08-035-2/+47
| | | | | | | | | | | | | | more or less any input event; fine for the server, not so much use for the client * In the main loop, don't bother sleeping if it's going to be less than 10ms as the methods we're using to sleep at the moment aren't very precise * Add Sys_PlatformInit for platform specific initialisation * In win32 Sys_PlatformInit force selection of the DirectX SDL backend in order to get better fullscreen mouse input (in conjunction with a patched SDL DLL http://bugzilla.libsdl.org/show_bug.cgi?id=265) git-svn-id: svn://svn.icculus.org/quake3/trunk@1434 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Restrict OpenAL capture support test hack to OS X, where it is required; thistma2008-08-032-7/+18
| | | | | | | fixes a crash on exit with Windows when using OpenAL git-svn-id: svn://svn.icculus.org/quake3/trunk@1433 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Sign check com_maxfps* variablestma2008-07-211-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1432 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use Sys_Sleep to limit FPS, which will save CPUtma2008-07-216-49/+33
| | | | | | | | * Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory * Fix reopening of bug 3703, I hope git-svn-id: svn://svn.icculus.org/quake3/trunk@1431 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix confusion of cgame and renderer entity array bounds (Tr3B)tma2008-07-161-2/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1429 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert r1341 as there doesn't seem to be a lot of point to the change and ittma2008-07-161-8/+1
| | | | | | | | potentially will cause input events to be queued in a different order to that in which they were received git-svn-id: svn://svn.icculus.org/quake3/trunk@1428 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix build without VOIP (David Severwright, bug#3720)ludwig2008-07-161-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1427 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove cl_platformSensitivity as it predates the move to SDL everywheretma2008-07-123-5/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1424 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3712) MSVC build fix s/strtof/strtod/ (Pat Raynor <raynorpat@gmail.com>)tma2008-07-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1423 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix server info string voip settingtma2008-07-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1422 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Allow floating point values for r_zneartma2008-07-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1421 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-0723-109/+238
| | | | | | | | | * 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
* Reverted svn revision #1410 to sv_init.cicculus2008-07-061-0/+4
| | | | | | | | sv_voip is a protocol version number, not a boolean, so this check is reasonable and correct. git-svn-id: svn://svn.icculus.org/quake3/trunk@1419 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed compiler warning on Mac OS X.icculus2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1417 edf5b092-35ff-0310-97b2-ce42778d08ea
* Reverting.zakk2008-07-061-65/+122
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1416 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
* Theoretical higher chance of working.zakk2008-07-061-14/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1413 edf5b092-35ff-0310-97b2-ce42778d08ea
* It's either the Wu-Tang Symbol or the tango quake3 logo, someone pleasezakk2008-07-061-130/+77
| | | | | | | test this on Linux. git-svn-id: svn://svn.icculus.org/quake3/trunk@1412 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove silly range check on sv_voip during initialisationtma2008-07-063-13/+1
| | | | | | | * Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check git-svn-id: svn://svn.icculus.org/quake3/trunk@1410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed client binary dedicated servertma2008-07-061-5/+5
| | | | | | | * Revert 1286 as the checks are no longer redundant following above fix git-svn-id: svn://svn.icculus.org/quake3/trunk@1409 edf5b092-35ff-0310-97b2-ce42778d08ea
* * In the dedicated binary, prevent setting dedicated cvar to 0tma2008-07-061-0/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1408 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change dedicated cvar to CVAR_LATCH on the dedicated servertma2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1407 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to speex compile warningtma2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1406 edf5b092-35ff-0310-97b2-ce42778d08ea