Commit graph

191 commits

Author SHA1 Message Date
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