summaryrefslogtreecommitdiff
path: root/src/client/cl_main.c
AgeCommit message (Collapse)Author
2017-03-09implement part 2 of the multi-protocol functionality: pk3 control/dev/humancontroller
this contains a simple method to control the serving of alternate pk3 files to clients using the alternate-2 protocol (69); there's also a fixup for the VoIP part the new fs_pk3PrefixPairs cvar has the format "P1&A1|P2&A2|...", where, for each i, Pi and Ai are corresponding primary and alternate pk3 filename prefixes, one of which one may be empty (eg. "P1&|&A2|...") to denote no correspondence
2017-03-09implement part 1 of the multi-protocol functionality: protocols/dev/humancontroller
this contains support for connecting via, and serving simultaneously via, any of the three protocols: latest, GPP and 1.1 alternate-1 means protocol 70 (GPP), alternate-2 means protocol 69 (1.1) relevant cvars: - net_alternateProtocols - net_alt{1|2}port[6] - sv_alt{1|2}master{1|...|5} - sv_clAltProto{0|..|63}
2017-03-09do not close the console "from time to time"/dev/humancontroller
alter a bunch of cases where Key_SetCatcher() turns off the KEYCATCH_CONSOLE flag. remove all uses of Con_Close() and the function itself altogether. the console is now only togglable by a console key or with the toggleconsole command.
2017-03-09do not send version information in CURL downloads and MOTD requests/dev/humancontroller
2017-03-09do not request MOTD updates upon connecting (especially to local servers)/dev/humancontroller
2017-03-09stop accessing the hostname, the current username and the ↵/dev/humancontroller
architecture/platform/OS information use "UnnamedPlayer" as the default player name
2017-03-09remove the (generally unsecure) setenv command/dev/humancontroller
2017-03-09when not restarting the filesystem, at least clear the pak references/dev/humancontroller
this appears to fix some cases of unpure client errors TODO: figure out the details of why
2017-03-09fix hanging when the demo file is not found/dev/humancontroller
2017-03-09do not wipe cls.realtime when restarting the client for an fs_game change/dev/humancontroller
otherwise, the client won't send connection/downloading-related packets until the timer reaches clc.lastPacketSentTime again
2017-03-09fix the client's GUID resetting (to the non-serverunique value) upon ↵/dev/humancontroller
switching fs_game (when connecting to a modded server)
2017-02-08add missing trailing '\n's from strings to execute; add double quotes around ↵/dev/humancontroller
substituted argument strings also transform trailing ';'s to '\n's
2017-02-08fix the nullchar-termination in CL_GSRFeaturedLabel()/dev/humancontroller
2017-02-07stop embedding the architecture in the filenames of binaries and libraries; ↵/dev/humancontroller
change the library loader appropriately
2017-02-07silence a bunch of compiler warnings/dev/humancontroller
2017-02-06fix compilation without USE_CURL/dev/humancontroller
2016-04-09Merge branch 'master' into gppTim Angus
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-07Remove logically dead code from CL_GetServerStatusZack Middleton
Found by Coverity.
2016-04-07fix buffer overflow in CL_CheckForResendJeff Kent
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-17Add facility to describe cvarsTim Angus
2014-08-28Fix incorrect strncat usage in CL_ServerInfoPacketZack Middleton
2014-06-17Various adjustments so it compilesTim Angus
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-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-17Remove unused cvar_t variable cl_trnEnsiform
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-17(bug #5984) Unload renderer libZack Middleton
2013-03-19Fix displaying demo name when loading demoZack Middleton
2013-02-16Update copyright noticesTim Angus
2013-01-15Remove a bunch of LEGACY_PROTOCOL blocksTim Angus
2013-01-12Save all arguments from connect for reconnect command. Remove unnecessary ↵Zack Middleton
localhost check from reconnect command.
2013-01-12Fix reconnect command to work after leaving server. (#5794)Zack Middleton
2013-01-12- Allow changing cl_voip without restarting. - Fix assert failing in ↵Zack Middleton
CL_ParseVoip() while flipping cl_voip off and on.
2013-01-12Remove unused function CL_DisconnectPacket. Pointed out by Ensiform.Zack Middleton
2013-01-12Remove anti tamper leftover code 'CL_ChangeReliableCommand'. From Ensiform.Zack Middleton
2013-01-12Fix restoring old fs_game upon leaving a server. Patch by Ensiform.Zack Middleton
2013-01-12Show reason non-default renderer failed to load.Zack Middleton
2013-01-12REFACTOR [a vs an]Zack Middleton
From /dev/humancontroller.
2013-01-12#5485 - Use Sys_LoadDll to search in the local directory for the fallback ↵Zack Middleton
default renderer. Patch by Harley Laue.
2013-01-12Added range checks to j_*_axis cvars.Zack Middleton
2013-01-12Allow analog joystick up axis to be remapped too.Zack Middleton
2013-01-10Require gamename if not supporting legacy protocol.Zack Middleton
2013-01-10- Only need cl_cURLLib cvar if USE_CURL_DLOPEN is defined. - Try to load ↵Zack Middleton
libcurl-4.dll on win32 (it use to be included in the NSIS installer).
2013-01-10Don't do game_restart if game directory changed from "" to "baseq3" or ↵Thilo Schulz
"baseq3" to ""
2013-01-10Fix game restart after curl download finishedThilo Schulz