summaryrefslogtreecommitdiff
path: root/src/client/cl_cgame.c
AgeCommit message (Collapse)Author
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.)
2013-05-31remove some unused stuff/dev/humancontroller
2013-02-16Update copyright noticesTim Angus
2013-01-12Change error message in CL_ConfigstringModified to specify out of range ↵Zack Middleton
index like in server.
2013-01-10Allow interpreted VM on pure serversThilo Schulz
2013-01-10Only include libmumblelink.h if USE_MUMBLE is defined, reported by Ensiform.Zack Middleton
2013-01-10Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes ↵Thilo Schulz
unused-but-set gcc warnings
2013-01-10- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's ↵Thilo Schulz
FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71
2013-01-10- Improve game_restart: * differing screen resolutions and network settings ↵Thilo Schulz
are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2013-01-09- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 ↵Thilo Schulz
mode - Clean up ftol()/snapvector() mess - Make use of SSE instructions for ftol()/snapvector() if available - move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions - Set FPU control word at program startup to get consistent behaviour on all platforms
2013-01-09Fix return values for several syscall functions, patch by Zack Middleton (#5018)Thilo Schulz
2013-01-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* Add [trap_R|RE]_SetClipRegion to prevent rendering outside a specified areaTim Angus
* Rewrite CG_DrawTeamSpectators to scroll on a pixel basis rather than a character basis
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Merge ioq3-r1498, by popular demandTim Angus
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* add new CG syscall trap_S_SoundDuration() that returns play timeTony J. White
in msec for a registered sfxHandle
2013-01-03* Merge ioq3-r1272Tim Angus
2007-10-30* (bug 3384) Remove server side armoury refresh and replace with UI sideTim Angus
refresh * Add trap_Key_SetOverstrikeMode and trap_Key_GetOverstrikeMode to cgame * Change Text_[Width|Height] to return floats * Add Text_Em[Width|Height] * Add CG_AlignText to cut down on code duplication * Add itemDef_t::textvalignment for vertical text alignment * Add UI_DrawTextBlock to replace a lot of duplicate code * Rewrite text wrapping code from scratch so that it actually works * Add UI_OwnerDrawText * Add expression evaluator to .menu parser * Split off Border_Paint from Window_Paint * Scale slider items to fit their rect * Rework edit field widgets to behave somewhat more correctly * Fix a few listbox widget layout issues * Don't display scrollbars in "notselectable" listbox widgets * Make scoreboard team labels ownerdrawn * Menu script rework + Use the expression evaluator to replace lots and lots of absolute coords with relative ones, hopefully easing future maintenance + Remove lots and lots of textalign[xy] that were present to work around broken text alignment routines + Replace a bunch of numeric constants with ones from menudef.h + Compose the huds from tremulous_common_hud.h + Generally neaten things up + Lots of whitespace fixes
2007-10-02* Merge of ioq3-r1189Tim Angus
+ 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 * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
2007-09-05* Merge of ioq3-r1163Tim Angus
+ SDL everywhere + New R_LoadImage + net_ip.c + Window icon + GUI based dedicated server support + Compile time linked OpenGL * Remove ui_menuFiles cvar
2007-07-15* Merge of ioq3-r1112Tim Angus
2007-03-21* ioq3-r1052 mergeTim Angus
2006-11-28* Merge ioq3-989Tim Angus
2006-05-16* Removal of bot codeTim Angus
* Refactored botlib parsing code into qcommon
2006-02-24* Merged ioq3-r584Tim Angus
2006-01-18* Added BG_FindUsableForUpgradeTim Angus
* Added BG_UpgradeClassAvailable * Added generalised BG_*IsAllowed functions * Added some binding traps to cgame * Added tutorial mode (cg_tutorial)
2006-01-06* Added traps to query demo stateTim Angus
* Demo state now displayed from cgame * Merged ioq3-r464 - gcc4/-O0 bug fix - zone/hunk megs faffage
2005-12-20* New collision type, for improved light flaresTim Angus
2005-12-11* Added trap_FS_GetFileList to cgame, so it's not longer necessary to hackTim Angus
around it not being there * Removed Q3 console notify code and improved cgame rendered notify area * Sorted out pain blend texture coordinates
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Copied ioq3 src to trunkTim Angus