Commit graph

  • 055bd3b464 Bug 5047 - Win32 dedicated server console title should use define, patch by Zack Middleton Thilo Schulz 2011-06-18 14:30:20 +0000
  • a5f31084d4 - Fix memory leak in DMA sound after S_Shutdown() - Make codec load use temp hunk memory instead of zone mem - Fix sound issues with direct sound and game_restart (#4526) Thilo Schulz 2011-06-17 23:29:19 +0000
  • f921cddc2b Still forgot this one :( Thilo Schulz 2011-06-16 22:51:12 +0000
  • b8f81e8065 Fixes for bugs introduced in last several revisions Thilo Schulz 2011-06-16 22:50:33 +0000
  • dc24d7649c patch by Zack Middleton (#5044) - Fix a few comments in tr_local.h - A bit of refactoring of the cpp macros Thilo Schulz 2011-06-16 22:28:13 +0000
  • fe1853477e Fix #lese in last commit Thilo Schulz 2011-06-16 22:20:03 +0000
  • 77d764c457 Patch and description by ensiform (#5043): Thilo Schulz 2011-06-16 21:58:46 +0000
  • 16d2ab5f8b Patch from Tremulous / description from Zack Middleton: (#5041) Thilo Schulz 2011-06-16 21:53:41 +0000
  • b3745b7206 Add mingw64 crossbuild script, patch by Zack Middleton Thilo Schulz 2011-06-16 21:49:33 +0000
  • d8b7532fc1 remove static VM_BlockCopy from vm_powerpc Ludwig Nussel 2011-06-16 08:09:06 +0000
  • 8b7870b81f Fix wrong macro. MSVC win32 build should work again now. Thilo Schulz 2011-06-16 02:01:13 +0000
  • 7ac6b087af Use Q_ftol for vm_interpreted Thilo Schulz 2011-06-16 01:26:17 +0000
  • 83522282f1 Various fixes to vm_interpreted.c: - Add opStack protection - Fix dataMask check for OP_BLOCK_COPY - Add instruction number check for conditional jumps - Make errors in VM_PrepareInterpreter nonfatal Thilo Schulz 2011-06-16 01:11:45 +0000
  • af5020c57c - Don't try to load QVM/DLL files on pure servers - Fallback after failed DLL load will be VMI_COMPILED, not INTERPRETED Thilo Schulz 2011-06-15 22:25:13 +0000
  • 9219cde4e8 - Small change to search path order - local files not in .pk3s take 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 Thilo Schulz 2011-06-15 22:09:26 +0000
  • 1ff28b3b2e Need space of len+1 for snprintf to work Thilo Schulz 2011-06-15 16:26:51 +0000
  • f981087d7a - Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by Chris Schwarz - Remove Q_snprintf as Com_sprintf exists already Thilo Schulz 2011-06-15 15:31:37 +0000
  • a447aa82af Fix #if macros for idx64 and id386 Thilo Schulz 2011-06-15 14:10:20 +0000
  • a5035841d2 Project files for Microsoft Visual Studio 10. Has x86 and x64 build configurations (#2681) Thilo Schulz 2011-06-15 03:36:11 +0000
  • 001cdf4497 - mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in the same directory - Add library files for MinGW64 Thilo Schulz 2011-06-13 15:47:43 +0000
  • 206edd3419 - Still forgot qasm-inline.h - Leave GCC more freedom in choice of registers Thilo Schulz 2011-06-13 11:07:13 +0000
  • 04821a529d Forgot the inline assembler parts, here they come! Using inline asm to get rid of all the boilerplate stuff Thilo Schulz 2011-06-13 10:54:37 +0000
  • bb8f40531b - Fix macro that uses constant float suffix as argument - retval variables in ftola.c must have type long, not int Thilo Schulz 2011-06-13 10:39:42 +0000
  • 03201aff22 - Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 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 Thilo Schulz 2011-06-13 09:56:39 +0000
  • 471182cba0 Add static SDL libraries for compilation with MSVC Thilo Schulz 2011-06-12 15:28:44 +0000
  • c2b7f5173f Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton Thilo Schulz 2011-06-11 20:20:30 +0000
  • fa3b3978f6 Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, patch by Zack Middleton Thilo Schulz 2011-06-11 20:18:16 +0000
  • 45f576bd99 Bug 5036 - Grappling hook does not load trail shader, patch by Zack Middleton Thilo Schulz 2011-06-11 15:29:57 +0000
  • 8ec565b58e Bug 5035 - Automatically selecting player model in q3_ui does not work if skin is not specified, patch by Zack Middleton Thilo Schulz 2011-06-11 15:26:36 +0000
  • b96c1c8279 Fixes to IQM support, by Zack Middleton - 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 Thilo Schulz 2011-06-11 15:16:25 +0000
  • 7a4ce592a4 - Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and cyrri - add tr_model_iqm.c to MSVC project, by cyrri Thilo Schulz 2011-06-06 21:15:42 +0000
  • b921058a9f * Remove misleading comment Tim Angus 2011-06-06 16:55:38 +0000
  • f5deb4a88b Fix return values for several syscall functions, patch by Zack Middleton (#5018) Thilo Schulz 2011-06-06 15:08:00 +0000
  • eec06674fa (#5016) - Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform Thilo Schulz 2011-06-06 15:05:10 +0000
  • 960dca2cd4 Makefile fix for mips architecture (#4995): Fixes the \n in the $ARCH variable for IRIX/mips Thilo Schulz 2011-06-06 15:03:27 +0000
  • bd2b704c91 OpenBSD compile fixes, patch provided by Jonathan Gray (#4994) Thilo Schulz 2011-06-06 14:59:54 +0000
  • e676b41c8f Fix wrong usage info message for cmd dumpuser, patch by Zack Middleton (#5024) Thilo Schulz 2011-06-06 14:54:18 +0000
  • 0c43133695 Properly fill in occurances of "foobar" in GPL file headers, patch by Zack Middleton (#5024) Thilo Schulz 2011-06-06 14:52:49 +0000
  • 698a9c51ec Fix newlines in Com_Error, patch by Zack Middleton (#5023) Thilo Schulz 2011-06-06 14:51:02 +0000
  • 71b8fe477d - Use EmitCallDoSyscall() to call the jump violations function which guarantees 16-byte stack alignment - Add x64 code for MSVC _asm() blocks, not tested yet. Thilo Schulz 2011-06-06 14:29:45 +0000
  • c174143dc2 - Add x86_64 support to vm_x86.c - Fix warning on mingw64 Thilo Schulz 2011-06-01 15:17:18 +0000
  • 3e229af710 Fix is*() functions for windows where long value is 4 bytes Thilo Schulz 2011-06-01 01:50:19 +0000
  • eedccac818 Fix compilation on mingw64 Thilo Schulz 2011-05-31 20:47:18 +0000
  • bd8d60f55c Add instruction number checks to jumps and calls to SPARC VM, patch by David Miller Thilo Schulz 2011-05-24 19:46:52 +0000
  • 4b1418c4ad - Implement opStack protection: Use register %ebx for scaled indexed 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 Thilo Schulz 2011-05-23 00:46:46 +0000
  • e08299faf4 - Do assignment of value 0xDEADBEEF after the 4-byte alignment - 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() Thilo Schulz 2011-05-23 00:36:27 +0000
  • b8ef880d85 I don't seem to get these constraints right. This should fix it Thilo Schulz 2011-05-19 03:47:35 +0000
  • a42239e1e5 Fix VM call for release version, bug introduced by myself in r1994 Thilo Schulz 2011-05-18 16:06:08 +0000
  • 61d6e6eb68 Use scaled indexing mode n=4 for addressing opStack, this way we can use the 8 bit offset value in %%bl to address an OPSTACK_SIZE of 1024 which was the old value. Thilo Schulz 2011-05-18 00:17:02 +0000
  • 3f9ec83ce0 - Use edx for CALLs instead of ecx, as the latter does not require any push to stack - Make Linux AT&T asm code consistent with the MASM codeblock Thilo Schulz 2011-05-17 12:07:56 +0000
  • c7a68bf283 - Set default opStack size to 256 - Fix integer wraparound. opStack offset in rbx will always be >= 0 Thilo Schulz 2011-05-16 18:17:01 +0000
  • 5aa3da2f84 - Fix SEGV in while loop getop() after t = b = 0 - Fix iss8, iss16 and iss32 which would not correctly detect 32-bit signed integer range - Add support for "addb", "subb" etc. assembler mnemonic - Change opStack protection for x86_64 VM: No overflow checks necessary anymore as offset register is 1 byte long only Thilo Schulz 2011-05-16 17:55:07 +0000
  • 558ed62771 0 --> NULL Thilo Schulz 2011-05-15 14:58:56 +0000
  • 01ed417ee1 Optimise VectorNormalize functions, patch by Matt Turner Thilo Schulz 2011-05-15 14:55:47 +0000
  • b003422d92 - Fix lokisetup makefile problems - Bump version number to 1.36 Thilo Schulz 2011-05-15 14:49:38 +0000
  • 3cdfb7aea8 Refactor and bugfix COM_*Extension functions, patch by DevHC Thilo Schulz 2011-05-15 14:11:26 +0000
  • b509d770a7 - Remove Q_strrchr(), replace with standard, portable strrchr() - Add strrchr() to bg_lib.c, patch by DevHC Thilo Schulz 2011-05-15 14:08:03 +0000
  • 3ddc59a3ba move MIN/MAX definition, use MIN() instead of min(), patch by DevHC Thilo Schulz 2011-05-15 13:27:24 +0000
  • 017bc7e5da - Add vm_x86.c optimization patch by Eugene C. - Remove ASM syntax specific code (AT&T vs MASM) for OP_CALL and replace with machine code Thilo Schulz 2011-05-15 13:15:14 +0000
  • 3125035c23 Fix typecast Thilo Schulz 2011-05-14 20:24:34 +0000
  • 315632e821 Make bg_lib.c strchr ANSI-C conformant Thilo Schulz 2011-05-14 14:55:54 +0000
  • 716caf396e - Reverting accidentally committed vm_x86.c - Last commit contained some refactoring for vm_x86_64.c Thilo Schulz 2011-05-14 14:39:48 +0000
  • 30059eb8ce ensure that ent->classname is always non-null (for entity numbers up to level.num_entities-1, and ENTITYNUM_WORLD and ENTITYNUM_NONE), for player entities and #ENTITYNUM_NONE in particular, patch by DevHC Thilo Schulz 2011-05-14 14:34:18 +0000
  • 4b9ab42c2c Remove newlines from Com_Error calls, patch by DevHC Thilo Schulz 2011-05-14 14:32:43 +0000
  • 4cfb7d376b Ffffuuuuuu I don't even know.... Thilo Schulz 2011-05-14 14:28:31 +0000
  • c95bd0a684 Remove newlines from Com_Error message format strings, patch by DevHC Thilo Schulz 2011-05-12 14:02:48 +0000
  • 59271903a2 More codec loader troubles with extensions Thilo Schulz 2011-05-12 12:25:36 +0000
  • 68338a8268 Fix crash bug in new codec audio loader, thanks brain for reporting Thilo Schulz 2011-05-12 10:53:36 +0000
  • c65234328a DevHC messed up Thilo Schulz 2011-05-11 14:33:12 +0000
  • a9696d3558 Refactoring patch by DevHC Thilo Schulz 2011-05-11 14:21:27 +0000
  • 86d96f12b9 Fix one byte overflow Thilo Schulz 2011-05-10 16:26:11 +0000
  • 4374ff6ce9 Fix spawnflag behaviour for trigger_hurt, patch by DevHC Thilo Schulz 2011-05-10 11:11:37 +0000
  • 9706e6ca29 whoops, that one was not Com_Error() Thilo Schulz 2011-05-10 10:18:07 +0000
  • d0a095396e - Remove newlines in Com_Error() - Update register description Thilo Schulz 2011-05-10 10:07:34 +0000
  • a7ea395bd0 Add opStack protection to defend against malicious QVMs Thilo Schulz 2011-05-10 09:14:49 +0000
  • 5f63ab9160 Choose better alignment for heavy-duty rendering structures, patch by Matt Turner (#4981) Thilo Schulz 2011-05-09 23:39:40 +0000
  • 185d2d6b60 Add codec fallback support for sound files not found, Patch by Zack Middleton (#4982) Thilo Schulz 2011-05-09 22:40:25 +0000
  • 2eb9975334 Fix nasty crash bug Thilo Schulz 2011-05-09 21:47:41 +0000
  • 36314a1622 Add error handling to malloc as well Thilo Schulz 2011-05-09 15:40:30 +0000
  • 2e3c902da9 fix overzealous cvar cheat protection, patch by cyrri (#4974) Thilo Schulz 2011-05-06 11:50:26 +0000
  • 2ae1bf3dcd IQM skin support and print limit info, make other limit info consistent, patch by Zack Middleton (#4978) Thilo Schulz 2011-05-06 11:43:07 +0000
  • 45824008d9 Remove C99 code constructs from IQM code, patch by gimhael (#4974) Thilo Schulz 2011-05-05 13:33:43 +0000
  • 876fd7dcb9 - Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973) - Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c Thilo Schulz 2011-05-04 15:39:35 +0000
  • 1062c1b87b Do use the SV_Game{Error,Print} functions (#4972) Thilo Schulz 2011-05-04 14:51:56 +0000
  • bd2f6dbf05 [23:59:05] <ZTurtleMan> Thilo: altName (created using va) does not point to model filename in developer-only printf as va is used to load images before the printf. http://pastebin.com/1KCjz6Ct Thilo Schulz 2011-05-02 22:01:39 +0000
  • d37b2da593 - Add licence headers to new files - Add patch from Zack Middleton which fixes a few issues still Thilo Schulz 2011-05-02 20:30:14 +0000
  • 86c41d39da Fix sending reliable commands before being connected, patch by Eugene C. (#4971) Thilo Schulz 2011-05-02 16:03:35 +0000
  • 50721a6580 Remove sv_strictAuth cvar for STANDALONE games Thilo Schulz 2011-05-02 15:58:56 +0000
  • b97a7e2583 Fix out of bounds array index (#4960) patch by Ben Millwood Thilo Schulz 2011-05-02 15:57:02 +0000
  • bd9485f597 Do not retry image loader for image that failed, patch by Zack Middleton (#4968) Thilo Schulz 2011-05-02 15:53:20 +0000
  • c5e2654b54 - Add Inter-Quake Model (IQM) Format support, patch by gimhael with minor modifications by myself (#4965) - Changed model_t::md4 to model_t::modelData - Fix R_ModelBounds for MD4, MDR and IQM models (#4966) - Support Model format fallback similar to image formats in tr_image.c, patch by Zack Middleton (#4967) Thilo Schulz 2011-05-02 15:50:19 +0000
  • d34c6b7e0b Revert protocol 69 pending further discussion (#4962) Thilo Schulz 2011-04-27 20:17:45 +0000
  • 88693f9abd - Change the layout of the README and split "misc" section into a part for end users, and a part for developers - Update the readme for rev. 1950 Thilo Schulz 2011-04-27 16:04:23 +0000
  • a5580d8974 - Harden the client and server protocol against UDP spoofing attacks. This will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt (#3041) - Retains full compatibility to the old but unsecure protocol between clients and servers - Harden the connection process against DoS attacks, possibly connected to UDP spoofing Thilo Schulz 2011-04-27 16:03:35 +0000
  • 06d12f6085 Replace a few numeric constants with already defined macros, patch by ZTurtleMan Thilo Schulz 2011-04-26 09:48:40 +0000
  • a0582fb21a Fix a little quirk still Thilo Schulz 2011-04-26 02:32:05 +0000
  • 797d127dfc Use memcmp instead of self-built while loop Thilo Schulz 2011-04-26 02:30:12 +0000
  • 9541fca878 Add better support for analog joysticks, patch by use.less01 Thilo Schulz 2011-04-19 13:26:15 +0000
  • 3551b0fa3c Let codec loader decide which extension to give to extensionless filenames Thilo Schulz 2011-04-18 18:55:58 +0000
  • 6a203bc8e9 - Fix data alignment issue with glReadPixel call, reported by Guillaume Bougard (#4954) - Fix data alignment issue in raw AVI recording for weird resolutions (like 1366x768) Thilo Schulz 2011-04-18 16:06:10 +0000