Commit graph

1123 commits

Author SHA1 Message Date
Tim Angus
d982941849 * Update SDL patch 2008-08-31 10:04:28 +00:00
Tim Angus
9d0e643425 * Fix to console completion bug introduced by the last fix (from the oops
dept.)
2008-08-30 22:07:50 +00:00
Tim Angus
56972c5c69 * Update IN_IsConsoleKey so that specifying ascii values/characters for the
console key always results in the character being used as opposed to the key
2008-08-30 19:29:34 +00:00
Tim Angus
a0ba5b4e38 * Update SDL patch as per SDL bugs #611 and #618 2008-08-30 19:26:41 +00:00
Tim Angus
19eb906706 * Better condition to test whether to use the character or the key 2008-08-28 23:08:54 +00:00
Tim Angus
c0328ab4f6 * Revert 'Handle dead keys more gracefully by taking a "best guess" rather than
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
2008-08-28 22:05:34 +00:00
Tim Angus
f1faa1d12a * Collapse common command completion code into one function and fix the
incorrect buffer size parameter to strncpy (from the
  how-the-fuck-did-this-ever-work dept.)
2008-08-27 20:00:34 +00:00
Tim Angus
36a43f2aa1 * Handle dead keys more gracefully by taking a "best guess" rather than ignoring
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"
2008-08-25 21:15:25 +00:00
Tim Angus
a6382d2d9b * Fix unused variable warning
* Add USE_LOCAL_HEADERS guards to sys_loadlib.h
2008-08-23 22:45:30 +00:00
Zachary Slater
17f52fa5a1 Runs for me now?. 2008-08-23 02:33:08 +00:00
Tim Angus
b555d68b3f * (bug #3729) server dependencies on client.h (Ben Millwood)
* (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__
2008-08-22 22:47:26 +00:00
Tim Angus
acbf982689 * Don't set SE_KEY event to ctrl-h; I don't think this makes sense
* 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
2008-08-22 22:16:37 +00:00
Tim Angus
e4e0568641 * Really fix backspace on OS X (I hope) 2008-08-22 11:41:54 +00:00
Tim Angus
c1befbda75 * Prevent ~ from generating a character
* Fix backspace on OS X (I hope)
2008-08-22 11:16:35 +00:00
Tim Angus
953200cafc * Update to jpeg-6b (only a decade old) 2008-08-21 23:29:09 +00:00
Zachary Slater
1441e0362c Thanks to i.atent.dead@gmail.com, this adds:
"I've written out a couple of type declarations for .cfg/.config and .pk3 files, which allows OS X to recognise what they are (handy for eg. QuickLook)."
2008-08-20 19:00:22 +00:00
Tim Angus
5b4dc4c743 * Tidy up the keyboard code a bit, add in_keyboardDebug 2008-08-19 21:32:23 +00:00
Tim Angus
9705664d2c * Alpha sort the jpeg file list in the Makefile, just because 2008-08-19 10:03:14 +00:00
Tim Angus
1af6eb9592 * More robust x86 vm entrypoint/callback assembly (Tron) 2008-08-17 23:22:06 +00:00
Tim Angus
d781a25157 * Fix misplaced #endif 2008-08-14 07:59:34 +00:00
Tim Angus
49fa0edd61 * Pass the "best" SDL_PixelFormat (as returned by the initial call to
SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an
  empty list when using the "windib" driver
2008-08-13 19:39:38 +00:00
Tim Angus
f2baf359ae * s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problems
and you're using an nVidia graphics card, make sure your 'conformant texture
  clamp' setting is set to on for ioq3)
2008-08-12 19:34:43 +00:00
Tim Angus
7edcc7d16a * Use IPv6 header qcommon/wspiapi.h if it has been added by the end user
* Update README to explain the Windows XP requirement
2008-08-09 19:12:30 +00:00
Tim Angus
60eb261185 * Add SDL bug fix patch to misc/ directory
* Add commentary of said patch to README
2008-08-09 15:19:59 +00:00
Tim Angus
317b953421 * Random README tweaks (from previous commit, after actually having saved it) 2008-08-09 13:25:41 +00:00
Tim Angus
c29417b42a * Always show the mouse cursor when the mouse is disabled
* 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
2008-08-09 13:20:00 +00:00
Tim Angus
d4d5527a89 * Add Sys_GLimpInit for platform specific GLimp initialisation
* 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
2008-08-08 21:35:33 +00:00
Tim Angus
2cf5052786 * (bug 3674) Change default for s_alGain from 0.4 to 1.0 2008-08-08 18:27:06 +00:00
Tim Angus
9a5d971705 * Fix memory leak in win32 VM code (arQon/dmitry) 2008-08-06 16:09:29 +00:00
Tim Angus
1b87aff448 * Elaborate on the reasons for requiring Windows XP 2008-08-04 11:34:04 +00:00
Tim Angus
a87661a1be * Whitespace... 2008-08-03 21:38:54 +00:00
Tim Angus
d56c53abb4 * Report SDL driver used on GLimp initialisation 2008-08-03 21:37:51 +00:00
Tim Angus
00e790ce00 * Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on
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)
2008-08-03 19:42:53 +00:00
Tim Angus
d13269c5bb * Restrict OpenAL capture support test hack to OS X, where it is required; this
fixes a crash on exit with Windows when using OpenAL
2008-08-03 19:31:42 +00:00
Tim Angus
71f8a85e42 * Sign check com_maxfps* variables 2008-07-21 22:16:57 +00:00
Tim Angus
0124371c01 * Use Sys_Sleep to limit FPS, which will save CPU
* Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory
* Fix reopening of bug 3703, I hope
2008-07-21 22:02:54 +00:00
Zachary Slater
4ceb51e6ba Bug 3726
make-macosx-ub.sh error aborting and directory changing
Thanks to Ben Millwood.
2008-07-20 17:42:34 +00:00
Tim Angus
3855f65d17 * Fix confusion of cgame and renderer entity array bounds (Tr3B) 2008-07-16 18:07:36 +00:00
Tim Angus
42e444ea0b * Revert r1341 as there doesn't seem to be a lot of point to the change and it
potentially will cause input events to be queued in a different order to that
  in which they were received
2008-07-16 17:45:10 +00:00
Ludwig Nussel
2ed334b2be fix build without VOIP (David Severwright, bug#3720) 2008-07-16 07:15:09 +00:00
Ludwig Nussel
d3cf82b2ee nsis: uninstall openal32.dll as well 2008-07-16 07:15:01 +00:00
Ludwig Nussel
5208bf8273 also define proper version when using git-svn 2008-07-16 07:14:55 +00:00
Tim Angus
d84d418086 * Remove cl_platformSensitivity as it predates the move to SDL everywhere 2008-07-12 13:31:31 +00:00
Tim Angus
3c9dc98d04 * (bug 3712) MSVC build fix s/strtof/strtod/ (Pat Raynor <raynorpat@gmail.com>) 2008-07-09 21:22:29 +00:00
Tim Angus
de8131938c * Fix server info string voip setting 2008-07-08 16:23:06 +00:00
Tim Angus
8ea86a4670 * Allow floating point values for r_znear 2008-07-08 09:15:48 +00:00
Tim Angus
37d664d4b2 * Rename voip cvar to cl_voip
* 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
2008-07-07 22:31:39 +00:00
Ryan C. Gordon
809c361744 Reverted svn revision #1410 to sv_init.c
sv_voip is a protocol version number, not a boolean, so this check is
 reasonable and correct.
2008-07-06 20:07:43 +00:00
Ryan C. Gordon
5d3f17e2f0 Fixed TIGERHOST (it should apply to 10.5, too, or legacy binaries fail to
link).
2008-07-06 18:58:40 +00:00
Ryan C. Gordon
71b196c0dc Fixed compiler warning on Mac OS X. 2008-07-06 18:32:41 +00:00