summaryrefslogtreecommitdiff
path: root/src/qcommon/common.c
AgeCommit message (Collapse)Author
2013-01-12Removed unused functoin Hunk_Trash.Zack Middleton
2013-01-12Show file/line/label in Com_Error messages when run out of memory in debug ↵Zack Middleton
build.
2013-01-10* Fix various warnings with GCC and clangTim Angus
2013-01-10* clang supportTim Angus
2013-01-10Simulate line buffering and fix the overflow bug in Com_ReadFromPipe(), ↵Zack Middleton
patch from DevHC.
2013-01-10- Fix already defined command warnings for minimize - Fix recursive ↵Thilo Schulz
CL_Shutdown warning and "command already defined" warnings when quitting while playing on a server that changed the gamedir.
2013-01-10Modular rendering system. Patch by use.less01 This might break MSVC builds. ↵Thilo Schulz
I'll take care of it later
2013-01-10- Switch master server protocol to dpmaster for better game separation. ↵Thilo Schulz
Based partly on patch by Zack Middleton - Get rid of ugly cvars sv_heartbeat and cl_gamename and replace with single com_gamename - Remove sv_flatline. Flatlines are ignored by dpmaster and are considered to be insecure because flatlines can be udp-spoofed.
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-10Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions ↵Thilo Schulz
etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2013-01-10Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.cThilo Schulz
2013-01-10Remove one unnecessary loop in the beginningThilo Schulz
2013-01-10- Make sure at least one round of download packets and packet queues gets ↵Thilo Schulz
sent each frame - Fix timeVal select timeout value for case of unlimited data rate and now downloads are active
2013-01-10- Improve snapshot rate and data rate control - Make server send packet ↵Thilo Schulz
fragments and queued packets when server is idle - Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary - Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much - Disable packet scrambling for new protocol as it is useless now - Get rid of the old packet scrambling functions predating latest point release - Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak when client gets disconnected with packets in the queue - Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when client gets disconnected with download blocks in the queue - Fix SV_RateMsec to account for udp/udp6 packet lengths
2013-01-10Forgot to set default rate back to 100kbyte/sThilo Schulz
2013-01-10- Greatly improve UDP downloading speed for clients - Add download rate ↵Thilo Schulz
control cvar sv_dlRate - Don't send snapshots to downloading clients
2013-01-10Add forced VM unloading to Com_Quit_fThilo Schulz
2013-01-10- Automatically reset fs_game to "" if it was supplied by the user and is ↵Thilo Schulz
equal to com_basegame - Fix problem where users could change values of CVAR_INIT variables after the call to Cvar_Get() via Com_StartupVariable() - Move sound shutdown after client shutdown so VMs don't hold invalid sound handles in memory
2013-01-10- align sse control word storage space to 16 byte boundary for snapvector - ↵Thilo Schulz
replace some whitespace with tabs in snapvector.c - Give gcc a bit more freedom in choice of registers
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-10- Fix memory leak in DMA sound after S_Shutdown() - Make codec load use temp ↵Thilo Schulz
hunk memory instead of zone mem - Fix sound issues with direct sound and game_restart (#4526)
2013-01-09Fix #if macros for idx64 and id386Thilo Schulz
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-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-03* Re-add the protocol cvar readonly, so that ui can use itBen Millwood
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Merge ioq3-r1813Tim Angus
2013-01-03* Merge ioq3-r1765Tim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1752Tim Angus
2013-01-03* Indent wrapped chat lines to avoid potential imitation exploitsTim Angus
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Merge ioq3-r1498, by popular demandTim Angus
2013-01-03* Merge ioq3-r1464Tim Angus
* Use WM cursor when running windowed and UI module has input
2013-01-03* Merge ioq3-r1458Tim Angus
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* Merge ioq3-r1272Tim Angus
2013-01-03* Merge ioq3-r1248Tim Angus
2013-01-03* Merge ioq3-r1233Tim Angus
2007-11-03* Merge ioq3-r1204Tim Angus
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-08-24* Merged ioq3-r1133Tim Angus
+ PNG image loader + Non-gas dependent x86_64 VM + Collision optimisations + Slew of other bug fixes
2007-03-21* ioq3-r1052 mergeTim Angus
2007-01-02* Update demo_protocolsTim Angus
2006-11-28* Merge ioq3-989Tim Angus
2006-07-31* Reconnect dialog upon server disconnect (bug #2805 tjw)Tim Angus
2006-06-17* Merged ioq3-r810Tim Angus
2006-05-06* Merged ioq3-r775Tim Angus
- SDL_GammaRamp stuff - Anisotropic texture filtering - q3testesque r_flares - cl_guid - Security fixes