Commit graph

981 commits

Author SHA1 Message Date
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
Zachary Slater
89e0e9d892 Reverting. 2008-07-06 17:16:14 +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
Zachary Slater
963aa3e40f Theoretical higher chance of working. 2008-07-06 04:23:13 +00:00
Zachary Slater
3c13c61fa4 It's either the Wu-Tang Symbol or the tango quake3 logo, someone please
test this on Linux.
2008-07-06 03:04:55 +00:00
Zachary Slater
e073c70fd6 Quake 3 Tango-Style icon, suitable for scaling low. Thanks to jayschwa@gmail.com for
this version.
2008-07-06 02:23:06 +00:00
Tim Angus
6b572920a9 * Remove silly range check on sv_voip during initialisation
* Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check
2008-07-06 01:35:01 +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
Tim Angus
7fe9a02d91 * In the dedicated binary, prevent setting dedicated cvar to 0 2008-07-06 01:00:00 +00:00
Tim Angus
49413057ee * Change dedicated cvar to CVAR_LATCH on the dedicated server 2008-07-06 00:31:52 +00:00
Tim Angus
c7225dc0ae * Fix to speex compile warning 2008-07-06 00:28:42 +00:00
Tim Angus
2c0861c1ce * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
<TylerSchwend@gmail.com>)
* (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>)
* (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>)
* (bug 3669) Some files left out of Solaris Packages (Vincent Cojot
  <vincent@cojot.name>)
* (bug 3680) server quit messages (Ben Millwood)
* (bug 3682) Maps with >1024 models cause a segfault (misantropia
  <bnoordhuis@gmail.com>)
* (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers
  (misantropia <bnoordhuis@gmail.com>)
* (bug 3688) q3asm potential segfault fix and other changes (TsT
  <tst2006@gmail.com>)
* (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT
  <tst2006@gmail.com>)
* (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not
   working (Matthias <Kapffer@macbay.de>)
* (bug 3698) #error reported as warning in q3cpp (and no #warning support)
  (Ben Millwood)
* (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller
  <devhc97@gmail.com>)
2008-07-05 23:50:38 +00:00
Tim Angus
956ce9bf12 * (bug 3692) Makefile infinitely recurses if no targets are defined 2008-07-05 22:34:23 +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
Zachary Slater
894a22ec84 This is moved as well. 2008-06-30 03:38:19 +00:00
Zachary Slater
689d430424 Remove TODO, point to the internet so I don't waste ci's. 2008-06-30 03:30:11 +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
Ludwig Nussel
51978317d8 remove trailing whitespace 2008-06-25 07:59:57 +00:00
Ludwig Nussel
1312060d55 nsis: add openal-soft 2008-06-25 07:59:53 +00:00
Ludwig Nussel
2e803017c4 add voip-readme.txt to installers 2008-06-25 07:59:50 +00:00
Ryan C. Gordon
6dca7ed917 Added initial pile of VoIP documentation. 2008-06-25 07:03:14 +00:00
Zachary Slater
3856dea112 minor spelling fix. 2008-06-25 06:20:23 +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
3958f1099e Added ioq3-specific credits screen. 2008-06-25 05:50:15 +00:00
Ludwig Nussel
21a208cb82 pass the correct size to Q_vsnprintf (Ian Lindsay) 2008-06-20 07:08:42 +00:00
Ludwig Nussel
5513fa3d75 fix the build on openbsd (Ian Lindsay) 2008-06-20 07:08:40 +00:00
Zachary Slater
4713fa4f79 Thanks to Lakitu7 for pointing this out. 2008-06-17 04:44:36 +00:00
Ryan C. Gordon
c923872ca2 Added GL_EXT_texture_compression_s3tc support.
GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath
 is the common, vendor-neutral extension to get the same results.
2008-06-13 02:28:51 +00:00
Ludwig Nussel
a98fed9ee2 bind ipv6 sockets first
by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and
:: to the same port.
2008-06-12 18:32:33 +00:00
Ludwig Nussel
b060eae562 show numeric address the server binds to 2008-06-12 18:32:29 +00:00
Ryan C. Gordon
3ad65755f3 Whoops, maybe this is the right header location... 2008-06-09 00:07:14 +00:00
Ryan C. Gordon
a665d822d8 Added #include to fix compiler warning on Mac OS X. 2008-06-09 00:04:45 +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