summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-10Bug 5069 - Remove unused variable console_color, by uZuThilo Schulz
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-10All patches by Zack Middleton: - Bug 5057 - Two weapon number range checks ↵Thilo Schulz
allows invalid number - Bug 5058 - Railgun explosion cannot be colorized - Bug 5059 - Client's railgun does not glow in third person and mirror - Bug 5060 - Warning in RAVENMD4 R_GetAnimTag cross compiling with amd64-mingw32
2013-01-10- Fix opStack size for vm_x86.c - Change opStack alignment to 16 for vm_x86_64.cThilo Schulz
2013-01-10Make sound fallback behaviour for music streams less verboseThilo Schulz
2013-01-10Add forced VM unloading to Com_Quit_fThilo Schulz
2013-01-10Fix ipv6 server queryThilo 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- Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in ↵Thilo Schulz
widescreen, by Zack Middleton Check if uivm is loaded before using it Patch adds a check for uivm before using it, fixes running dedicated server using client binary. Missing uivm check pointed out by Ensiform. - Bug 5049 - TA UI forces overstrike mode on when focusing an edit box, by Ensiform - Bug 5052 - Missing podium timer initialization, by Eugene C.
2013-01-10Fix unnoticed bug in game_restartThilo 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-10patch by Zack Middleton (#5044) - Fix a few comments in tr_local.h - A bit ↵Thilo Schulz
of refactoring of the cpp macros
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- mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in ↵Thilo Schulz
the same directory - Add library files for MinGW64
2013-01-09- Still forgot qasm-inline.h - Leave GCC more freedom in choice of registersThilo Schulz
2013-01-09Forgot the inline assembler parts, here they come! Using inline asm to get ↵Thilo Schulz
rid of all the boilerplate stuff
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
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-09Add static SDL libraries for compilation with MSVCThilo Schulz
2013-01-09Fix forgotten IQM2 support in iqm.h, patch by Zack MiddletonThilo Schulz
2013-01-09Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in ↵Thilo Schulz
widescreen, patch by Zack Middleton
2013-01-09Fixes to IQM support, by Zack Middleton - Bug 5029 - IQM skin support for ↵Thilo Schulz
upper case surface names - Bug 5030 - IQM version 2 support - Bug 5031 - Animated IQMs cause segfault - Bug 5032 - IQM does not setup tag axis/origin correctly - Bug 5033 - IQM bounds swap and segfault issues
2013-01-09- Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and ↵Thilo Schulz
cyrri - add tr_model_iqm.c to MSVC project, by cyrri
2013-01-09Fix return values for several syscall functions, patch by Zack Middleton (#5018)Thilo Schulz
2013-01-09OpenBSD compile fixes, patch provided by Jonathan Gray (#4994)Thilo Schulz
2013-01-09Properly fill in occurances of "foobar" in GPL file headers, patch by Zack ↵Thilo Schulz
Middleton (#5024)
2013-01-09Fix newlines in Com_Error, patch by Zack Middleton (#5023)Thilo Schulz
2013-01-09- Use EmitCallDoSyscall() to call the jump violations function which ↵Thilo Schulz
guarantees 16-byte stack alignment - Add x64 code for MSVC _asm() blocks, not tested yet.
2013-01-09- Add x86_64 support to vm_x86.c - Fix warning on mingw64Thilo Schulz
2013-01-09Fix is*() functions for windows where long value is 4 bytesThilo Schulz
2013-01-09Fix compilation on mingw64Thilo Schulz
2013-01-09Add instruction number checks to jumps and calls to SPARC VM, patch by David ↵Thilo Schulz
Miller
2013-01-09- Implement opStack protection: Use register %ebx for scaled indexed ↵Thilo Schulz
addressing mode to access opStack, make opStack push/pop operate on %bl portion only - Add a third pass to VM compilation for computation of jump address offsets, removing the need to dereference into vm->instructionPointers[] for every call/jump - Make use of 0F opcode prefix relative jumps - Call Com_Memcpy for OP_BLOCK_COPY - Fix several missing range checks for vm->dataBase memory access
2013-01-09- Do assignment of value 0xDEADBEEF after the 4-byte alignment - Add all GPR ↵Thilo Schulz
to clobber list as GCC function callAsmCall seems to change register r11 without saving it to stack first, which may result in SIGSEGV in VM_CallCompiled()
2013-01-09I don't seem to get these constraints right. This should fix itThilo Schulz
2013-01-09Fix VM call for release version, bug introduced by myself in r1994Thilo Schulz