summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
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
2014-06-17don't clear screen during CA_LOADING and CA_PRIMEDAnthony Pesch
2014-06-17Remove unused code path from S_Base_StartBackgroundTrackZack Middleton
We make sure intro isn't NULL. Then if loop is NULL, set it to intro.
2014-06-17Don't read clc.voipIncomingSequence until range checked senderZack Middleton
2014-06-17Fix demoName Com_sprintf size larger than bufferZack Middleton
Maybe this is why demoName is a static global with the comment 'compiler bug workaround'?
2014-06-17Fix music studder in base sound when starting silent cinematicsZack Middleton
2014-06-17Fix playback of stereo sounds in Base sound systemZack Middleton
Already works correctly in OpenAL.
2014-06-17Fix crash in OpenAL when no input devices are availableAmanieu d'Antras
2014-06-17Support spatialized raw streams in base sound, e.g. for VoIPZack Middleton
2014-06-17Fix signal 6 in S_Base_StartBackgroundTrack on OS X 10.9Zack Middleton
In S_UpdateBackgroundTrack, s_backgroundLoop was passed to S_Base_StartBackgroundTrack and tried to copy to itself using Q_strncpyz.
2014-06-17Remove unused cvar_t variable cl_trnEnsiform
2014-06-17Fix cinematics often being silent on OS XZack Middleton
If OpenAL source isn't playing, often what happens is: queued buffers is 0 and processed buffers is non-0. S_AL_StreamUpdate won't play the steam if queued buffers 0. So start the stream in S_AL_RawSamples.
2014-06-17Fix restoring loop sound position on OS XZack Middleton
The default OpenAL library on OS X errors AL_INVALID_VALUE for AL_SEC_OFFSET if source isn't playing.
2014-06-17Make OpenAL buffer management work on OS XZack Middleton
Don't assume we have unlimited OpenAL buffers. Detach buffers from sources by setting AL_BUFFER to 0. Cannot delete buffers on OS X immediately after alSourceUnqueueBuffers. Free unprocessed stream and music buffers. Free unused sfx buffers when sound file exists and fails loading into OpenAL (though I haven't seen it fail).
2014-06-17Support FS_SEEK_END and negative offset for zipped files in FS_SeekZack Middleton
Use FS_SEEK_END in sound code instead of working around it. If FS_SEEK_SET and going to current position, just return.
2014-06-17Fix video recording sync drift (patch refactored but original author unknown)Tim Angus
2014-06-17Clear more variables in CL_InitServerInfoZack Middleton
Have cls.localServers use CL_InitServerInfo. Don't set cls.localServers netType to from.type, it's the wrong value. Note: server->visible is not cleared in CL_InitServerInfo, as stated by a comment below a place where CL_InitServerInfo is used.
2014-06-17Drop sounds starting with * before allocating sfx slotZack Middleton
Causes handle 0 to be returned by S_RegisterSound.
2014-06-17Fix "bind <key>" message for unbound keysZack Middleton
"bind X cmd; unbind X; bind X" now says '"x" is unbound' instead of '"x" = ""'
2014-06-17Fix OpenAL music stop issues using stream stop codeZack Middleton
S_AL_StopBackgroundTrack would sometimes generate AL errors. S_AL_MusicSourceFree needs to kill source or next track may have short looping buffer.
2014-06-17Fix bind commands getting run when closing UIZack Middleton
Introduced in commit "Add togglemenu command" bf2b04. Don't let UI key event changing key catcher affect bind parsing. Bind parsing itself will never change the key catcher. Example of issue: if mouse1 is bound to +attack when clicking Resume Game, player will shoot until releasing the mouse button. Mouse button should have to be released and pressed again before player will shoot.
2014-06-17(bug #5984) Unload renderer libZack Middleton
2014-06-17Allow adjusting VoIP gain and mute during demo playbackZack Middleton
2013-05-31drop some useless return statements/dev/humancontroller
2013-05-31reduce the amount of compiler warnings for variable shadowing/dev/humancontroller
2013-05-31when using the condump command, do not say "dumped console text" ↵/dev/humancontroller
prematurely, before trying to open the file
2013-05-31remove some unused stuff/dev/humancontroller
2013-05-31dlopen libopenal.so not libopenal.so.1 on OpenBSDJonathan Gray
2013-05-03Don't allow modifying qvms or pk3sZack Middleton
Exception for allowing pk3s to be downloaded.
2013-03-27Fix some of the things clang --analyze flaggedTim Angus
2013-03-19Fix displaying demo name when loading demoZack Middleton