summaryrefslogtreecommitdiff
path: root/src/qcommon
AgeCommit message (Collapse)Author
2013-01-10Support vm syscalls with up to 15 args using 64 bit compiled vm (like ↵Zack Middleton
interprated vms).
2013-01-10Fix auto game-restart when disconnecting from a server that explicitly set ↵Thilo Schulz
fs_game to "baseq3" instead of ""
2013-01-10Fix warning on MacOSXThilo Schulz
2013-01-10- Add x86_64 platform for MacOSX - Fix compilation on MacOSX gccThilo Schulz
2013-01-10Add hack to allow server the setting of game cvar values that are important ↵Thilo Schulz
for playerstate prediction for legacy gamecode.
2013-01-10Simulate line buffering and fix the overflow bug in Com_ReadFromPipe(), ↵Zack Middleton
patch from DevHC.
2013-01-10Fix compilation on non-x86 platforms, by Simon McVittieThilo Schulz
2013-01-10* Fix some grammar in DLL loading * s/Sys_LoadQVMDll/Sys_LoadGameDll/Tim Angus
2013-01-10Don't do game_restart if game directory changed from "" to "baseq3" or ↵Thilo Schulz
"baseq3" to ""
2013-01-10Fix ARCH_STRING macro for mingw64Thilo Schulz
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-10Fix pak order when reconnecting to a server. When /connect to the same ↵Thilo Schulz
server is issued while already connected, an initial call to CL_Disconnect will remove all pak file references and reset the pak order. Reordering only occurs through FS_Restart, which in turn is called when checksum feed changes. Because we reconnect to the same server, checksum feed never changes and pak file order is not restored to server order again. With certain pak file constellations between client/server, this may result in an inability to load files from paks which are not correctly detected as referenced paks.
2013-01-10Change DLL search path order for external libraries that are linked at ↵Thilo Schulz
runtime, like libcurl or libopenal to: * system library paths * executable path * fs_basepath
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 5096 - Define PRODUCT_VERSION in q_shared.h if it is not, patch by Zack ↵Thilo Schulz
Middleton
2013-01-10Fix extension name comparison for DLL filesThilo Schulz
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-10Fix alignment issues in message sending/reading that would crash IRIX, ↵Thilo Schulz
thanks to Canavan for supplying a shell where I could fix this (#5077)
2013-01-10Bug 5075 - Fix comments in quake3 configs, patch by q3urt.undead@gmail.comThilo Schulz
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-10- Implement dual protocol support (#4962) - Fix several UDP spoofing ↵Thilo Schulz
security issues
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-10Make naming a bit more foolproof for new macroThilo Schulz
2013-01-10- Add better protection against DoSing connecting users from connecting - ↵Thilo Schulz
Have Com_sprintf return string length - add STR_LEN macro for static strings
2013-01-10More color fixes for railgunThilo Schulz
Show other players' railgun color and their firetime state. Show snapshot client's color on world item models of railgun. Fix the impact mark using color2 (spiral) rather than color1 (beam). Credits go to Ensiform and Harekiet for the refire portion.
2013-01-10- Fix opStack size for vm_x86.c - Change opStack alignment to 16 for vm_x86_64.cThilo Schulz
2013-01-10Add forced VM unloading to Com_Quit_fThilo Schulz
2013-01-10Allow recursive VM entry for VM operations as wellThilo 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- Clear ip address listings after a NET_Restart - check for oldGameSet ↵Thilo Schulz
instead of the gamename string
2013-01-10Fix x64 compilation on MSVCThilo Schulz
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-10remove static VM_BlockCopy from vm_powerpcLudwig Nussel
2013-01-10Fix wrong macro. MSVC win32 build should work again now.Thilo Schulz
2013-01-10Use Q_ftol for vm_interpretedThilo Schulz
2013-01-10Various fixes to vm_interpreted.c: - Add opStack protection - Fix dataMask ↵Thilo Schulz
check for OP_BLOCK_COPY - Add instruction number check for conditional jumps - Make errors in VM_PrepareInterpreter nonfatal
2013-01-10- Don't try to load QVM/DLL files on pure servers - Fallback after failed ↵Thilo Schulz
DLL load will be VMI_COMPILED, not INTERPRETED
2013-01-10- Small change to search path order - local files not in .pk3s take ↵Thilo Schulz
precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3 - Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path - Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
2013-01-09Need space of len+1 for snprintf to workThilo Schulz
2013-01-09Fix #if macros for idx64 and id386Thilo Schulz
2013-01-09- Fix macro that uses constant float suffix as argument - retval variables ↵Thilo Schulz
in ftola.c must have type long, not int