Commit graph

1263 commits

Author SHA1 Message Date
Thilo Schulz
5c0ae99642 Make number of supported master servers tunable via define 2011-01-25 02:04:25 +00:00
Thilo Schulz
bf07014b1d Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too. 2011-01-24 18:09:20 +00:00
Thilo Schulz
4f7317c617 Fix bug reported by cyrri 2011-01-24 18:04:20 +00:00
Thilo Schulz
6179036ac9 Fix name resolution for domains with A and AAAA record 2011-01-24 01:55:12 +00:00
Thilo Schulz
8243a77c0e Revert changes because dpmaster doesn't work that way. 2011-01-24 01:24:07 +00:00
Thilo Schulz
7861cde4a2 Make it use the correct game name in getserversExt queries 2011-01-24 00:21:33 +00:00
Thilo Schulz
b0a753eb0f Fix this bug in a better way. 2011-01-22 01:13:30 +00:00
Thilo Schulz
fdb66505bf Fix potential segfault when no PK3s have been loaded (may happen when compiled with -DSTANDALONE) 2011-01-22 01:10:34 +00:00
Thilo Schulz
7471510c8e Shut up compiler error 2011-01-21 20:47:32 +00:00
Tim Angus
35c1e98934 * (bug #4842) Speedup shader buffer creation (Eugene C.) 2010-12-19 18:17:56 +00:00
Tim Angus
7000b9a315 * (bug #4853) Fix comment that refers to old code 2010-12-19 17:45:03 +00:00
Tim Angus
c081b9c1fd * (bug #4800) Don't prepend a slash to console commands if they're empty
* (bug #4800) Limit console input length such that there is always room for a
  leading slash
2010-12-19 17:35:01 +00:00
Tim Angus
c314f29290 * Use correct compiler defines for OS detection on Windows 2010-12-19 16:34:35 +00:00
Ludwig Nussel
c51d99117c use mmap on freebsd too 2010-11-22 07:12:35 +00:00
Zachary Slater
df758ba6c2 Bugzilla #4629
commands sent to client when disconnecte
2010-10-25 06:43:55 +00:00
Zachary Slater
a4327ef965 Bugzilla #4753
Potential buffer overflow in UpdateTournamentInfo()
2010-10-25 06:39:11 +00:00
Zachary Slater
956f495726 Bugzilla #4749
TAHUD: Fix hud fallback
2010-10-25 06:34:33 +00:00
Thilo Schulz
cd8a5aaec8 Followup to #4733 2010-09-01 11:50:09 +00:00
Thilo Schulz
b1a86fb3d9 Fix flaw in my fix to #4737, thanks Zakk Middleton 2010-09-01 11:43:19 +00:00
Thilo Schulz
fa34239f58 another fix. Thanks Zakk Middleton 2010-08-30 23:25:44 +00:00
Thilo Schulz
a13aaa8b0b fix typo 2010-08-30 23:21:34 +00:00
Thilo Schulz
eb2860f756 Fix "unhandles OpenAL error", and sound fallback behaviour for model files. Thanks Ansa89 for reporting, and Zack Middleton for the patch. 2010-08-29 18:11:15 +00:00
Thilo Schulz
5fe2a61910 Second batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4740
#4741
#4742
#4743
#4744
2010-08-29 18:08:29 +00:00
Thilo Schulz
83a3e2ae1b First batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
#4736
#4730
#4731
#4732
#4733
#4735
#4736
#4737
#4738
#4739
2010-08-29 17:32:54 +00:00
Thilo Schulz
392b246ee9 Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting. 2010-08-29 16:49:42 +00:00
Thilo Schulz
3ff2666375 Fix buffer overflow, report and patch by Eugene C. (#4669) 2010-07-02 20:21:20 +00:00
Ludwig Nussel
1434fd1845 fix typo 2010-06-21 07:11:52 +00:00
Ludwig Nussel
233fcb0caa fix stack alignment dynamically for OP_BLOCK_COPY 2010-06-02 14:46:16 +00:00
Ludwig Nussel
2950bb98ea fix OP_BLOCK_COPY alignment for win64 (patch by Marcus Meissner) 2010-05-17 08:59:53 +00:00
Ludwig Nussel
368a3be2a6 64bit Windows fix (patch by Marcus Meissner) 2010-04-16 09:29:34 +00:00
Ludwig Nussel
2728dc403a fix mingw32 build 2010-03-19 08:59:17 +00:00
Ludwig Nussel
760f4a1949 64bit Windows support (patch by Michael Menegakis) 2010-02-28 09:00:02 +00:00
Ludwig Nussel
34d616dbef enable (dummy) cdkey calls in standalone mode to prevents mods from crashing 2010-02-28 08:58:03 +00:00
Ludwig Nussel
a9fdf0ef3b need to hardcode "baseq3" to prevent download of id files even if compiled STANDALONE 2010-02-28 08:56:54 +00:00
Tim Angus
3ebe048968 * Fix a memory leak in OS X Sys_Dialog
* Fix compilation on Snow Leopard
2010-02-26 16:32:49 +00:00
Tim Angus
005f870ebe * Sys_Dialog for more user friendly error reporting
* (bug #3932) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Ludwig Nussel
4876413217 __WORDSIZE is not available on non-GNU systems (Dominic Fandrey) 2010-01-16 10:55:51 +00:00
Tim Angus
9018fedd16 * Clean-up whitespace in net_ip.c 2010-01-10 18:28:32 +00:00
Tim Angus
240b25a41f * (bug #4271) FreeBSD fixes (Dominic Fandrey) 2010-01-07 19:53:52 +00:00
Ludwig Nussel
6f9b34ef75 avoid setting cvars by name each frame 2010-01-06 13:47:41 +00:00
Ludwig Nussel
9b1a3387cb fix mumble coordinate transmission 2010-01-06 13:47:38 +00:00
Ludwig Nussel
42b8b8ecec make reason for voip disable more visible 2010-01-06 13:47:35 +00:00
Ludwig Nussel
6ebc650542 set default rate to broadband 2010-01-06 13:47:32 +00:00
Ludwig Nussel
4abf1aa398 mmap could fail, handle gracefully 2010-01-04 16:02:01 +00:00
Ludwig Nussel
f19d437564 update mumble link interface for version 1.2 2010-01-04 14:12:18 +00:00
Tim Angus
fc05ba7f46 * Fix some compiler warnings 2010-01-03 22:37:14 +00:00
Tim Angus
4056c90358 * Rate limit getstatus and rcon connectionless requests 2010-01-03 22:12:20 +00:00
Tim Angus
e7f9b8d193 * That probably deserves a Com_DPrintf as well 2010-01-03 22:07:20 +00:00
Tim Angus
bb30f51f67 * (bug #4357) CVAR_ROM+CVAR_ARCHIVE is not read from q3config 2010-01-03 19:44:37 +00:00
Tim Angus
a405637985 * Handle SIGINT 2009-12-24 01:39:30 +00:00
Tim Angus
78df7a1de4 * (bug #4346) Dedicated server uses 100% CPU when stdin is not a TTY
* com_speeds reports misleading values on dedicated server (Guillaume Bougard)
2009-12-24 00:40:39 +00:00
Tim Angus
fa2a698aa3 * (bug #4369) Cvar modified flags are not updated in Cvar_Get (Lakitu7) 2009-12-18 21:57:56 +00:00
Tim Angus
d33e24b6d8 * Remove r_displayRefresh as it's not connected to anything, now 2009-12-18 20:02:39 +00:00
Tim Angus
8b0f1a6737 * Rephrase broken compiler warning 2009-11-18 20:26:44 +00:00
Thilo Schulz
10cdcdb0a1 Forgot this one 2009-11-14 01:59:01 +00:00
Tim Angus
3b63c54a24 * Fix demo playback being broken, not entirely sure by what or when 2009-11-11 10:51:33 +00:00
Thilo Schulz
04c5efd739 Fix possible buffer overflow in console, thanks to John Ellis for the patch. 2009-11-10 02:17:32 +00:00
Thilo Schulz
be0a82d496 - Add stopmusic command
- Make cvar s_muted read-only
2009-11-10 01:55:54 +00:00
Thilo Schulz
2a0812bc06 Mute sounds with 0 volume when game is minimized/unfocused instead of Stopping all sounds. Fixes (#4336) 2009-11-10 01:08:15 +00:00
Thilo Schulz
e8ae8f5d3a Remove leftover stub 2009-11-10 00:25:48 +00:00
Thilo Schulz
258429efe7 - Add unset command for cvars created by the user
- Fix crash bug when maximum number of cvars has been reached
- Fix cvar_restart
- Add possibility to cleanly switch mods ingame (#2819)
2009-11-09 22:41:42 +00:00
Thilo Schulz
606ce66726 This is true always, anyways. 2009-11-09 13:50:48 +00:00
Thilo Schulz
eee5498019 Zakk wisheth - Thilo answereth (#4070)
Use cg_drawWeapon 2/3 to make weapon left-handed/centered
2009-11-09 12:23:03 +00:00
Thilo Schulz
5785b45e6a Shut up warn_unused_result warning 2009-11-08 17:00:27 +00:00
Tim Angus
108705d31f * Rewrite win32 Sys_Mkdir to use CreateDirectory
* Make FS_ReplaceSeparators filter out runs of multiple separators
* Make FS_CreatePath skip creation of the root directory
2009-11-07 16:43:02 +00:00
Tim Angus
0f9a5e09eb * Improve displayed error message when pak?.pk3 is missing 2009-11-06 16:25:14 +00:00
Tim Angus
c98df5ad58 * Make window centering optional, defaulting to off 2009-11-06 15:34:05 +00:00
Thilo Schulz
223b851b7b Commit two patches from SmokingGuns's Tequila, fixing problems with very fast movers and a typo in the string drawing function. (#4329) and (#4330) 2009-11-06 12:02:02 +00:00
Thilo Schulz
4ba2452f83 Use new Sys_SetEnv here 2009-11-06 10:50:16 +00:00
Tim Angus
568cf2732a * Fix to GLimp_DetectAvailableModes not sorting the first returned mode 2009-11-05 20:29:26 +00:00
Tim Angus
eee9770fbf * Reimplement r1597-1598 in a better way (Oopss)
* Fix Sys_SetEnv warning
2009-11-05 20:20:23 +00:00
Ludwig Nussel
e8f5d5055d fix wrong strcpy usage (#4331, patch by Andreas Bierfert) 2009-11-04 18:13:05 +00:00
Thilo Schulz
621f91783c Different default values for multicast-scope on Windows and non-Windows OS 2009-11-04 00:42:22 +00:00
Thilo Schulz
d574e10bc4 Ugh. Forgotten ) 2009-11-03 20:44:16 +00:00
Thilo Schulz
bd2ab9bffd - implement r_noborder, inspired by patch from ensiform (#4289)
- Add Sys_SetEnv for portable setting of environment variables
 - Default ioquake3 to appear on the center of the screen if running in windowed mode.
2009-11-03 20:29:43 +00:00
Thilo Schulz
f5d79ea066 Fix bug where game freezes in infinite loop because it doesn't find a spawn point on maps with many bot/human-only spawnpoints. Thanks Pan for reporting this 2009-11-03 13:28:52 +00:00
Thilo Schulz
018de1dd2e Added TTimo's QuakeLive-style mouse acceleration, thanks Gabriel Schnoering and TTimo for the patch. (#3693) 2009-11-02 16:17:10 +00:00
Ludwig Nussel
3d7d2d9f5b check all jumps (#4249) 2009-11-01 19:58:27 +00:00
Ludwig Nussel
12189381b5 fix cmp imm reg 2009-11-01 19:58:25 +00:00
Ludwig Nussel
da31866f6d report memory violations in debug mode 2009-11-01 19:58:21 +00:00
Ludwig Nussel
4722d311fd better range checks 2009-11-01 19:58:18 +00:00
Ludwig Nussel
b7eae0dca5 implement immediate argument for call 2009-11-01 19:58:16 +00:00
Ludwig Nussel
ed98f65d10 optimize const before jump 2009-11-01 19:58:12 +00:00
Ludwig Nussel
a7dee44def check const jump argument 2009-11-01 19:58:09 +00:00
Ludwig Nussel
469c986640 more security checks in interpreter (#4249) 2009-11-01 19:58:07 +00:00
Ludwig Nussel
cc9a74a218 Define stack sizes at central place
also reverts bug 4282 as stack is included in bss already so nothing that needs fixing
2009-11-01 19:58:03 +00:00
Tony J. White =
698127ad32 * Updated to SDL 1.2.14. For future reference, the command you can't
remember is: 'install_name_tool -id @executable_path/libSDL-1.2.0.dylib
  libSDL-1.2.0.dylib'
2009-10-29 03:09:07 +00:00
Tim Angus
9f6cee30d3 * Remove disabling of stdout/err redirection on windows as it doesn't work
(since the environment variable is acted upon by the SDL_main stuff, which
  happens before our main)
2009-10-27 11:48:18 +00:00
Thilo Schulz
e345f9f81f New batch of fixes for the OpenAL part:
- Don't play sources outside the listening range (Thanks Kpaxian for bringing this to my attention)                                                         
 - Handle previously unhandled errors for old OpenAL sample implementation which does not support AL_SEC_OFFSET (sounds won't be synchronized then),
   thanks to Tequila from SmokingGuns for reporting this.
2009-10-27 11:13:33 +00:00
Thilo Schulz
0ecfcfa872 Make not playing loop sources weaker in priority, so if we have reached the maximum number of sources, inaudible loops are removed first. 2009-10-26 23:20:05 +00:00
Ludwig Nussel
2fecf6d6bc get rid of gas remains 2009-10-26 21:59:03 +00:00
Thilo Schulz
0adae90465 Fix another issue I didn't know about: cgame does not kill sound loops it startet, just stops sending the entity information for these loops. Changed it so that loops added with AddLoopingsound() are being killed again as soon as the entity to the source is not sent anymore. 2009-10-26 05:02:18 +00:00
Tim Angus
5004ada284 * Fix some warnings in lcc compile 2009-10-25 23:44:20 +00:00
Tim Angus
568cf6c1dd * Update SDL headers and win32 libs to 1.2.14 2009-10-25 23:07:11 +00:00
Tim Angus
968892c61b * Bump the minimum SDL version up to 1.2.10, and remove workarounds for earlier versions 2009-10-25 22:36:32 +00:00
Tim Angus
f9c4003186 * Make [sv|cl]_packetdelay work when timescale is not 1 (arQon) 2009-10-25 21:54:45 +00:00
Tim Angus
43d31f7c3a * (bug #4316) Hack to work around suspected driver bug (Lakitu7) 2009-10-25 21:48:48 +00:00
Thilo Schulz
0bdf52e2fb Show color codes in full length, patch by Amanieu (#4318) 2009-10-25 19:51:32 +00:00
Ludwig Nussel
2fc4023e0b fix zlib includes 2009-10-24 14:19:39 +00:00
Thilo Schulz
c312449422 Add SIGCONT signal handler to reinitialize console after doing CTRL+Z / fg, as under Linux/bash stdin seems to lose O_NONBLOCK flag as well as all tcsetattr() attributes after foregrounding 2009-10-24 12:01:29 +00:00
Thilo Schulz
3c501df298 A few more last fixes that will handle some special cases 2009-10-24 08:33:12 +00:00
Thilo Schulz
1ea420e8a8 Better stop than just pause. 2009-10-23 23:51:00 +00:00
Thilo Schulz
898f1ed2f7 Don't kill sources out of range, just pause them. Make sure the listener gets the impression sources have been continuing to run in the background. 2009-10-23 23:32:52 +00:00
Thilo Schulz
465c6101e0 remove redundancy 2009-10-23 12:30:00 +00:00
Thilo Schulz
d12751f62b Synchronize looping ambient sounds (#2984) 2009-10-23 12:18:49 +00:00
Thilo Schulz
c05d9c9f0c Fix uninitialized words in VM interpreter, reported by Patrick Baggett (4281) 2009-10-23 03:02:08 +00:00
Thilo Schulz
6fb304619b - Add Ben Millwood's implementation of strtod/strtol to bg_lib.c
- Add %s scanf patch from M. Kristall to scanf in bg_lib.c
2009-10-21 10:18:46 +00:00
Tim Angus
c8583df572 * D'oh, vm_ppc.c isn't used any more 2009-10-20 11:47:34 +00:00
Tim Angus
d47509b861 * Sort out the white space disaster in vm_ppc.c 2009-10-20 11:44:25 +00:00
Tim Angus
60ed7a4cc4 * (bug #4249) Fix similar overflow in PPC VM (untested) 2009-10-20 11:36:45 +00:00
Thilo Schulz
ba31be1736 Fix botlib parser for negative int/float values, thanks to Makro for reporting (#4227). 2009-10-19 23:29:44 +00:00
Tim Angus
5663ff1362 * (bug #4249) Fix buffer overflow in x86 VM 2009-10-19 23:01:00 +00:00
Thilo Schulz
fd57c987c4 Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting (#3074) 2009-10-19 22:36:17 +00:00
Thilo Schulz
d93cc3c997 Shut up warnings 2009-10-19 18:54:09 +00:00
Thilo Schulz
585e6f9840 - Applied patch from /dev/humancontroller to set cvar_modifiedFlags from Cvar_Set_f (#3636)
- Exchanged ugly code with Cmd_ArgsFrom()
2009-10-19 16:52:16 +00:00
Thilo Schulz
118fbdf741 - Tested and updated MSVC project file to really make it work with new zlib
- Removed unnecessary zconf.in.h
- Fixed include dirs for several MSVC targets
2009-10-19 16:16:52 +00:00
Thilo Schulz
cc919c05fd Just unix2dos, nothing to see here ... 2009-10-19 14:00:16 +00:00
Thilo Schulz
17ca252753 Adding missing header includes to botlib files. Thanks to Ben Millwood for patch. (#4237) 2009-10-18 00:28:38 +00:00
Thilo Schulz
88535ab1ea Only create botlib.log if in bot developer mode. 2009-10-17 22:35:45 +00:00
Thilo Schulz
b9ec0e4639 Don't look for DLLs on current working directory anymore, for security reasons. 2009-10-17 22:06:51 +00:00
Tim Angus
504bd58b90 * Disable stdout/stderr redirection on Windows 2009-10-16 22:36:57 +00:00
Thilo Schulz
b3f36fc830 Allow weapon marks on triangle meshes (default: disabled), patch by Oliver McFadden. http://bugzilla.icculus.org/show_bug.cgi?id=3774 2009-10-16 20:26:18 +00:00
Tim Angus
37598962f5 * Actually that can be more precise... 2009-10-16 19:21:31 +00:00
Tim Angus
b539a87e72 * (bug #4232) Avoid "cl.snap.serverTime < cl.oldFrameServerTime" for slow
loading clients combined with short g_warmups
2009-10-15 23:39:19 +00:00
Tim Angus
8e04904375 * Make LCC's handling of -D arguments on windows consistent with other plaftorms 2009-10-15 11:36:51 +00:00
Tim Angus
639fdb4ed3 * Fix MinGW build (it doesn't have _putenv_s) 2009-10-13 15:58:23 +00:00
Thilo Schulz
290f51e353 - Change default openal lib to libopenal.so.1
- USE_OPENAL_DLOPEN=1 now default
2009-10-13 15:39:39 +00:00
Thilo Schulz
fc539dc46a Improve OpenAL error handling, patch by Ben Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3776 2009-10-13 15:23:17 +00:00
Thilo Schulz
186f30a74f Fix netcode inconsistency, thanks to /dev/humancontroller for the patch, see http://bugzilla.icculus.org/show_bug.cgi?id=4060 2009-10-12 17:17:15 +00:00
Thilo Schulz
e48b56559d MinGW doesn't have setenv() either, so..... 2009-10-12 16:20:01 +00:00
Thilo Schulz
d86dd71327 Fix environment variable handling for Linux, make setenv command added before parsing of configuration files. (https://bugzilla.icculus.org/show_bug.cgi?id=3626) 2009-10-12 16:03:18 +00:00
Thilo Schulz
387dc9d6ff Don't need a call to va() for this 2009-10-12 03:21:02 +00:00
Thilo Schulz
5a882a72e4 fs_fakeChkSum is indeed obsolete and unnecessary. Removing it altogether now. 2009-10-12 03:20:44 +00:00
Thilo Schulz
691da05b74 Whoops.. don't make it overwrite cmds in case of recursive error. 2009-10-11 18:34:15 +00:00
Thilo Schulz
fee5a4a157 Fix recursive error for disconnect after reliable client command overflow. Thanks to /dev/humancontroller for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3616 2009-10-11 18:31:00 +00:00
Thilo Schulz
fd90f4f579 Fix fake checksum handling if client is unpure, make sure client does not remain unpure after FS_Restart. Thanks to /dev/humancontroller for reporting. http://bugzilla.icculus.org/show_bug.cgi?id=3605, thanks 2009-10-11 16:34:26 +00:00
Thilo Schulz
a97ab9f2fe Add guid to userinfo string, thanks Guillaume Bougard. https://bugzilla.icculus.org/show_bug.cgi?id=3570 2009-10-08 23:01:39 +00:00
Thilo Schulz
2d344eb82e Apply patch from Jay Weisskopf adding an aspect ratio menu entry to resolution selector: https://bugzilla.icculus.org/show_bug.cgi?id=3475 2009-10-08 22:40:11 +00:00
Thilo Schulz
ff2f143882 Make s_volume cvar affect volume of S_Base_RawSamples, thanks to Jay Weisskopf for reporting. https://bugzilla.icculus.org/show_bug.cgi?id=3474 2009-10-08 22:26:10 +00:00
Thilo Schulz
9b7543a905 Fix circumventing sv_maxping restriction, thanks to Amanieu for reporting. http://bugzilla.icculus.org/show_bug.cgi?id=3423 2009-10-08 20:03:25 +00:00
Tim Angus
8d8ed0b47a * Fix bad syntax in 64bit assembler (Undeference) 2009-10-06 17:56:36 +00:00
Thilo Schulz
d53eeae419 Fix memory overwrite when client has too many maps. Thanks to beast for the reporting & the patch. http://bugzilla.icculus.org/process_bug.cgi 2009-10-06 14:28:50 +00:00
Thilo Schulz
549f23bda6 Fix bot loading in case player supplied invalid bot names 2009-10-06 14:17:12 +00:00
Thilo Schulz
de9cf465cc Don't award assist bonuses to flag capturing player, https://bugzilla.icculus.org/show_bug.cgi?id=3260 2009-10-06 14:10:45 +00:00
Tim Angus
5c62c95c64 * Fix incorrect comment 2009-10-05 22:07:01 +00:00
Thilo Schulz
dd572db7d6 Rewrite of key event processing, thanks to /dev/humancontroller and Ben Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3374 2009-10-03 23:35:07 +00:00
Thilo Schulz
3a952ff196 Forgotten else 2009-10-03 23:32:17 +00:00
Thilo Schulz
b2c1618f36 Revert back color code change 2009-10-03 21:41:22 +00:00
Thilo Schulz
b433f3d01c - Modify color generating codes to only accept numbers and not alphabetical chars anymore
- Fix client clean name so that it cannot be tricked anymore, see https://bugzilla.icculus.org/show_bug.cgi?id=3313
2009-10-03 21:15:23 +00:00
Tim Angus
96a3b4b169 * Remove superfluous f from warning 2009-09-28 12:44:43 +00:00
Tim Angus
0ba8b20305 * Avoid calculating a NaN when failing to compute the display aspect ratio 2009-09-28 11:57:16 +00:00
Tim Angus
a7d33b1c54 * (bug #3639) BoxOnPlaneSide rewrite (Diego de Estrada/Patrick Bagget/Daniel
Gibson)
2009-09-21 00:20:43 +00:00
Tim Angus
15ec986478 * ...and make sure it compiles 2009-09-17 20:05:56 +00:00
Thilo Schulz
5fec4498f1 Add received rcon command string to server log, see https://bugzilla.icculus.org/show_bug.cgi?id=3748 2009-09-17 16:54:01 +00:00
Tim Angus
cc8990495a * (bug #4282) Fix potential overlap of VM stack and bss sections (Patrick
Baggett)
2009-09-17 09:42:05 +00:00
Ryan C. Gordon
5ffb45c79f Cleanups for the Mac error dialog, after a code review from tma.
- Don't expose the function in sys_local.h (it would be static if we could).
- Don't call it Sys_Cocoa_*; it'd be nonsense with q3a's naming conventions.
2009-09-16 12:54:12 +00:00
Tim Angus
083bd1b005 * ...and actually r1626 this time 2009-09-16 09:30:21 +00:00
Tim Angus
f89092fda6 * Revert r1624 and r1626-r1628 2009-09-15 09:48:11 +00:00
Ryan C. Gordon
9fd5e15b97 Added support for hardcoded HOMEPATH.
Partially fixes Bugzilla #4271.
2009-09-15 06:40:55 +00:00
Ryan C. Gordon
826f05f95f Let a separate libdir be specified for loading libraries.
Partially fixes Bugzilla #4271.
2009-09-15 06:32:05 +00:00
Ryan C. Gordon
31ce89361d Fixed amd64 JIT output bug.
Partially fixes Bugzilla #4271.
2009-09-15 06:30:00 +00:00
Ryan C. Gordon
3bca280948 Add x86_64 ARCH_STRING for FreeBSD.
Partially fixes Bugzilla #4271.
2009-09-15 06:27:19 +00:00
Ryan C. Gordon
b9f033d1fa Prevent hang in S_UpdateBackgroundTrack() with some sample rates.
Fixes Bugzilla #4022.
2009-09-15 06:19:04 +00:00
Ryan C. Gordon
6978dcf645 Don't send a 0-length command to cgame during map_restart.
Fixes Bugzilla #3965.
2009-09-15 06:15:00 +00:00
Ryan C. Gordon
62ea802cea Quote commandline args with spaces when building the string for Com_Init(). 2009-09-15 06:12:42 +00:00
Ryan C. Gordon
ed241a8b73 Echo console command now colorizes by string, not token.
Fixes Bugzilla #3879.
2009-09-15 05:57:14 +00:00
Ryan C. Gordon
79fadbf271 Fixed compiler warning (glibc complains if you don't check getcwd() retval). 2009-09-15 05:50:55 +00:00
Ryan C. Gordon
aedf24bd72 Allow Cvar_Toggle_f() to iterate through a list of values.
Fixes Bugzilla #3591.
2009-09-15 05:43:53 +00:00
Ryan C. Gordon
f8604a64f4 Added a real GUI message box to Sys_ErrorDialog() on Mac OS X.
Fixes Bugzilla #3654.
2009-09-15 05:38:27 +00:00
Ryan C. Gordon
d03120f0b0 Fixed a compiler warning on Apple's GCC. 2009-09-15 05:34:16 +00:00
Ryan C. Gordon
33beb9df27 Patched to compile. 2009-09-15 05:30:08 +00:00
Ryan C. Gordon
bccd80e523 Added Intel CC compatibility to vm_x86.c's inline asm.
Fixes Bugzilla #3338.
2009-09-15 03:42:29 +00:00
Ryan C. Gordon
d56a093317 Removed more unused variables.
Partially fixes Bugzilla #3782.
2009-09-15 03:19:43 +00:00
Ryan C. Gordon
815026072a Removed unused variables.
CM_LeadArea() has no side effects, so those could go, too.

   Partially fixes Bugzilla #3782.
2009-09-15 02:58:38 +00:00
Ryan C. Gordon
8c04462b34 Handle r_colorbits values better.
Fixes Bugzilla #4244.
2009-09-15 02:51:09 +00:00
Ryan C. Gordon
e2d63b1fea Enable -fvisibility=hidden on Linux.
This will prevent further symbol clashes, and makes the shared libraries
 10 to 20 percent smaller.

We should enable this on other platforms, too, if we can guarantee they'll
 use gcc 4.0 or later and the platform supports it.
2009-09-15 02:48:17 +00:00
Ryan C. Gordon
6cea11c665 Renamed bot_developer to botDeveloper to prevent symbol clash.
qagame*.so has a variable named this too, and this confuses the Linux
 dynamic loader since we're not using -fvisibility=hidden.

 Fixes Bugzilla #3944.
2009-09-15 01:44:58 +00:00
Ryan C. Gordon
8d0f212521 When dropping bots, don't move to CS_ZOMBIE. Go straight to CS_FREE.
They aren't a real network connection, so you don't want to waste time before
 opening the slot for humans.

  Fixes Bugzilla #4243.
2009-09-15 01:11:09 +00:00
Ryan C. Gordon
842f27818b Fix SGI systems choosing an inefficient 36-bit color visual.
Now they'll choose 16 or 32 bit correctly with this magic.

  Fixes Bugzilla #4245.
2009-09-15 01:01:07 +00:00
Ryan C. Gordon
d47be89f0a Removed broken music fading code from snd_dma.
Fixes Bugzilla #3757.
2009-09-15 00:53:02 +00:00
Ryan C. Gordon
5079343ecd Fixed infinite recursion of writing crashlog because we're out of file handles.
Fixes Bugzilla #3772.
2009-09-15 00:19:22 +00:00
Ryan C. Gordon
76b7468a9d Don't allow negative arguments to the "wait" console command. 2009-09-14 23:56:09 +00:00
Ryan C. Gordon
94657a2a2a Make q3asm's CodeError print to stderr.
Fixes Bugzilla #3845.
2009-09-14 23:51:35 +00:00
Ryan C. Gordon
cf1bb85183 Make newly-created prefpath permissions more sane. 2009-09-14 23:46:44 +00:00
Ryan C. Gordon
a5980d56d9 Create "~/Library/Application Support" on Mac OS X if it doesn't exist.
Apparently this can happen on freshly-installed Xserves? Also, a moron user
 could have dragged it to the trash anyhow.

  Fixes Bugzilla #4052.
2009-09-14 23:45:00 +00:00
Ryan C. Gordon
df13db2b64 Fixed triggering Com_Error() when kicking a large number of bots at once.
Fixes Bugzilla #3418.
2009-09-14 23:12:54 +00:00
Ryan C. Gordon
ce544b23e6 Try to catch some NaNs that are almost certainly a compiler optimization bug.
Fixes Bugzilla #2998.
2009-09-14 23:01:49 +00:00
Ryan C. Gordon
b096ca1d04 Allow optional window resizing.
Fixes Bugzilla #2844.
2009-09-14 22:07:34 +00:00
Ryan C. Gordon
8bb2f9a5f5 Threw in a hack to fix rendering of credits menu in widescreen.
Fixes Bugzilla #2744.
2009-09-14 21:08:08 +00:00
Ryan C. Gordon
4e447c9a77 Fixed compiler warnings on gcc 4.3.3 (and probably others). 2009-09-14 19:51:37 +00:00
Ryan C. Gordon
82d437ee4f Fixed uninitialized variable. 2009-09-14 19:31:42 +00:00
Ryan C. Gordon
569edcb04e Minor reworking to check command line cvars before Com_InitZoneMemory().
This lets you set com_zoneMegs from the command line (although still not
 from a config file, but oh well).

  Fixes Bugzilla #2571.
2009-09-14 19:28:59 +00:00
Ryan C. Gordon
a903a2f03e Fixed use of alloca() in libspeex on Solaris, I think.
Fixes Bugzilla #3938.
2009-09-14 16:41:48 +00:00
Ryan C. Gordon
2cf2911131 Added s_muteWhenUnfocused cvar (thanks, Chris!).
Fixes Bugzilla #3768.
2009-09-14 16:25:29 +00:00
Ryan C. Gordon
af303a4813 SetTeam fix from Martin Doucha.
"Actually, client->ps.clientNum is unsafe. We had a little hunt for this some
time ago in Tremulous last year (it caused kick failures, annoying popup
windows and other nasty bugs). The problem is that a following spectator gets
full copy of client->ps of the followed player including clientNum. If you then
try to use this "shared" clientNum, you might affect someone else than you
wanted.

r1019 changes are safe as long as bots don't spectate players. However, a brief
grep on current code has revealed unsafe client->ps.clientNum usage in
SetTeam(). If a following spectator uses team command when forced balance is
on, it'll count teams incorrectly and send the error message to the followed
player instead. Here's the fix."

  Fixes Bugzilla #2986.
2009-09-14 15:45:52 +00:00
Tim Angus
64a0a078d2 * Fix warning in cl_main.c
* Fix bug #4026 (SDL dx backend doesn't work on some machines)
2009-09-14 12:34:31 +00:00
Ryan C. Gordon
2bd4c89203 Better handling of "voip" console command.
Prints usage info and current gain values, and catches a case where we
 report an error where no error exists.

  Fixes Bugzilla #4018.
2009-09-14 01:37:59 +00:00
Tim Angus
de8364102d * Fix typo in cl_avi.c (Ben Millwood/bubu^) 2009-09-08 21:47:18 +00:00
Zachary Slater
d34e91ef68 More 3966 business:
http://bugzilla.icculus.org/show_bug.cgi?id=3966
I'm hopeful that the server browser will surrender.
2009-07-07 22:13:06 +00:00
Zachary Slater
20c374e87b Fix for bad ping times, see bug 3966 but note that this patch is different, got a fresh one from
Amanieu in irc.
2009-07-04 19:43:13 +00:00