Ludwig Nussel
246b496693
include alext.h for ALC_ALL_DEVICES_SPECIFIER
...
This assumes OpenAL Soft (Simon McVittie, bug 4927)
2011-03-13 15:46:27 +00:00
Thilo Schulz
bce3848523
Make buffers for device lists a bit longer. Just in case.
2011-03-11 13:53:22 +00:00
Thilo Schulz
a3def2744f
- Fix a compiler warning
...
- Fix the detection of the enumeration extensions
- Fix default device for s_alInputDevice
- Adjust formatting of S_AL_Info output
2011-03-09 23:34:15 +00:00
Thilo Schulz
7ca1dc6f8b
- I accidentally committed patch by slacker from ( #4915 ) in r1916. Patch adds input device selection support
...
- Add check for ALC_ENUMERATE_ALL_EXT before using ALC_ALL_DEVICES_SPECIFIER in device enumeration
- Patch readme for new cvars by Zack Middleton
2011-03-09 12:59:25 +00:00
Thilo Schulz
8c3f320504
( #3767 ) Some protection from malicious qvms - patches and ideas by Amanieu d'Antras and Ben Millwood
2011-03-08 01:39:34 +00:00
Thilo Schulz
0a6f873999
Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo ( #4702 )
2011-03-07 23:12:16 +00:00
Thilo Schulz
c0cca7a0a8
- Fix potential out-of-bounds read in files.c, fix by using new FS_IsExt
...
- Add capability to load demos with com_protocol suffix, partially applied patches from Simon McVittie
- Fix demo loading if protocol number has more digits than 2
- Minor refactoring, replace all occurances of suffix "dm_" with global macro DEMOEXT
2011-03-07 22:08:48 +00:00
Thilo Schulz
0387b8002e
Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself
2011-03-05 19:10:23 +00:00
Thilo Schulz
b764150a97
( #4291 ) Redundant statement in client console, by Zack Middleton
2011-03-04 20:29:24 +00:00
Thilo Schulz
6516be2fed
Support non-256x256 videos in shaders, by Zack Middleton ( #4745 )
2011-02-11 14:46:34 +00:00
Thilo Schulz
8bb9a261bd
Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton ( #4794 )
2011-02-11 14:30:55 +00:00
Thilo Schulz
614f315ce8
Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton
2011-02-10 19:58:20 +00:00
Thilo Schulz
a56e448850
Add minimize command ( #4531 )
2011-02-10 19:21:13 +00:00
Thilo Schulz
3b40467599
Finally fix missionpack compiling for STANDALONE=1, yes, this is tested.
2011-02-09 00:42:54 +00:00
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
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
Thilo Schulz
02195ea8bd
Make client send a random challenge number in getchallenge requests
2009-06-01 05:29:28 +00:00
Thilo Schulz
4e8a181073
I'll retain the new way seeding the random number generator.. these calls are therefore redundant
2009-05-31 20:30:37 +00:00
Thilo Schulz
e4d0c14f70
Revert changes of rand() to random() as random() was redefined in quake3.
2009-05-31 20:24:10 +00:00
Thilo Schulz
b40f1507ea
- Introduce seeding of the random number generator at startup
...
- Replaced all engine-side occurances of rand() with random()
2009-05-31 19:48:28 +00:00
Thilo Schulz
1f779efbb8
Minor fix for server infostring. Thanks to slacker
2009-05-22 00:34:37 +00:00
Ludwig Nussel
b35c63f37a
don't modify s_alDevice and add fallback to let openAL choose the device
2009-05-08 09:13:06 +00:00
Ludwig Nussel
de19303320
mark s_alDriver CVAR_LATCH
2009-05-08 09:13:03 +00:00
Tim Angus
53adde9fb2
* Fix leaking OpenAL buffers (Amanieu)
2009-03-15 12:39:53 +00:00
Tim Angus
72dea0a184
* Fix some new GCC 4.3 warnings
...
* Fix many many strict aliasing warnings, now that it's re-enabled
2008-11-10 23:55:22 +00:00
Ludwig Nussel
7c19978aaa
fix variable declaration ( #3849 )
2008-11-10 09:47:14 +00:00
Ludwig Nussel
c754d6fdfb
fix strict aliasing issues
...
Patch by Przemysław Iskra (#3805 )
2008-11-03 17:03:54 +00:00
Ludwig Nussel
1e02c641bc
move location of version string in console a bit
...
patch by 'devhc97' (#3758 )
2008-11-02 17:39:25 +00:00
Ludwig Nussel
5a3eda3485
specify alDevice instead of NULL when asking for for ALC_EXTENSIONS
...
patch by Ben Millwood (#3777 )
2008-11-02 17:32:25 +00:00
Ludwig Nussel
ce907f32cc
fix return value of CL_cURL_CallbackWrite ( #3804 )
2008-10-24 07:08:52 +00:00
Ludwig Nussel
7d9ba904ec
fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskra
2008-10-24 07:02:35 +00:00
Tim Angus
130c0c6575
* Move command argument completion from being hard coded to being associated
...
with the individual commands to be completed
2008-09-16 21:05:22 +00:00
Tim Angus
47ee177430
* Supply specific identifier to the master server (Mathieu Olivier)
2008-09-15 20:24:04 +00:00
Tim Angus
b2d87c4b2a
* Add Com_HexStrToInt
...
* 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
2008-09-05 23:38:35 +00:00
Thilo Schulz
9dd887b2ea
- Add scope id to ipv6 addresses.
...
- 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.
2008-08-31 19:54:29 +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
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
5b4dc4c743
* Tidy up the keyboard code a bit, add in_keyboardDebug
2008-08-19 21:32:23 +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
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
Ludwig Nussel
2ed334b2be
fix build without VOIP (David Severwright, bug#3720)
2008-07-16 07:15:09 +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
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
Tim Angus
391bb74c44
* Don't start UI when starting client binary with +set dedicated 1
2008-07-06 15:47:15 +00:00
Tim Angus
9d469692f3
* Fix killserver command for client binary based dedicated server
2008-07-06 10:55:19 +00:00
Tim Angus
b601941240
* Fixed client binary dedicated server
...
* Revert 1286 as the checks are no longer redundant following above fix
2008-07-06 01:30:42 +00:00
Ryan C. Gordon
1e21a3e258
VOIP: Added cvar cl_voipCaptureMult to boost gain on recorded bits.
2008-07-05 04:38:16 +00:00
Ryan C. Gordon
fc0ba1a53f
Whitespace cleanup.
2008-06-29 04:05:28 +00:00
Ryan C. Gordon
21d1cd380b
Don't show VoIP meter in all the common scenarios.
2008-06-29 04:04:33 +00:00
Ryan C. Gordon
ee54985383
VoIP: allow targetting last attacker, or the one in your crosshairs.
2008-06-25 05:51:05 +00:00
Ryan C. Gordon
f8d6828f15
VoIP: Added cheapie VoIP meter.
2008-06-25 05:50:44 +00:00
Ryan C. Gordon
a7b854d65f
VoIP: Save own voice when recording a demo.
...
We fake a server packet and write it directly to the demo file at the point
where we'd transmit to the server. This is a little nasty, but it seems to
be the most reasonable solution.
2008-06-08 08:25:25 +00:00
Ryan C. Gordon
28c48a8cf9
VoIP: Don't lose gain for good if using VAD on disconnect.
...
This temporarily disables VAD so the system can clean up recording state.
2008-06-08 08:24:38 +00:00
Ryan C. Gordon
c45fe80ea6
Removed an obsolete FIXME.
2008-06-08 08:23:55 +00:00
Ryan C. Gordon
be9ae48039
VoIP: tweaked VAD code.
...
Also added cl_voipVADThreshold cvar...if the power of a set of Speex frames
doesn't exceed this value, it isn't transmitted.
2008-06-08 07:29:25 +00:00
Ryan C. Gordon
fd239c58a8
VoIP: Enable Automatic Gain Control.
2008-06-08 07:09:45 +00:00
Ryan C. Gordon
d4ee08b985
VoIP: attempt at changing voipPower calc and using it for VAD.
...
The Speex VAD sort of sucks, honestly, or I'm not using it right. Now
trying this algorithm, after denoising:
http://lists.xiph.org/pipermail/speex-dev/2006-March/004269.html
And I'll play around to find the threshold for considering a set of frames
to be "voice" from there.
Also worth noting: we consider the power of the set of frames as a whole, so
you need to sustain power for 0.25 seconds at a time, or it's not "voice."
2008-06-08 07:09:10 +00:00
Ryan C. Gordon
fdfaff64f8
VoIP: changed debug output filenames.
2008-06-07 14:41:21 +00:00
Ryan C. Gordon
fec2cc2f05
VoIP: initial shot at voice activation.
2008-06-07 14:40:59 +00:00
Ryan C. Gordon
8028fc042c
VoIP: Only update from cl_voipSendTarget if sending data.
2008-06-07 14:40:30 +00:00
Ryan C. Gordon
c50799fcf7
VoIP: Initial work on adding Speex preprocessor.
2008-06-07 14:39:49 +00:00
Ryan C. Gordon
26c706df15
VoIP: Don't hardcode Speex sample rate.
2008-06-07 14:38:46 +00:00
Ryan C. Gordon
bab9a00838
VoIP: Fixed per-user gain output.
2008-06-05 15:14:07 +00:00
Ryan C. Gordon
020704d2ff
VoIP: functionality to adjust incoming audio gain, per-user.
2008-06-04 21:50:00 +00:00
Ryan C. Gordon
cc18323a99
VoIP: client can now specify targets for voice transmission.
2008-06-04 21:49:15 +00:00
Ryan C. Gordon
45c18e29b8
VoIP: voip cvar should be 1 by default.
2008-06-03 06:06:17 +00:00
Ryan C. Gordon
8ab3f7af8d
Changed the protocol for VoIP packets to support legacy clients.
...
Previously, a legacy client wouldn't get a VoIP packet, but if they did,
they'd panic and disconnect. Now they ignore them and continue on. This also
gives us the framework to add other features legacy clients can ignore.
Oh, this also has the benefit of allowing us to store incoming VoIP for
playback in recorded demos. They'll play the chatter on VoIP clients, and
be ignored on legacy ones. Huge win.
2008-06-03 02:32:52 +00:00
Ryan C. Gordon
e0ebde0b27
Don't allow client to capture audio if playing back a demo.
2008-06-03 02:28:03 +00:00
Ryan C. Gordon
0403ca2260
More VoIP work: treat voip/sv_voip cvars as protocol version numbers.
2008-06-02 19:52:13 +00:00
Ludwig Nussel
5bdce1d547
fix openal dlopen
2008-06-02 15:54:36 +00:00
Ryan C. Gordon
b5eaa94d03
Changed a few VoIP cvars to be latched.
...
It either doesn't make sense to change these mid-game, or doing so won't work.
2008-06-01 18:10:33 +00:00
Ryan C. Gordon
9b1984647a
Forbid setting voip cvar if network data rate is too low.
...
This prevents "Connection Interrupted" packets as VoIP data is incoming.
2008-06-01 18:08:03 +00:00
Ryan C. Gordon
a948f7cf69
Client shouldn't try to capture audio data if voip cvar is disabled.
2008-06-01 17:43:58 +00:00
Ryan C. Gordon
12326a9eac
Initial patch for in-game VoIP support!
2008-06-01 07:51:23 +00:00
Ludwig Nussel
0ee3960225
mumble link support
...
The coordinate calculation was adopted from Warsow's mumble patch.
2008-05-30 17:19:31 +00:00
Tim Angus
a857487f9b
* Fix a bunch of compile warnings
...
* Only call pkg-config if it exists
* Remove cl_consoleHistory from README
2008-05-10 18:51:02 +00:00
Thilo Schulz
10ed996784
- replace a few constant values with GL macros in tr_cmds.c
...
- tidy up top of tr_types.h a bit, change flags to hex representation
- make ROM cvar enforcing really work
- remove cg_stereoSeparation from cgame as it is obsolete.
- Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled
2008-05-01 14:56:57 +00:00
Thilo Schulz
425c351d1b
- Implement stereo rendering with anaglyph images.
...
- Add r_greyscale for black&white rendering
2008-04-27 17:32:14 +00:00
Thilo Schulz
cebdb640f3
remove commented code
2008-04-12 20:05:33 +00:00
Thilo Schulz
c281b6aca0
Another change to server parsing as a server reporting in from 69.79.84.0/24 with the master server could screw up the server list in ioquake3 clients.
2008-04-12 19:53:16 +00:00
Tim Angus
845de6a960
* Fix some recently introduced warnings
...
* Fix referenced pk3 list including excessive number of spaces
2008-04-12 18:58:06 +00:00
Thilo Schulz
f8d8a1c2f7
- fix a potential file descriptor leak in server side of pak downloading
...
- add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods.
2008-04-12 17:00:18 +00:00
Thilo Schulz
9a8cc99a93
- Revamp in-game server browser: you can now scan for games on multiple master servers, while retaining compatibility with old QVMs.
...
- Make Master server reporting/server queries ipv6 capable.
2008-04-11 18:39:03 +00:00
Thilo Schulz
78a82bcba2
Add com_standalone cvar for at-runtime handling of mods that do not require the original quake3 game data.
2008-04-10 15:37:25 +00:00
Thilo Schulz
b3822d03e2
Include #ifdef to make it easier to create a stand-alone binary.
2008-04-09 23:43:30 +00:00
Thilo Schulz
eb3b59308b
Add Multicast capabilities for LAN server scanning.
2008-04-09 14:37:42 +00:00
Ludwig Nussel
8d1a5f8b32
catch EXEC_NOW on quit to prevent deleting a running vm
2008-04-06 12:59:26 +00:00
Thilo Schulz
5d63a38ad9
Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355 .
2008-04-04 23:22:22 +00:00
Thilo Schulz
1d072dfdb5
These checks are now redundant.
2008-03-27 03:21:32 +00:00
Thilo Schulz
fe1e02e457
A more clean solution to this bug. Stop the renderer when the UI VM is not running, as no commands get issued in that case anyways.
2008-03-27 03:18:32 +00:00
Thilo Schulz
d79a5487bc
Fix flashing connect screen, see https://bugzilla.icculus.org/show_bug.cgi?id=3425 .
2008-03-27 03:00:49 +00:00
Thilo Schulz
9412316883
Make sure fullscreen does not work for in_nograb when manually Alt-Entering, too.
2008-03-26 16:20:21 +00:00
Thilo Schulz
11d9608fca
Remove obsolete code for obfuscation.
2008-03-25 21:59:31 +00:00
Ludwig Nussel
6c5211c0d3
catch Cbuf_ExecuteText(EXEC_NOW,...) from the ui as that would crash the vm
2008-03-24 21:20:49 +00:00
Tim Angus
6a213889dc
* (bug 3567) Fix to error handling in Ogg decoder (Joerg Dietrich)
2008-03-11 21:43:25 +00:00
Tim Angus
b5a220359b
* Ogg codec fix regarding ogg files in pk3s (Tr3b)
2008-03-02 15:28:39 +00:00
Thilo Schulz
dc3d2457e0
Angst and zinx cajoled me into removing trying to load libcurl.so again.
2008-02-17 13:46:34 +00:00
Thilo Schulz
a99634c2d3
Fall back to libcurl.so.4 or libcurl.so.4 if the default symlink does not exist.
2008-02-16 22:57:45 +00:00
Thilo Schulz
1f86aba342
Remove .3 part in default curl library. With it www download is broken on most recent distributions, as there is no libcurl.so.3
2008-02-16 22:23:47 +00:00
Tim Angus
cb06e3e93a
* Fixes to some muppetry in snd_dma.c (arQon)
2008-02-10 21:01:06 +00:00
Tim Angus
59c231c6c6
* (bug 3412) %s expansion security patch (DevHC)
2008-01-22 23:44:10 +00:00
Tim Angus
9cc4e0c976
* Fix to bug in S_FileExtension (Tr3B)
2008-01-19 19:06:25 +00:00
Thilo Schulz
08ee31604a
Remove small redundancy
2007-12-27 11:45:20 +00:00
Thilo Schulz
99c8676383
Revert changes in ioquake3 AL code, fix OpenAL headers.
2007-12-13 23:27:41 +00:00
Thilo Schulz
a9a8022d53
Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX build again.
2007-12-13 13:46:30 +00:00
Thilo Schulz
d075f172df
Fix multiple symbol errors for compilation on MacOSX. Remove unnecessary definitions.
2007-12-13 10:58:43 +00:00
Tim Angus
5bd3ef4190
* Fix poppy captured audio when recording videos
2007-12-01 19:39:03 +00:00
Tim Angus
b62950ca6e
* Fix bug where an extraneous render command can cause a crash when
...
recording video
* Make S_CodecUtilClose NULL the snd_stream_t pointer
* Fix indentation in runtime SDL check code
2007-11-18 01:06:46 +00:00
Ludwig Nussel
f0215128af
make master server used by client configurable (cl_master)
...
patch by Erik Kloppenburg
2007-11-14 19:04:12 +00:00
Tim Angus
25ac1317b1
* Remove work around for a 2 year old OpenAL bug that now actually causes a
...
crash on snd_restart
2007-11-11 22:15:25 +00:00
Tim Angus
aa5e852056
* Unconditionally place a '\' at the start of the command buffer when
...
autocompleting -- you're still all WRONG :p
* Fix bugette where the completee didn't get its case copied from
the completed token
* Add functionality to autocomplete key names
* Don't build client command completion on the dedicated server
2007-10-12 22:34:45 +00:00
Tim Angus
5692e30fa9
* Fix bug that prevented key up events getting to cgame/ui when not in game
...
* Use Key_[GS]etCatcher everywhere to set keycatcher
* Clear all key states when the catcher changes
2007-10-02 14:14:45 +00:00
Tim Angus
7562caa310
* Move the conditional compilation of bg_lib.c from the Makefile to cpp in
...
order to force dependency generation on bg_lib.*
* Make testing USE_ defines more consistent
2007-09-22 20:32:11 +00:00
Tim Angus
da29118ae0
* Don't apply colour escape chars on input fields
2007-09-21 10:35:24 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tim Angus
0b3a077e15
* Merge win_net.c and unix_net.c
...
+ 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
2007-08-28 16:42:13 +00:00
Tim Angus
8b5a40e2ed
* Nuts.
2007-08-23 15:23:43 +00:00
Tim Angus
2ea6b8b512
* (bug 3324) Incorrect use of sizeof (beast <info@dbwatersports.com>)
...
* (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
2007-08-23 15:22:35 +00:00
Tony J. White =
16a200d262
* (bug 3077) allow cURL to follow HTTP redirects (up to 5)
2007-05-22 02:24:10 +00:00
Tony J. White =
b5bf1280c1
* (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if they
...
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
2007-04-05 15:26:15 +00:00
Tim Angus
de364863be
* Silly tab filter breaking things
2007-04-01 13:42:03 +00:00
Tim Angus
fb58d8f123
* Move storage of console history from a cvar to a file in order to alleviate
...
security concerns
2007-04-01 13:38:17 +00:00
Tony J. White =
f9bb47d9af
* (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now defined
...
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()
2007-03-22 22:03:00 +00:00
Thilo Schulz
1de9a065bf
Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved with s_alMaxDistance.
2007-03-17 15:54:37 +00:00
Tony J. White =
2218a4ea67
* (bug 3018) need to call Cvar_SetCheatState() after CG_INIT and UI_INIT to
...
override user-defined cvar values for CVAR_CHEAT cvars that
could be registered in cgame and ui.
2007-03-02 17:32:22 +00:00
Tony J. White =
c6249fcc25
* (bug 3019) use the operating system's random number generator if possible
...
when generating the qkey file
2007-02-16 23:50:37 +00:00
Tony J. White =
d580c54e2d
* (bug 2741) Adds support in the SDL client for many keys that were not
...
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.
2007-02-14 23:29:19 +00:00
Tony J. White =
2cddf1208d
* (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set to
...
non-zero, cl_guid will be unique for each server that the client
connects to
2007-02-12 18:52:15 +00:00
Thilo Schulz
5dc3b35b49
- Fix loads of format string bugs
...
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Ludwig Nussel
4b9df8d9e9
fix wrong use of strncat
2007-01-23 10:39:49 +00:00
Thilo Schulz
c1875302c2
- Fix two non-C-standard variable declarations.
...
- Fix function name of vsnprintf for windows systems.
2007-01-07 16:03:19 +00:00
Ludwig Nussel
8e82c3d605
- tag more functions with gnu format attribute
...
- fix format string bugs. still some left
2006-12-30 12:32:54 +00:00
Ludwig Nussel
91e54c01ed
using the function pointer time() doesn't make any sense. Passing down
...
the variable instead looks like the obvious fix.
2006-12-30 11:17:17 +00:00
Tim Angus
4abd270a67
* Merge 954:955 from 1.34 branch
2006-11-28 14:03:27 +00:00
Thilo Schulz
4502f863d4
There's still a little bug in my recent change...
2006-11-26 11:12:35 +00:00
Thilo Schulz
26cf8f2987
- Add input sanitising to various sound playing functions called from MODs.
...
This fixes https://bugzilla.icculus.org/show_bug.cgi?id=2836
- Make searching through the knownSfx array a bit more efficient.
2006-11-25 13:35:23 +00:00
Thilo Schulz
d23e7a1521
Fix bug in parameter checking. Thanks to Neil Toronto for reporting.
2006-11-23 11:10:30 +00:00
Thilo Schulz
aea7262d86
Only stop demo on map change if it was started by autorecord.
2006-11-03 08:42:21 +00:00
Thilo Schulz
b57a970034
- Explicitly set distance attenuation model.
...
- Mute sounds that exceed a certain distance from the listener.
2006-11-03 08:22:38 +00:00
Thilo Schulz
90208be35a
- Remove "server crashed" message on server shutdown caused by local client disconnect.
...
- Stop demo recording on a new gamestate packet so the demo won't end with a new level load.
2006-10-27 12:49:55 +00:00
Tony J. White =
8b1b3464d7
* (bug 2758) Toggling the console while holding keys can put the cgame/ui
...
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.
2006-10-23 15:18:05 +00:00
Tony J. White =
41add6c01f
* (bug 2893) OpenAL was not tracking one-shot sound effects to the entity's
...
position
2006-10-13 18:58:57 +00:00
Tony J. White =
2af23e813d
* add cURL support for HTTP/FTP downloading (bug 2661)
2006-09-11 16:41:55 +00:00
Ludwig Nussel
cec7660885
looks like ALCchar is not available on older openal versions
2006-09-05 07:05:04 +00:00
Tony J. White =
bc4591b03e
* renamed static function GetClipboardData to CL_GetClipboardData since it was causing compile errors in newer mingw
2006-08-30 15:16:36 +00:00
Tim Angus
9f42be5d6c
* Disable video command when not playing back a demo
2006-08-29 19:30:33 +00:00
Thilo Schulz
01d057967f
Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave as it was originally described.
2006-08-28 01:48:38 +00:00