Commit graph

296 commits

Author SHA1 Message Date
Thilo Schulz
48b03a035b Ok, getifaddrs() is not POSIX compliant. Fix #3984 as suggested by Vincent Cojot 2011-02-07 05:20:31 +00:00
Thilo Schulz
44fb8f49b6 Fix adding multiple entries for same server when using globalservers several times, patch by Tequila 2011-02-06 17:59:23 +00:00
Tim Angus
c61ad8a074 * Fix fp literals 2011-02-04 17:22:42 +00:00
Thilo Schulz
31d99e2c4e Fix division by zero, reported by Simon McVittie 2011-02-04 17:16:53 +00:00
Thilo Schulz
67a8b273c2 - Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server 2011-02-04 13:25:51 +00:00
Thilo Schulz
3148416c04 - Change runtime standalone detection:
* com_standalone now read-only
  * add new cvars com_basegame, com_homepath
  * standalone now automatically detected when com_basegame is set to something different than baseq3 and no id pak pk3s are found
  * This fixes https://bugzilla.icculus.org/show_bug.cgi?id=4699
- Replace a few hardcoded string literals with macros
- Add checks for Team Arena PK3s to FS_CheckPak0()
2011-02-04 12:04:56 +00:00
Thilo Schulz
cd3e202fca - Add parameter checking to CL_*Ping* functions.
- Remove unused CL_UpdateServerInfo function
2011-01-27 17:07:07 +00:00
Zachary Slater
e2e8b566e7 Sony NGP Support.
Alan Cox provided these patch notes:
Guvf vf npghnyyl n cngpu gb eryvrir hapbzsbegnoyr btt/ibeovf pbafgreangvbanoyr pbzcvyr-gvzr jneavatf sebz /qri/uhznapbagebyyre

Gunaxf 2 lbh.
2011-01-27 07:30:21 +00:00
Zachary Slater
275d3b45b5 Patch from /dev/humancontroller (thx) 2011-01-27 07:00:35 +00:00
Thilo Schulz
5c0ae99642 Make number of supported master servers tunable via define 2011-01-25 02:04:25 +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
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
Ludwig Nussel
34d616dbef enable (dummy) cdkey calls in standalone mode to prevents mods from crashing 2010-02-28 08:58:03 +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
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
3b63c54a24 * Fix demo playback being broken, not entirely sure by what or when 2009-11-11 10:51:33 +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
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
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
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
Thilo Schulz
0bdf52e2fb Show color codes in full length, patch by Amanieu (#4318) 2009-10-25 19:51:32 +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
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
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
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
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
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
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
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
d47be89f0a Removed broken music fading code from snd_dma.
Fixes Bugzilla #3757.
2009-09-15 00:53:02 +00:00
Ryan C. Gordon
2cf2911131 Added s_muteWhenUnfocused cvar (thanks, Chris!).
Fixes Bugzilla #3768.
2009-09-14 16:25:29 +00:00