summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2016-04-09Merge branch 'master' into gppTim Angus
2016-04-07Fix frame_msec possibly being zero in cl_input.c.SmileTheory
This fixes a mouse freezing bug.
2016-04-07Fix some opus_decode issuesZack Middleton
It was able to fail the assert before. I was using opus_decode wrong.
2016-04-07Use Opus for VoIPZack Middleton
Server/client VoIP protocol is handled by adding new cvars cl_voipProtocol and sv_voipProtocol, sv_voip and cl_voip are used to auto set/clear them. All users need to touch are cl/sv_voip as 0 or 1 just like before. Old Speex VoIP packets in demos are skipped. New VoIP packets are skipped in demos if sv_voipProtocol doesn't match cl_voipProtocol. Notable difference between usage of speex and opus codecs, when using Speex client would be sent 80ms at a time. Using Opus, 60ms is sent at a time. This was changed because the Opus codec supports encoding up to 60ms at a time. (Simpler to send only one codec frame in a packet.)
2016-04-07Fix check for empty rconpassword in CL_Rcon_fTim Angus
2016-04-07Now with less infinite recursionTim Angus
2016-04-07Effectively revert c2e146c1Tim Angus
2016-04-07Fix the wonky fix to the wonky va_list usageTim Angus
2016-04-07Fix wonky va_list usageTim Angus
2016-04-07Fix va_list warningPan7
2016-04-07Add missing qcurl handle cleanupPan7
2016-04-07Return the result from qcurl_easy_setopt_warnTim Angus
2016-04-07qcurl_multi_cleanup checkPan7
2016-04-07qcurl_easy_setopt dev warningPan7
2016-04-07qcurl_multi_strerror not curl_multi_strerrorPan7
2016-04-07qcurl_multi_remove_handle checkPan7
2016-04-07Remove logically dead code from CL_GetServerStatusZack Middleton
Found by Coverity.
2016-04-07Fix abs() being used for float in cl_input.cZack Middleton
2016-04-07Make cinematic times be int like CL_ScaledMillisecondsZack Middleton
Cinematic's startTime and lastTime are always set from CL_ScaledMilliseconds which returns int and are converted back and forth to int and unsigned int. This fixes a warning that abs() is used on an unsigned int.
2016-04-07Remove unused function WRITE_1BYTES from cl_avi.cZack Middleton
2016-04-07fix buffer overflow in CL_CheckForResendJeff Kent
2016-04-07qcurl_multi_add_handle error checkPan7
2016-04-07sayto cmd with player name completionPan7
2015-06-08change the serverlist-querying methods to be compatible with the current ↵/dev/humancontroller
deployment of master servers
2015-03-17Fix incorrect strncpy in S_AL_StartBackgroundTrackZack Middleton
Error is loop argument is NULL. Ensure that s_backgroundTrack is a null terminated string.
2015-03-17Ensure that mbstowcs does not overflow its bufferSimon McVittie
Similar to one of the changes by Tim Angus in fd986da: mbstowcs' third argument is the number of wchar_t available in dest, not the number of bytes. This does not appear to be exploitable, because ioquake3 does not actually call mumble_set_identity() or mumble_set_description() anywhere, but it might be relevant to derivatives. Spotted via compiler warnings.
2015-03-17Include stdint.h instead of inttypes.h in libmumblelink.cZack Middleton
MSVC 2010 has stdint.h but not inttypes.h. Debian (GCC, MinGW) and OS X (Clang) can compile using stdint.h.
2015-03-17Add facility to describe cvarsTim Angus
2015-03-17Change default value for s_alDopplerSpeedMAN-AT-ARMS
2015-03-17Fix possible division by zero in S_PaintChannelFrom16_altivecMAN-AT-ARMS
2015-03-17Fix client warningsTim Angus
2015-03-17Use ColorIndexForNumber in Con_DrawSolidConsoleZack Middleton
2015-03-17SDL 2 scroll/caps/num lock keys send KEYUP event when key is releasedZack Middleton
2015-03-17Don't scale cinematic time by timescale twiceZack Middleton
Reported by Ensiform.
2014-08-28Fix incorrect strncat usage in CL_ServerInfoPacketZack Middleton
2014-08-28Restore drawing a cut off client console line in 1920x1080Zack Middleton
The text lines don't meet at top of the sceen in 1920x1080, restore drawing a cut off line across the top. In 640x480 this line isn't seen at all. This is still better then trying to draw twice as many lines than are actually seen (the way it was before the last commit).
2014-08-28Don't draw client console buffer past top of screenZack Middleton
Thanks @Pan7.
2014-08-28Readd backspace char event for UI VM text fieldsZack Middleton
UI VMs expect a backspace char event, but sdl2 branch only was only sending a key event. Revert cl_keys.c to master branch (it would cause backspace to happen twice in console).
2014-08-28Use SDL 2 instead of SDL 1.2Tim Angus
2014-06-17Various adjustments so it compilesTim Angus
2014-06-17Revert "DMA 44100Hz needs more memory for sound buffers"Zack Middleton
This reverts commit 0e6632f464c08dcb76f26a52f33d97228e64fda1. Cause crashes if com_soundMegs is 32.
2014-06-17Bunch of comment fixesTequila
2014-06-17DMA 44100Hz needs more memory for sound buffersZack Middleton
It doubles the size of the data compared to the default (22050), so increase the buffer automatically. Likewise, decreasing speed doesn't need as much (though that doesn't really matter).
2014-06-17Don't mix sfx with NULL soundDataZack Middleton
Caused a crash. Already done for looping sounds.
2014-06-17Fix s_alDopplerSpeed default valueMAN-AT-ARMS
2014-06-17Remove references to alDopplerVelocityZack Middleton
Let's load driver even if it doesn't have the deprecated alDopplerVelocity.
2014-06-17Replace deprecated alDopplerVelocity with alSpeedOfSound per OpenAL 1.1 specMAN-AT-ARMS
2014-06-17Clear referenced paks when disconnectingZack Middleton
After playing Team Arena, if you switch to Q3A and try to play a demo with cl_allowDownload enabled it would print "Need Paks: blah blah" and not play the demo.
2014-06-17Upgrade from libcurl 7.15.5 (2006-08-07) to 7.35.0 (2014-01-29)hairball
Note: This uses the generic curlbuild.h because it is used by multiple platforms. A system curl would have a configure generated one. The libraries for win32 and win64 were cross compiled with these options: --disable-shared --enable-static --disable-ares --enable-http \ --enable-ftp --disable-ldap --disable-ldaps --disable-rtsp \ --disable-dict --disable-file --disable-telnet --disable-tftp \ --disable-pop3 --disable-imap --disable-smtp --disable-gopher \ --enable-ipv6 --without-ssl \ --disable-manual --disable-libcurl-option This effectively enables only HTTP and FTP protocol support.
2014-06-17Try default OpenAL driver if user set one fails to loadZack Middleton