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
Thilo Schulz
fbfc886b22
Fix crash when recording to files and the map changes. Was caused by new, correct, behaviour of
...
FS_Restart() which would close the files before they'd be closed by the client.
2006-08-28 00:44:59 +00:00
Thilo Schulz
57dbc7a79f
- Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack introduced in rev. 832
...
- intro now plays correctly before looping sound.
2006-08-27 15:31:03 +00:00
Tony J. White =
1f8c2c56eb
* moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated server
...
builds when svn version cannot be detected
2006-08-26 06:12:15 +00:00
Thilo Schulz
fb18a4b2e4
- compensate sv_fps for timescale value.
...
- Add a non-dirty-hack fix for client hanging when unpausing a game.
2006-08-26 01:45:27 +00:00
Tony J. White =
0df6305274
* Add SVN version to the version string displayed in the client console
...
if it can be detected
2006-08-22 16:13:51 +00:00
Thilo Schulz
467917233a
- Change available device list to be displayed on sound initialization and
...
use line feeds as separators.
2006-08-19 22:17:04 +00:00
Tim Angus
4c8c2e5597
* Compiler warning fix
2006-08-19 14:40:24 +00:00
Thilo Schulz
b2b17e334e
- tweak enumeration support, remove win32 dependency
...
- fix two typos in status message in snd_main.c
2006-08-19 13:44:10 +00:00
Thilo Schulz
87a3858f9a
- Add device enumeration support on windows and make "Generic Software" new default device as that one seems to work more reliably on many platforms.
...
- Add shfolder.lib library to dependencies in MSVC project files
- update documentation for OpenAL changes.
2006-08-19 11:02:20 +00:00
Tim Angus
e41d081710
* qvm files no longer installed by "make copyfiles"
...
* Loopback clients only get snapshots at the server frame rate now
(Anonymous <nkylqinhvgcbyl@mailinator.com>)
* JPEG chroma subsampling disabled if the quality value is >= 85
(Anonymous <nkylqinhvgcbyl@mailinator.com>)
* cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting
will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>)
2006-08-13 17:09:05 +00:00
Tony J. White =
0bffb8a8cd
bug 2747
...
* it turns out Apple's OpenAL only allows for 64 alSource's by default
http://opensource.creative.com/pipermail/openal/2005-October/008893.html
This was the main cause of the Mac OS X OpenAL probem since we were using
128 as MAX_SRC
2006-08-03 03:15:24 +00:00
Tony J. White =
0141a4b4b0
bug 2747
...
* open music stream in S_AL_StartBackgroundTrack() instead of relying
on S_AL_MusicProcess() to open it. This allows S_AL_MusicProcess() to
return early when called whenever there is no open music stream to prevent
a segfault.
2006-08-03 02:29:47 +00:00
Tony J. White =
9a6fad9cf1
bug 2723
...
* adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary
* fixes Mac OS X x86 VM crashes (-mstackrealign)
* adds current working directory to the search path on Mac OS X to make
working with .app bundles easier
* various tweaks to make ioquake3 build against the 10.2 SDK
* changed default OpenAL .dylib location to the path of the one included with
the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN)
* updated to a Universal libSDL-1.2.0.dylib
2006-08-02 04:01:36 +00:00
Thilo Schulz
5efd7c8c36
Another patch to make uncompressed AVI write in RGB24 format by anonymous virtualdub sympathiser.
2006-07-31 15:32:59 +00:00
Thilo Schulz
3a1c4aa457
Fix from the VirtualDub people which should make avi files created with the video command playable with numerous windows players.
2006-07-31 13:05:15 +00:00
Thilo Schulz
3afbcc9854
Changed the demofile slot finder to use FS_FileExists instead of FS_ReadFile to find a free filename.
2006-07-30 14:42:15 +00:00
Thilo Schulz
9fd1a47819
Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written.
2006-07-30 14:11:51 +00:00
Ludwig Nussel
a24ffc0dd5
- print warning if server tries to set cvars it shouldn't set
...
- make warnings yellow
2006-07-05 20:30:53 +00:00
Thilo Schulz
7d51d75b05
- Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htm
...
- Add myself to maintainer list :)
2006-07-03 21:37:50 +00:00
Tim Angus
d42b87ae87
* OpenAL bug fix (from Josh Weisskopf)
2006-06-17 21:01:57 +00:00
Thilo Schulz
813a6ecdc3
- Fix bug that allows a malicious server to write and overwrite any files in the quake3 directory.
...
Reported by Luigi Auriemma.
- Moved directory traversal check to a more proper location.
- Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances.
2006-06-16 20:38:08 +00:00
Thilo Schulz
99abd01c2f
Fix remotely exploitable parse download overflow reported by Luigi Auriemma.
...
See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html
for the advisory.
2006-06-04 13:45:53 +00:00
Thilo Schulz
9af85d9378
Forgot to check for windows-style path seperator in precaution against directory traversal abuse.
2006-06-01 00:23:46 +00:00
Thilo Schulz
503c0a22c6
Partially applied patch from Joerg Dietrich. Fixes:
...
- incorrect handling of file names when opening sound files by name without extension
- byte endian issues in ogg decoder.
2006-06-01 00:14:56 +00:00
Thilo Schulz
856a397e8c
Prevent servers from making clients download files that are written to non-quake3 directories.
2006-05-28 14:36:37 +00:00
Thilo Schulz
27df5fca31
Corrected #include directives of openal headers for MSVC.
2006-05-13 12:18:43 +00:00
Thilo Schulz
d21411452e
Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here:
...
http://milw0rm.com/exploits/1750
2006-05-06 01:56:24 +00:00
Thilo Schulz
2675960c2c
removed a space too much after "say_team: " chat prompt.
2006-05-04 15:37:08 +00:00
Thilo Schulz
1847c321f0
- Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
...
- Added newline to final message sent to clients.
- Added check for whether client is running at all before CL_Shutdown runs through.
2006-05-04 13:59:58 +00:00
Thilo Schulz
235e2c215f
- Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
...
- Applied md5 64-bit safety patch by Tony White.
2006-04-27 13:39:41 +00:00
Thilo Schulz
c116695ea7
- "baseq3" literal replacement patch (by Erik Auerswald) applied
...
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
2006-04-26 13:36:58 +00:00
Tim Angus
8aecee5158
* cl_guid for semi-reliable server authentication (from tjw)
2006-04-22 22:21:56 +00:00
Tim Angus
2b75754cdb
* Removed strange MacOS X #ifdeffery from cl_cin.c (from tjw)
2006-04-14 20:11:42 +00:00
Tim Angus
d72fd2e6e7
* Video export doesn't crap out with sv_pure 1 anymore
...
* Video export doesn't crap out when writing > 2Gb files anymore
2006-03-15 22:41:38 +00:00
Tim Angus
4ec0c94828
* Displace the '\n's passed to SV_Shutdown
2006-02-28 23:01:23 +00:00
Tim Angus
ef4dad1875
* Entity sounds on the player entity are now AL_SOURCE_RELATIVE
...
* Thus no need to s_alSpatEntOrigin anymore
2006-02-28 21:52:25 +00:00
Tim Angus
40a5ee007f
* Sound related bug fixes from Thilo Schulz
2006-02-26 18:47:39 +00:00
Tim Angus
0e0aac2cb6
* Change the default for s_alSpatEntOrigin. I need to think of a way to do the
...
same thing without degrading the sound quality or changing the API.
2006-02-23 20:43:34 +00:00
Tim Angus
cb1a097db7
* Fix to half of bug #2600 (Refuse to load RIFF files with less than 8 bits per
...
sample)
2006-02-21 22:29:29 +00:00
Tim Angus
659ded3a41
* Fix to bug #2599 (fullscreen cinematics)
2006-02-21 21:29:26 +00:00
Ludwig Nussel
4c242115dc
- change long to intptr_t for 64bit windows compatability
...
- change vmMain arguments back to int. 64bit types are apparently not
needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Tim Angus
26b4ed2f7d
* Fix to a woopsie
2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c
* OpenAL now respatializes using the player entity origin instead of the view
...
origin by default. The old behaviour is available by setting
s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
ef19ccd56f
* Removed (unintentional) C99 code
2006-02-07 18:36:17 +00:00
Maik
602743a25b
* workaround for msvc compiler bug.
2006-02-07 12:26:53 +00:00
Tim Angus
2e19bdfb5d
* Reimplement console history recall "bug" behaviour without the bug
2006-02-04 00:28:57 +00:00
Tim Angus
91b2b9297a
* Fix to an obo bug in the console history recall code
2006-01-28 23:26:23 +00:00
Tim Angus
947ebb932e
* SDL build no longer requires a vid_restart when changing r_fullscreen
2006-01-25 17:57:53 +00:00
Tim Angus
8a6be4aef4
* Persistent console history
2006-01-24 04:35:19 +00:00
Tim Angus
704c151eb1
* Fix to an OpenAL "bug" involving Team Arena
2006-01-22 21:09:55 +00:00
Tim Angus
3404fbac56
* Fix the operation of the delete key in *nix
2006-01-22 17:07:21 +00:00
Tim Angus
c3f7915a8b
* Overhaul of console autocompletion
...
- No longer does weird stuff like move the cursor inappropriately
- Autocomplete works with compound commands
- Special autocomplete on some commands e.g. \map, \demo
- Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus
893629fb0f
* Fix to ability to diabled Ogg Vorbis
2006-01-21 15:09:35 +00:00
Tim Angus
58c8175024
* Added Q_isnan for NaN tests with -ffast-math
...
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690
* Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this
2006-01-19 17:25:55 +00:00
Tim Angus
fc8fcd7af5
* Don't try to auto record a demo while playing a demo
2006-01-16 04:00:30 +00:00
Tim Angus
d4bd2fd737
* Change defaults for s_alRolloff and s_alMinDistance
2006-01-15 15:45:12 +00:00
Tim Angus
a166f2173a
* Oops. Rename cl_avidemo to cl_aviFrameRate
2006-01-06 22:28:07 +00:00
Tim Angus
dbf7caec10
* Ogg codec support from Joerg Dietrich <dietrich_joerg@gmx.de> (disabled by
...
default)
2006-01-06 17:36:03 +00:00
Tim Angus
58e7fc0a1a
* Added cl_autoRecordDemo, which when enabled automatically records a new demo
...
on each map change
2006-01-05 00:15:47 +00:00
Tim Angus
0c9d2c365a
* Only display the g_syncClients warning when it's appropriate
2006-01-04 21:48:20 +00:00
Tim Angus
a21eb2bbcb
* AVI video output
...
- Uses motion jpeg codec by default
- Use cl_avidemo to set a framerate
- \video [filename] to start capture
- \stopvideo to stop capture
- Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Tim Angus
6c6396a54f
* Increase default for s_alSources to 96
...
* Source allocation warning on looping sounds demoted to developer only
2005-12-11 21:14:45 +00:00
Ludwig Nussel
81c15bc41d
use memcpy for copying stuff around to fix alignment problems
2005-12-06 23:11:25 +00:00
Tim Angus
9bd6709e10
* Removed seemingly unnecessary OS X implementation of yuv_to_rgb24
2005-12-06 20:52:29 +00:00
Tim Angus
2499d9b0f5
* Solaris patch from Vincent S. Cojot
2005-12-06 19:03:39 +00:00
Tim Angus
1704eecc52
* Replaced ALIGN macro with PAD
...
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Tim Angus
e67d270f2a
* Same as last revision, but I didn't forget to save this time
2005-12-03 16:36:45 +00:00
Tim Angus
5cc1fb1c05
* Improved the robustity^Wrobustosity^Wrobustness of the OpenAL music and raw
...
stream systems
* Implemented S_AL_BufferEvict for more graceful behaviour when OpenAL runs
out of memory
2005-12-03 00:19:27 +00:00
Tim Angus
0f8c177cf3
* Fix to an OpenAL "bug"
2005-12-02 00:14:24 +00:00
Tim Angus
1b314e8934
* Updated AL headers
...
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system
headers if desired
2005-12-01 20:53:28 +00:00
Tim Angus
acb810b972
* Fix compilation when using SDL and dlopening OpenAL
2005-12-01 20:45:01 +00:00
Tim Angus
3161a34a4f
* Fixed bug where if two looping sounds were added to a single entity they
...
would fight for a source and you'd get a horrible distorted sound that was
each of the two sounds interleaved
* Changed the default of s_alPrecache to 1 -- having it off seems to cause
problems for some and it doesn't actually improve things much
* Changed a few of the variable names in snd_openal.c to be more sane
2005-12-01 18:22:42 +00:00
Tim Angus
ae39051f1e
* Support RIFF files with zero length data chunks (yes they exist, and yes,
...
they're legal)
* Colourise the OpenAL warnings so they're somewhat more obvious
2005-11-30 01:57:53 +00:00
Tim Angus
382c6adb54
* Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
...
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon
721b9a7d01
Mac OS X work...lots of little changes that touch a lot of random places.
...
Still work to be done, but this at least matches the PowerPC Linux status
now.
MacOS-specific directory (and XCode project) is gone...this now uses SDL,
OpenAL, and the Unix Makefiles.
--ryan.
2005-11-26 07:46:21 +00:00
Ryan C. Gordon
b20b86bbbe
Don't byteswap when resampling audio...we byteswapped it previously in the
...
codecs.
2005-11-20 15:35:45 +00:00
Ludwig Nussel
108c051345
make internal functions static
2005-11-19 14:53:46 +00:00
Tim Angus
387d8041ce
* Partial implementation of FS_Seek for files in pk3s
...
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus
0163f77f4e
* Oops, missed a bit
2005-11-14 18:35:31 +00:00
Tim Angus
9d7bb06743
* Replace a redundant function in the wav decoder
2005-11-14 18:26:25 +00:00
Tim Angus
668fdc102c
* Unbreak the MinGW build more...
...
* Unbreak USE_OPENAL_DLOPEN=1
2005-11-13 22:16:24 +00:00
Ludwig Nussel
1c2722a9ba
link against libopenal by default rather than dlopening it
2005-11-13 21:01:44 +00:00
Ludwig Nussel
17719e0c61
soname is libopenal.so.0
2005-11-13 21:01:07 +00:00
Tim Angus
84c4f21082
* OpenAL support, from BlackAura aka Stuart Dalton <badcdev@gmail.com>
...
+ An abstract codec system, simplifying support for new formats
+ Changes versus BlackAura's patch:
o Consolidated the OpenAL parts into one file
o Changed the function naming scheme to more closely resemble Q3
o Changed the interface to fall back on the "base" sound system
if loading OpenAL fails
+ This is enabled on Linux and MinGW for now, but should work on the
other *nixs with appropriate additions to the Makefile
+ NOT enabled on OS X or MSVC Windows builds
+ Probably breaks the Windows build again
* Retabulated sdl_snd.c and made the messages less verbose since
there do not seem to be many having problems with SDL sound now
2005-11-13 18:58:14 +00:00
Ludwig Nussel
cc8b03c655
- don't spam the tty with that message
2005-11-06 16:24:49 +00:00
Tim Angus
e4b7a04d5c
* Replaced a bunch of inline and __inline with ID_INLINE
...
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Tim Angus
c41483634c
* General decrufting:
...
* Removed Q3_STATIC and associated defines
* Removed MAC_STATIC
* Replaced __LCC__ with Q3_VM
* Removed bspc and splines directories
2005-10-29 23:13:09 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Tim Angus
3a2ad50406
* Moved various source files from their mod sdk locations to places more
...
appropriate for open source Q3
* This patch looks bigger than it really is, however it will probably break the
VC and OS X builds (easy to fix though)
2005-10-26 19:45:21 +00:00
Tim Angus
20c5bc38cf
* Removed hard coded mouse acceleration in the unix build(s)
...
* Added CVAR_ROM cl_platformSensitivity to normalise the scale
of cl_sensitivity across platforms
2005-10-14 22:58:28 +00:00
Six
ecd73786d5
Fix build problems under OS X
2005-10-11 01:52:29 +00:00
Tim Angus
52dcaa45fd
* A better fix to the "doppler" bug
2005-09-29 22:53:31 +00:00
Tim Angus
24d3c6b2a2
* Fixed the bug where the "doppler" effect code could cause a temporary client lock up
2005-09-29 22:35:05 +00:00
Tim Angus
f0bd20e00a
* Removed the redundant "sound system is muted" message
...
* Moved printing of desired audiospec to before SDL_OpenAudio
* When the computed value for samples is not a power of 2, now pick the smallest power of 2 greater rather than the largest power of 2 smaller
2005-09-24 01:26:51 +00:00
Tim Angus
fe14a45ad1
* Applied ajax's cleanup patch
2005-09-23 17:39:14 +00:00
Tim Angus
2b8395a4d0
* Replaced lots of __linux__ || __FreeBSD__ with __GNUC__
...
* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
2005-09-23 02:59:15 +00:00
Tim Angus
fcaf343d7f
* Port to MinGW
2005-09-22 03:21:33 +00:00
Tim Angus
33a48a0336
* Fix to multiple buffer overflow bugs in CL_Rcon_f
...
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Ludwig Nussel
aa942839ce
apply altivec fixes from Emanuel Steen ( #2383 )
2005-09-17 14:59:28 +00:00
Zachary Slater
f327407bb8
Cleanups from pomac!
2005-09-02 20:13:47 +00:00
Zachary Slater
06c73f5e59
First diff from Andreas Schneider:
...
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ludwig Nussel
88171d6bb7
support for 64bit native mods
2005-08-30 20:30:17 +00:00
Ludwig Nussel
5ae70d54b0
remove svn:executable property
2005-08-28 17:54:51 +00:00
Ludwig Nussel
fd4bbf42d6
remove 64bit warning. For QVM it's ok and native .so is broken anyways
2005-08-28 12:34:17 +00:00
Zachary Slater
916cb54d72
From ludwig: Unsigned overflows don't work in 64bit address space ...
2005-08-27 18:10:36 +00:00
Zachary Slater
f46ede91fb
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
2005-08-27 02:24:00 +00:00
Zachary Slater
59cce31e75
newlines fixed
2005-08-26 17:39:27 +00:00
Zachary Slater
5b755058f5
Itsa me, quake3io!
2005-08-26 04:48:05 +00:00
Travis Bradshaw
dbe4ddb103
The Quake III Arena sources as originally released under the GPL license on August 20, 2005.
2012-01-31 13:41:34 -06:00