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.
* differing screen resolutions and network settings 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()
This patch moves cg_particles.c out of cg_marks.c to the actual file that was
already there but not used. By default WOLF_PARTICLES definition is commented
out if someone wants to use the old cg_particles.c changes. cg_particles.c has
been added to the makefile and msvc projects.
Clear game logfile handle after closing file.
Game does not clear logFile handle when closing file. Might be an issue if
G_LogPrintf is called after this.
Patch from tremulous http://svn.icculus.org/tremulous?view=rev&revision=2041
- Add opStack protection
- Fix dataMask check for OP_BLOCK_COPY
- Add instruction number check for conditional jumps
- Make errors in VM_PrepareInterpreter nonfatal
- 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
- 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
- Bug 5029 - IQM skin support for 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
- 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
- Add all GPR 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()