Thilo Schulz
d9ea902c31
Fix by Laurent Desnogues for my feeble attempt at a fix
2011-06-21 19:33:02 +00:00
Thilo Schulz
2d1187b287
- Clear ip address listings after a NET_Restart
...
- check for oldGameSet instead of the gamename string
2011-06-21 13:31:19 +00:00
Thilo Schulz
95691ded36
Fix x64 compilation on MSVC
2011-06-21 12:32:43 +00:00
Thilo Schulz
6a3142d2c1
Fix to ( #5051 ) - strchr in GraphicsOptions_GetAspectRatios() might return NULL for some strange reason
2011-06-21 11:45:34 +00:00
Thilo Schulz
90ede2cb48
- Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in 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.
2011-06-21 11:36:25 +00:00
Thilo Schulz
df1687c5c7
Fix unnoticed bug in game_restart
2011-06-21 11:29:31 +00:00
Thilo Schulz
dee3724a13
- Improve game_restart:
...
* 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()
2011-06-21 11:18:35 +00:00
Thilo Schulz
adc143e050
Bug 5048 - Entity constant light does not work correctly, bug found by Eraesr (Eraser?)
2011-06-18 14:52:16 +00:00
Thilo Schulz
055bd3b464
Bug 5047 - Win32 dedicated server console title should use define, patch by Zack Middleton
2011-06-18 14:30:20 +00:00
Thilo Schulz
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 )
2011-06-17 23:29:19 +00:00
Thilo Schulz
b8f81e8065
Fixes for bugs introduced in last several revisions
2011-06-16 22:50:33 +00:00
Thilo Schulz
dc24d7649c
patch by Zack Middleton ( #5044 )
...
- Fix a few comments in tr_local.h
- A bit of refactoring of the cpp macros
2011-06-16 22:28:13 +00:00
Thilo Schulz
fe1853477e
Fix #lese in last commit
2011-06-16 22:20:03 +00:00
Thilo Schulz
77d764c457
Patch and description by ensiform ( #5043 ):
...
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.
2011-06-16 21:58:46 +00:00
Thilo Schulz
16d2ab5f8b
Patch from Tremulous / description from Zack Middleton: ( #5041 )
...
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
2011-06-16 21:53:41 +00:00
Ludwig Nussel
d8b7532fc1
remove static VM_BlockCopy from vm_powerpc
2011-06-16 08:09:06 +00:00
Thilo Schulz
8b7870b81f
Fix wrong macro. MSVC win32 build should work again now.
2011-06-16 02:01:13 +00:00
Thilo Schulz
7ac6b087af
Use Q_ftol for vm_interpreted
2011-06-16 01:26:17 +00:00
Thilo Schulz
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
2011-06-16 01:11:45 +00:00
Thilo Schulz
af5020c57c
- Don't try to load QVM/DLL files on pure servers
...
- Fallback after failed DLL load will be VMI_COMPILED, not INTERPRETED
2011-06-15 22:25:13 +00:00
Thilo Schulz
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
2011-06-15 22:09:26 +00:00
Thilo Schulz
1ff28b3b2e
Need space of len+1 for snprintf to work
2011-06-15 16:26:51 +00:00
Thilo Schulz
f981087d7a
- Merge http://svn.icculus.org/tremulous?view=rev&revision=2185 , patch by Chris Schwarz
...
- Remove Q_snprintf as Com_sprintf exists already
2011-06-15 15:31:37 +00:00
Thilo Schulz
a447aa82af
Fix #if macros for idx64 and id386
2011-06-15 14:10:20 +00:00
Thilo Schulz
001cdf4497
- mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in the same directory
...
- Add library files for MinGW64
2011-06-13 15:47:43 +00:00
Thilo Schulz
206edd3419
- Still forgot qasm-inline.h
...
- Leave GCC more freedom in choice of registers
2011-06-13 11:07:13 +00:00
Thilo Schulz
04821a529d
Forgot the inline assembler parts, here they come! Using inline asm to get rid of all the boilerplate stuff
2011-06-13 10:54:37 +00:00
Thilo Schulz
bb8f40531b
- Fix macro that uses constant float suffix as argument
...
- retval variables in ftola.c must have type long, not int
2011-06-13 10:39:42 +00:00
Thilo Schulz
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
2011-06-13 09:56:39 +00:00
Thilo Schulz
471182cba0
Add static SDL libraries for compilation with MSVC
2011-06-12 15:28:44 +00:00
Thilo Schulz
c2b7f5173f
Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton
2011-06-11 20:20:30 +00:00
Thilo Schulz
fa3b3978f6
Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in widescreen, patch by Zack Middleton
2011-06-11 20:18:16 +00:00
Thilo Schulz
45f576bd99
Bug 5036 - Grappling hook does not load trail shader, patch by Zack Middleton
2011-06-11 15:29:57 +00:00
Thilo Schulz
8ec565b58e
Bug 5035 - Automatically selecting player model in q3_ui does not work if skin is not specified, patch by Zack Middleton
2011-06-11 15:26:36 +00:00
Thilo Schulz
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
2011-06-11 15:16:25 +00:00
Thilo Schulz
7a4ce592a4
- Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and cyrri
...
- add tr_model_iqm.c to MSVC project, by cyrri
2011-06-06 21:15:42 +00:00
Tim Angus
b921058a9f
* Remove misleading comment
2011-06-06 16:55:38 +00:00
Thilo Schulz
f5deb4a88b
Fix return values for several syscall functions, patch by Zack Middleton ( #5018 )
2011-06-06 15:08:00 +00:00
Thilo Schulz
eec06674fa
( #5016 ) - Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform
2011-06-06 15:05:10 +00:00
Thilo Schulz
bd2b704c91
OpenBSD compile fixes, patch provided by Jonathan Gray ( #4994 )
2011-06-06 14:59:54 +00:00
Thilo Schulz
e676b41c8f
Fix wrong usage info message for cmd dumpuser, patch by Zack Middleton ( #5024 )
2011-06-06 14:54:18 +00:00
Thilo Schulz
0c43133695
Properly fill in occurances of "foobar" in GPL file headers, patch by Zack Middleton ( #5024 )
2011-06-06 14:52:49 +00:00
Thilo Schulz
698a9c51ec
Fix newlines in Com_Error, patch by Zack Middleton ( #5023 )
2011-06-06 14:51:02 +00:00
Thilo Schulz
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.
2011-06-06 14:29:45 +00:00
Thilo Schulz
c174143dc2
- Add x86_64 support to vm_x86.c
...
- Fix warning on mingw64
2011-06-01 15:17:18 +00:00
Thilo Schulz
3e229af710
Fix is*() functions for windows where long value is 4 bytes
2011-06-01 01:50:19 +00:00
Thilo Schulz
eedccac818
Fix compilation on mingw64
2011-05-31 20:47:18 +00:00
Thilo Schulz
bd8d60f55c
Add instruction number checks to jumps and calls to SPARC VM, patch by David Miller
2011-05-24 19:46:52 +00:00
Thilo Schulz
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
2011-05-23 00:46:46 +00:00
Thilo Schulz
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()
2011-05-23 00:36:27 +00:00
Thilo Schulz
b8ef880d85
I don't seem to get these constraints right. This should fix it
2011-05-19 03:47:35 +00:00
Thilo Schulz
a42239e1e5
Fix VM call for release version, bug introduced by myself in r1994
2011-05-18 16:06:08 +00:00
Thilo Schulz
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.
2011-05-18 00:17:02 +00:00
Thilo Schulz
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
2011-05-17 12:07:56 +00:00
Thilo Schulz
c7a68bf283
- Set default opStack size to 256
...
- Fix integer wraparound. opStack offset in rbx will always be >= 0
2011-05-16 18:17:01 +00:00
Thilo Schulz
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
2011-05-16 17:55:07 +00:00
Thilo Schulz
558ed62771
0 --> NULL
2011-05-15 14:58:56 +00:00
Thilo Schulz
01ed417ee1
Optimise VectorNormalize functions, patch by Matt Turner
2011-05-15 14:55:47 +00:00
Thilo Schulz
b003422d92
- Fix lokisetup makefile problems
...
- Bump version number to 1.36
2011-05-15 14:49:38 +00:00
Thilo Schulz
3cdfb7aea8
Refactor and bugfix COM_*Extension functions, patch by DevHC
2011-05-15 14:11:26 +00:00
Thilo Schulz
b509d770a7
- Remove Q_strrchr(), replace with standard, portable strrchr()
...
- Add strrchr() to bg_lib.c, patch by DevHC
2011-05-15 14:08:03 +00:00
Thilo Schulz
3ddc59a3ba
move MIN/MAX definition, use MIN() instead of min(), patch by DevHC
2011-05-15 13:27:24 +00:00
Thilo Schulz
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
2011-05-15 13:15:14 +00:00
Thilo Schulz
3125035c23
Fix typecast
2011-05-14 20:24:34 +00:00
Thilo Schulz
315632e821
Make bg_lib.c strchr ANSI-C conformant
2011-05-14 14:55:54 +00:00
Thilo Schulz
716caf396e
- Reverting accidentally committed vm_x86.c
...
- Last commit contained some refactoring for vm_x86_64.c
2011-05-14 14:39:48 +00:00
Thilo Schulz
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
2011-05-14 14:34:18 +00:00
Thilo Schulz
4b9ab42c2c
Remove newlines from Com_Error calls, patch by DevHC
2011-05-14 14:32:43 +00:00
Thilo Schulz
4cfb7d376b
Ffffuuuuuu I don't even know....
2011-05-14 14:28:31 +00:00
Thilo Schulz
c95bd0a684
Remove newlines from Com_Error message format strings, patch by DevHC
2011-05-12 14:02:48 +00:00
Thilo Schulz
59271903a2
More codec loader troubles with extensions
2011-05-12 12:25:36 +00:00
Thilo Schulz
68338a8268
Fix crash bug in new codec audio loader, thanks brain for reporting
2011-05-12 10:53:36 +00:00
Thilo Schulz
c65234328a
DevHC messed up
2011-05-11 14:33:12 +00:00
Thilo Schulz
a9696d3558
Refactoring patch by DevHC
2011-05-11 14:21:27 +00:00
Thilo Schulz
86d96f12b9
Fix one byte overflow
2011-05-10 16:26:11 +00:00
Thilo Schulz
4374ff6ce9
Fix spawnflag behaviour for trigger_hurt, patch by DevHC
2011-05-10 11:11:37 +00:00
Thilo Schulz
9706e6ca29
whoops, that one was not Com_Error()
2011-05-10 10:18:07 +00:00
Thilo Schulz
d0a095396e
- Remove newlines in Com_Error()
...
- Update register description
2011-05-10 10:07:34 +00:00
Thilo Schulz
a7ea395bd0
Add opStack protection to defend against malicious QVMs
2011-05-10 09:14:49 +00:00
Thilo Schulz
5f63ab9160
Choose better alignment for heavy-duty rendering structures, patch by Matt Turner ( #4981 )
2011-05-09 23:39:40 +00:00
Thilo Schulz
185d2d6b60
Add codec fallback support for sound files not found, Patch by Zack Middleton ( #4982 )
2011-05-09 22:40:25 +00:00
Thilo Schulz
2eb9975334
Fix nasty crash bug
2011-05-09 21:47:41 +00:00
Thilo Schulz
36314a1622
Add error handling to malloc as well
2011-05-09 15:40:30 +00:00
Thilo Schulz
2e3c902da9
fix overzealous cvar cheat protection, patch by cyrri ( #4974 )
2011-05-06 11:50:26 +00:00
Thilo Schulz
2ae1bf3dcd
IQM skin support and print limit info, make other limit info consistent, patch by Zack Middleton ( #4978 )
2011-05-06 11:43:07 +00:00
Thilo Schulz
45824008d9
Remove C99 code constructs from IQM code, patch by gimhael ( #4974 )
2011-05-05 13:33:43 +00:00
Thilo Schulz
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
2011-05-04 15:39:35 +00:00
Thilo Schulz
1062c1b87b
Do use the SV_Game{Error,Print} functions ( #4972 )
2011-05-04 14:51:56 +00:00
Thilo Schulz
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
2011-05-02 22:01:39 +00:00
Thilo Schulz
d37b2da593
- Add licence headers to new files
...
- Add patch from Zack Middleton which fixes a few issues still
2011-05-02 20:30:14 +00:00
Thilo Schulz
86c41d39da
Fix sending reliable commands before being connected, patch by Eugene C. ( #4971 )
2011-05-02 16:03:35 +00:00
Thilo Schulz
50721a6580
Remove sv_strictAuth cvar for STANDALONE games
2011-05-02 15:58:56 +00:00
Thilo Schulz
b97a7e2583
Fix out of bounds array index ( #4960 ) patch by Ben Millwood
2011-05-02 15:57:02 +00:00
Thilo Schulz
bd9485f597
Do not retry image loader for image that failed, patch by Zack Middleton ( #4968 )
2011-05-02 15:53:20 +00:00
Thilo Schulz
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 )
2011-05-02 15:50:19 +00:00
Thilo Schulz
d34c6b7e0b
Revert protocol 69 pending further discussion ( #4962 )
2011-04-27 20:17:45 +00:00
Thilo Schulz
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
2011-04-27 16:03:35 +00:00
Thilo Schulz
06d12f6085
Replace a few numeric constants with already defined macros, patch by ZTurtleMan
2011-04-26 09:48:40 +00:00
Thilo Schulz
a0582fb21a
Fix a little quirk still
2011-04-26 02:32:05 +00:00
Thilo Schulz
797d127dfc
Use memcmp instead of self-built while loop
2011-04-26 02:30:12 +00:00
Thilo Schulz
9541fca878
Add better support for analog joysticks, patch by use.less01
2011-04-19 13:26:15 +00:00
Thilo Schulz
3551b0fa3c
Let codec loader decide which extension to give to extensionless filenames
2011-04-18 18:55:58 +00:00
Thilo Schulz
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)
2011-04-18 16:06:10 +00:00
Thilo Schulz
5769bed4a3
Make Sys_SetEnv behave alike on Windows and Linux
2011-04-18 00:39:15 +00:00
Thilo Schulz
6b82f4fd09
Consider key states before startup, patch by Zack Middleton ( #4950 )
2011-04-17 22:09:05 +00:00
Thilo Schulz
e5c210236c
Fix a few comments ( #4591 )
2011-04-13 23:42:55 +00:00
Tim Angus
01a274baf7
* Actually call Sys_PlatformExit
2011-04-09 12:33:56 +00:00
Thilo Schulz
31ec563999
Fix player queueing for tournament play ( #4939 )
2011-04-07 23:41:32 +00:00
Tim Angus
806a849bf2
* Fix jpeg warnings
2011-03-30 22:23:58 +00:00
Tim Angus
52ead6fa36
* Crash recovery for com_pipeFile (Lakitu7)
2011-03-30 21:58:31 +00:00
Thilo Schulz
16b99e354b
Fix JPEG compression for screenshots and mjpeg video recording with new JPG library
2011-03-17 16:00:45 +00:00
Thilo Schulz
d3f8dffe39
Bug 4936 - Wrong color for non-ascii symbols in console
2011-03-17 12:53:47 +00:00
Thilo Schulz
c1d8a260ae
Fix dynamic lighting for moving world surfaces. Patch by gimhael, thx
2011-03-14 17:25:20 +00:00
Thilo Schulz
379dfbf496
- Properly use ALC_ALL_DEVICES_SPECIFIER in sound info
...
- Properly use ALC_CAPTURE_DEVICE_SPECIFIER in sound info
2011-03-14 16:36:40 +00:00
Tim Angus
e0eb1b4227
* Fix whitespace
2011-03-14 16:04:49 +00:00
Thilo Schulz
182b344818
- Remove alext.h dependency and manually add the required macros
...
- Use ALC_DEFAULT_ALL_DEVICES_SPECIFIER instead of ALC_DEFAULT_DEVICE_SPECIFIER if extension exists
2011-03-14 15:57:39 +00:00
Ludwig Nussel
1b27ae23c1
include vm_local.h in vm_powerpc_asm.c
...
Patch by Simon McVittie, bug 4930
2011-03-13 16:54:41 +00:00
Ludwig Nussel
55369f9535
add missing jconfig.h
2011-03-13 16:17:06 +00:00
Ludwig Nussel
246b496693
include alext.h for ALC_ALL_DEVICES_SPECIFIER
...
This assumes OpenAL Soft (Simon McVittie, bug 4927)
2011-03-13 15:46:27 +00:00
Thilo Schulz
0c10adaf92
- Migrate to jpeg-8c
...
- Add possibility to link against system libjpeg
2011-03-12 16:45:15 +00:00
Thilo Schulz
bce3848523
Make buffers for device lists a bit longer. Just in case.
2011-03-11 13:53:22 +00:00
Thilo Schulz
641256f7f0
strtod exists in bg_lib.c now so Q_isanumber will work in the VMs, too.
2011-03-11 13:51:36 +00:00
Tim Angus
a9830934ba
* Fix misplaced ; in MSVC _vsnprintf wrapper
2011-03-10 22:06:55 +00:00
Thilo Schulz
3bf8ec2dab
( #4925 ) - com_pipefile to create a named pipe for sending commands from other processes, patch by Chris Schwarz
2011-03-10 01:01:27 +00:00
Thilo Schulz
a3def2744f
- Fix a compiler warning
...
- Fix the detection of the enumeration extensions
- Fix default device for s_alInputDevice
- Adjust formatting of S_AL_Info output
2011-03-09 23:34:15 +00:00
Thilo Schulz
e5cec15fbf
Fix bug where Com_StartupVariable would set CVAR_USER_CREATED on already existing cvars
2011-03-09 22:50:06 +00:00
Thilo Schulz
7ca1dc6f8b
- I accidentally committed patch by slacker from ( #4915 ) in r1916. Patch adds input device selection support
...
- Add check for ALC_ENUMERATE_ALL_EXT before using ALC_ALL_DEVICES_SPECIFIER in device enumeration
- Patch readme for new cvars by Zack Middleton
2011-03-09 12:59:25 +00:00
Thilo Schulz
37727b892c
Rename cvar "in_joystickThreshold" to "joy_threshold" as QVMs use the latter name.
2011-03-08 02:14:39 +00:00
Thilo Schulz
8c3f320504
( #3767 ) Some protection from malicious qvms - patches and ideas by Amanieu d'Antras and Ben Millwood
2011-03-08 01:39:34 +00:00
Thilo Schulz
657c791257
Zack Middleton made me do it
2011-03-08 01:37:28 +00:00
Thilo Schulz
0a6f873999
Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo ( #4702 )
2011-03-07 23:12:16 +00:00
Thilo Schulz
97ed3650d7
Make Video settings menu revert some settings to default values via Cvar_Reset() instead of hardcoded values ( #2589 )
2011-03-07 23:07:24 +00:00
Thilo Schulz
dd0161f475
Add in_availableJoysticks to list usable joysticks, similar to s_alAvailableDevices. Some parts of the patch provided by Zack Middleton
2011-03-07 22:56:03 +00:00
Thilo Schulz
c0cca7a0a8
- Fix potential out-of-bounds read in files.c, fix by using new FS_IsExt
...
- Add capability to load demos with com_protocol suffix, partially applied patches from Simon McVittie
- Fix demo loading if protocol number has more digits than 2
- Minor refactoring, replace all occurances of suffix "dm_" with global macro DEMOEXT
2011-03-07 22:08:48 +00:00
Thilo Schulz
fef4d12d68
Refactoring patch by DevHC
2011-03-05 19:20:37 +00:00
Thilo Schulz
21668c0616
Fix systeminfo command, fix by DevHC
2011-03-05 19:11:56 +00:00
Thilo Schulz
0387b8002e
Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself
2011-03-05 19:10:23 +00:00
Thilo Schulz
3639108763
Also send empty valued system cvars, fix proposed by DevHC
2011-03-05 19:07:56 +00:00
Thilo Schulz
2e2e54e3c5
Fix quirk reported by Zack Middleton
2011-03-04 21:51:34 +00:00
Thilo Schulz
75cd136c44
( #4922 ) Use screenYScale, not screenXScale, for scaling Y, by Zack Middleton
2011-03-04 20:32:03 +00:00
Thilo Schulz
b764150a97
( #4291 ) Redundant statement in client console, by Zack Middleton
2011-03-04 20:29:24 +00:00
Thilo Schulz
0b538a929e
( #4919 ) Extra variable in missionpack ui's bind_t structure, by Zack Middleton
2011-03-04 20:26:57 +00:00
Thilo Schulz
8bdd8e6705
( #4918 ) Gametype clamping using constant integer in missionpack ui, by Zack Middleton
2011-03-04 20:23:29 +00:00
Thilo Schulz
b1f861b8da
Patch by Zack Middleton ( #4920 )
2011-03-04 20:20:43 +00:00
Thilo Schulz
34e0a6c6f6
Make NET_Sleep wait 1ms less than requested, then busy-wait the last ms for better timeout precision.
2011-02-23 18:09:17 +00:00
Thilo Schulz
ccd24cd647
- Fix unterminated string errors in Q_vsnprintf() on windows. Thanks to Eugene C. for reporting ( #4907 )
...
- Get rid of bigbuffer in Com_sprintf()
- Get rid of Q_snprintf and replace with Com_sprintf()
2011-02-23 16:17:09 +00:00
Tim Angus
ab9b08e584
* Fix Sys_Milliseconds wrapping causing the flood protection code to
...
malfunction and block all traffic (reported by bubu^)
2011-02-18 23:46:02 +00:00
Thilo Schulz
6516be2fed
Support non-256x256 videos in shaders, by Zack Middleton ( #4745 )
2011-02-11 14:46:34 +00:00
Thilo Schulz
8bb9a261bd
Auto complete demos on not in pk3s while in pure servers. Patch by Zack Middleton ( #4794 )
2011-02-11 14:30:55 +00:00
Thilo Schulz
91d1a6aab4
OMGWHATISTHISSHITIDONTEVENKNOW
2011-02-10 23:16:14 +00:00
Thilo Schulz
4dc750aedb
Merge "which" command upstream from Tremulous, patch provided by Chris Schwarz
2011-02-10 23:07:07 +00:00
Thilo Schulz
2c57226d9f
JPEG quality control patch, by Zack Middleton ( #4673 )
2011-02-10 21:18:31 +00:00
Thilo Schulz
614f315ce8
Fix console tab autocomplete for exec and condump on pure servers, patch by Zack Middleton
2011-02-10 19:58:20 +00:00
Thilo Schulz
a56e448850
Add minimize command ( #4531 )
2011-02-10 19:21:13 +00:00
Thilo Schulz
e05c9ad1c2
- Make some string functions in g_cmds.c cleaner, by DevHC
...
- embed VM_FREEBUFFERS() macro in do-while-loop
2011-02-10 18:56:18 +00:00
Thilo Schulz
544a1c0c1a
- Use MAP_FAILED error code for check whether mmap() was successful
...
- Replace various malloc() with Z_Malloc
- Fix several memory leaks when VM compilation failed and Com_Error is called
- Make failed mmap/VirtualAlloc/malloc calls fatal
2011-02-10 18:45:28 +00:00
Zachary Slater
5e0d0efd2e
http://www.angryflower.com/aposter.html
...
(minor English issues, most of which are via /dev/humancontroller)
2011-02-09 05:51:33 +00:00
Thilo Schulz
476e35f50e
Make Q_vsnprintf() more standard conform in bg_lib.c, patch by devhc
2011-02-09 01:31:26 +00:00
Thilo Schulz
3b40467599
Finally fix missionpack compiling for STANDALONE=1, yes, this is tested.
2011-02-09 00:42:54 +00:00
Thilo Schulz
f5759d3c68
Brace for incoming grammar fix by DevHC!
2011-02-09 00:32:11 +00:00
Thilo Schulz
956c9a262a
First batch of getting replacing malloc() with Z_Malloc
2011-02-09 00:02:42 +00:00
Thilo Schulz
8cd4b77a1e
Fix strcpy copying buffer into itself, thanks to Simon McVittie for reporting and the patch ( #4894 )
2011-02-08 23:16:03 +00:00
Thilo Schulz
8a3f2ff805
It's late, I'm tired.
2011-02-08 21:38:49 +00:00
Thilo Schulz
c257dc2cfa
Fix memmove with new size_t typedef, thanks DevHC for reporting
2011-02-08 21:27:45 +00:00
Thilo Schulz
eb11388cac
Fix STANDALONE in files.c
2011-02-08 20:27:49 +00:00
Thilo Schulz
ba19fe1152
Still not compiling when STANDALONE is set
2011-02-08 20:24:41 +00:00
Thilo Schulz
7efcc91265
fix compiling error when in standalone mode
2011-02-08 20:21:37 +00:00
Thilo Schulz
2d2bdea553
Cleanup STANDALONE
2011-02-08 19:51:43 +00:00
Thilo Schulz
dd30b09526
By ZTurtleMan: Cleanup; only load harvester data in harvester gametype, removed unused var, and ifdef a missionpack only var.
2011-02-08 18:38:29 +00:00
Thilo Schulz
2b52867b74
Code cleanup patch by devhc
2011-02-08 18:19:31 +00:00
Thilo Schulz
9f786f4def
- A few code cleanups in gamecode
...
- Add a bit of stuff from Zakk Middleton
2011-02-08 18:06:39 +00:00
Thilo Schulz
d2612c8a36
Fix levelshot so that it cannot be executed by remote clients ( #4339 )
2011-02-08 17:58:31 +00:00
Thilo Schulz
be4e459148
mage size_t typedef unsigned int instead of just int, thx devhc for suggesting
2011-02-08 17:25:45 +00:00
Thilo Schulz
48b03a035b
Ok, getifaddrs() is not POSIX compliant. Fix #3984 as suggested by Vincent Cojot
2011-02-07 05:20:31 +00:00
Thilo Schulz
1d2d67cdde
strdup still not accepted by some systems. *sigh*.
2011-02-07 03:56:15 +00:00
Thilo Schulz
a2715bc283
Fix buffer overflow, reported by Mads Lind
2011-02-06 20:35:46 +00:00
Thilo Schulz
0e6427f3ff
- Hopefully fix ( #3984 ) compiler errors on Solaris while not introducing too many new ones on the other platforms
...
- With _BSD_SOURCE now explicitly defined bring back strdup to vm_x86_64_assembler.c
2011-02-06 20:26:18 +00:00
Thilo Schulz
0afedc928c
How could this stay undiscovered for so long? Unbelievable.
2011-02-06 20:06:03 +00:00
Thilo Schulz
f03ee4b61c
Oops typo.
2011-02-06 18:59:39 +00:00
Thilo Schulz
44fb8f49b6
Fix adding multiple entries for same server when using globalservers several times, patch by Tequila
2011-02-06 17:59:23 +00:00
Thilo Schulz
61c8b878b8
Fix tourney score board. Thanks Zack Middleton for the patch and report
2011-02-06 17:33:51 +00:00
Thilo Schulz
f34b96b586
Fix flag collision in botlib code, thanks Cyrri for reporting ( #4886 )
2011-02-04 18:23:52 +00:00
Thilo Schulz
387e33a4e3
Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting
2011-02-04 17:50:34 +00:00
Thilo Schulz
7bb5906599
Patch by Simon McVittie to improve dynamic library loading ( #4700 )
2011-02-04 17:47:57 +00:00
Thilo Schulz
d2f8b9f4bb
Support GNU/kFreeBSD, patch by Cyril Brulebois. Thanks.
2011-02-04 17:31:12 +00:00
Tim Angus
c61ad8a074
* Fix fp literals
2011-02-04 17:22:42 +00:00
Thilo Schulz
8869e989e4
typos, patch by Ansgar Burchardt <ansgar@43-1.org>
2011-02-04 17:18:40 +00:00
Thilo Schulz
31d99e2c4e
Fix division by zero, reported by Simon McVittie
2011-02-04 17:16:53 +00:00
Thilo Schulz
dc92a6cd79
Fix #4683 , thanks Zack Middleton
2011-02-04 17:01:08 +00:00
Thilo Schulz
91f3c1596f
Ben Millwood fixing his own stuff ( #4598 )
2011-02-04 16:09:05 +00:00
Thilo Schulz
e66abb3237
- Add support for linearly desaturating images via r_greyscale
...
- Use correct luminance values for rendering textures
Patch submitted by Forrest Voight.
2011-02-04 16:04:37 +00:00
Thilo Schulz
13836e5f4a
Thanks for the patch, gimhael. ( #4576 )
2011-02-04 15:21:15 +00:00
Thilo Schulz
ecbe1ab9fd
Thanks Simon McVittie for fixing the bug regression in https://bugzilla.icculus.org/show_bug.cgi?id=4629
2011-02-04 15:11:57 +00:00
Thilo Schulz
01d7eaddf5
https://bugzilla.icculus.org/show_bug.cgi?id=4576
2011-02-04 15:07:32 +00:00
Thilo Schulz
d563deba76
Fix https://bugzilla.icculus.org/show_bug.cgi?id=4733
2011-02-04 14:44:17 +00:00
Thilo Schulz
f6ea5315f7
Fix a warning
2011-02-04 14:19:51 +00:00
Thilo Schulz
2cddb3e0ea
https://bugzilla.icculus.org/show_bug.cgi?id=4460
2011-02-04 13:43:41 +00:00
Thilo Schulz
67a8b273c2
- Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
2011-02-04 13:25:51 +00:00
Thilo Schulz
0eb5d1720c
Fix banfile writing to wrong game directory
2011-02-04 12:34:11 +00:00
Thilo Schulz
3148416c04
- Change runtime standalone detection:
...
* com_standalone now read-only
* add new cvars com_basegame, com_homepath
* standalone now automatically detected when com_basegame is set to something different than baseq3 and no id pak pk3s are found
* This fixes https://bugzilla.icculus.org/show_bug.cgi?id=4699
- Replace a few hardcoded string literals with macros
- Add checks for Team Arena PK3s to FS_CheckPak0()
2011-02-04 12:04:56 +00:00
Thilo Schulz
774955c748
whatever devhc you're right
2011-02-03 17:34:26 +00:00
Thilo Schulz
cf791d14c5
- Fix bug #4769 remote server crash
...
- Fix potential 1-byte-buffer overflow in gamecode
2011-02-03 02:54:36 +00:00
Thilo Schulz
16c83ae2c5
Server crash can cause recursive call to Com_Error, too
2011-02-02 23:57:22 +00:00
Thilo Schulz
4982bf8e6b
r1833 now made some Linux systems spit out warnings. Fix this once and for all
2011-02-02 16:49:52 +00:00
Thilo Schulz
e5dbce839a
- Use select() to sleep when idle as opposed to busy waiting.
...
- Introduce com_busyWait cvar to go back to old behaviour
2011-02-02 16:46:23 +00:00
Thilo Schulz
fa8201c9b6
Delete unused variable
2011-01-31 22:09:47 +00:00
Thilo Schulz
0baadba7d1
Windows doesn't know z in format string
2011-01-31 21:13:37 +00:00
Thilo Schulz
5cd116d3ad
Only adjust timer resolution for clients
2011-01-31 20:32:00 +00:00
Thilo Schulz
e0a85521c9
Explicitly set timer resolution on windows
2011-01-31 20:23:05 +00:00
Ludwig Nussel
14c5a82c14
cvar is called fs_game (bug 4866)
2011-01-30 13:34:54 +00:00
Thilo Schulz
f725b23c4f
Fix floating point imprecision causing glitches in snapshot sending
2011-01-29 22:01:55 +00:00
Thilo Schulz
cd3e202fca
- Add parameter checking to CL_*Ping* functions.
...
- Remove unused CL_UpdateServerInfo function
2011-01-27 17:07:07 +00:00
Thilo Schulz
0c662f25f2
Make Ludwig happy
2011-01-27 16:41:08 +00:00
Thilo Schulz
de0e3cba34
Fix hanging client when map_restart executed on the server while client is still loading the map
2011-01-27 16:40:15 +00:00
Thilo Schulz
d1c0401c73
well, shit.
2011-01-27 12:34:58 +00:00
Thilo Schulz
92495a70bc
Fix compiler warnings ( #4887 )
2011-01-27 11:13:39 +00:00
Zachary Slater
e2e8b566e7
Sony NGP Support.
...
Alan Cox provided these patch notes:
Guvf vf npghnyyl n cngpu gb eryvrir hapbzsbegnoyr btt/ibeovf pbafgreangvbanoyr pbzcvyr-gvzr jneavatf sebz /qri/uhznapbagebyyre
Gunaxf 2 lbh.
2011-01-27 07:30:21 +00:00
Zachary Slater
2a083d6d60
add a missing \n from a cgame print
...
(thanks again /dev/hc)
2011-01-27 07:22:25 +00:00
Zachary Slater
5e2ccac7f0
remove the unused flags_t::field (/dev/hc again for this and previous checkin on Makefile, thanks!!!)
2011-01-27 07:20:56 +00:00
Zachary Slater
275d3b45b5
Patch from /dev/humancontroller (thx)
2011-01-27 07:00:35 +00:00
Thilo Schulz
74be070642
Make sure com_developer global var gets written right after developer has been read from cmd line
2011-01-25 16:18:49 +00:00
Thilo Schulz
b179fb087c
Make sure status reply always has at least one space between address and qport, important for ipv6 addresses.
2011-01-25 15:16:50 +00:00
Thilo Schulz
5c0ae99642
Make number of supported master servers tunable via define
2011-01-25 02:04:25 +00:00
Thilo Schulz
bf07014b1d
Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too.
2011-01-24 18:09:20 +00:00
Thilo Schulz
4f7317c617
Fix bug reported by cyrri
2011-01-24 18:04:20 +00:00
Thilo Schulz
6179036ac9
Fix name resolution for domains with A and AAAA record
2011-01-24 01:55:12 +00:00
Thilo Schulz
8243a77c0e
Revert changes because dpmaster doesn't work that way.
2011-01-24 01:24:07 +00:00
Thilo Schulz
7861cde4a2
Make it use the correct game name in getserversExt queries
2011-01-24 00:21:33 +00:00
Thilo Schulz
b0a753eb0f
Fix this bug in a better way.
2011-01-22 01:13:30 +00:00
Thilo Schulz
fdb66505bf
Fix potential segfault when no PK3s have been loaded (may happen when compiled with -DSTANDALONE)
2011-01-22 01:10:34 +00:00
Thilo Schulz
7471510c8e
Shut up compiler error
2011-01-21 20:47:32 +00:00
Tim Angus
35c1e98934
* (bug #4842 ) Speedup shader buffer creation (Eugene C.)
2010-12-19 18:17:56 +00:00
Tim Angus
7000b9a315
* (bug #4853 ) Fix comment that refers to old code
2010-12-19 17:45:03 +00:00
Tim Angus
c081b9c1fd
* (bug #4800 ) Don't prepend a slash to console commands if they're empty
...
* (bug #4800 ) Limit console input length such that there is always room for a
leading slash
2010-12-19 17:35:01 +00:00
Tim Angus
c314f29290
* Use correct compiler defines for OS detection on Windows
2010-12-19 16:34:35 +00:00
Ludwig Nussel
c51d99117c
use mmap on freebsd too
2010-11-22 07:12:35 +00:00
Zachary Slater
df758ba6c2
Bugzilla #4629
...
commands sent to client when disconnecte
2010-10-25 06:43:55 +00:00
Zachary Slater
a4327ef965
Bugzilla #4753
...
Potential buffer overflow in UpdateTournamentInfo()
2010-10-25 06:39:11 +00:00
Zachary Slater
956f495726
Bugzilla #4749
...
TAHUD: Fix hud fallback
2010-10-25 06:34:33 +00:00
Thilo Schulz
cd8a5aaec8
Followup to #4733
2010-09-01 11:50:09 +00:00
Thilo Schulz
b1a86fb3d9
Fix flaw in my fix to #4737 , thanks Zakk Middleton
2010-09-01 11:43:19 +00:00
Thilo Schulz
fa34239f58
another fix. Thanks Zakk Middleton
2010-08-30 23:25:44 +00:00
Thilo Schulz
a13aaa8b0b
fix typo
2010-08-30 23:21:34 +00:00
Thilo Schulz
eb2860f756
Fix "unhandles OpenAL error", and sound fallback behaviour for model files. Thanks Ansa89 for reporting, and Zack Middleton for the patch.
2010-08-29 18:11:15 +00:00
Thilo Schulz
5fe2a61910
Second batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
...
#4740
#4741
#4742
#4743
#4744
2010-08-29 18:08:29 +00:00
Thilo Schulz
83a3e2ae1b
First batch of bug fixes reported and patched by Zack "ZTurtleMan" Middleton:
...
#4736
#4730
#4731
#4732
#4733
#4735
#4736
#4737
#4738
#4739
2010-08-29 17:32:54 +00:00
Thilo Schulz
392b246ee9
Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.
2010-08-29 16:49:42 +00:00
Thilo Schulz
3ff2666375
Fix buffer overflow, report and patch by Eugene C. ( #4669 )
2010-07-02 20:21:20 +00:00
Ludwig Nussel
1434fd1845
fix typo
2010-06-21 07:11:52 +00:00
Ludwig Nussel
233fcb0caa
fix stack alignment dynamically for OP_BLOCK_COPY
2010-06-02 14:46:16 +00:00
Ludwig Nussel
2950bb98ea
fix OP_BLOCK_COPY alignment for win64 (patch by Marcus Meissner)
2010-05-17 08:59:53 +00:00
Ludwig Nussel
368a3be2a6
64bit Windows fix (patch by Marcus Meissner)
2010-04-16 09:29:34 +00:00
Ludwig Nussel
2728dc403a
fix mingw32 build
2010-03-19 08:59:17 +00:00
Ludwig Nussel
760f4a1949
64bit Windows support (patch by Michael Menegakis)
2010-02-28 09:00:02 +00:00
Ludwig Nussel
34d616dbef
enable (dummy) cdkey calls in standalone mode to prevents mods from crashing
2010-02-28 08:58:03 +00:00
Ludwig Nussel
a9fdf0ef3b
need to hardcode "baseq3" to prevent download of id files even if compiled STANDALONE
2010-02-28 08:56:54 +00:00
Tim Angus
3ebe048968
* Fix a memory leak in OS X Sys_Dialog
...
* Fix compilation on Snow Leopard
2010-02-26 16:32:49 +00:00
Tim Angus
005f870ebe
* Sys_Dialog for more user friendly error reporting
...
* (bug #3932 ) Recovery from bad video settings
2010-02-15 16:20:33 +00:00
Ludwig Nussel
4876413217
__WORDSIZE is not available on non-GNU systems (Dominic Fandrey)
2010-01-16 10:55:51 +00:00
Tim Angus
9018fedd16
* Clean-up whitespace in net_ip.c
2010-01-10 18:28:32 +00:00
Tim Angus
240b25a41f
* (bug #4271 ) FreeBSD fixes (Dominic Fandrey)
2010-01-07 19:53:52 +00:00
Ludwig Nussel
6f9b34ef75
avoid setting cvars by name each frame
2010-01-06 13:47:41 +00:00
Ludwig Nussel
9b1a3387cb
fix mumble coordinate transmission
2010-01-06 13:47:38 +00:00
Ludwig Nussel
42b8b8ecec
make reason for voip disable more visible
2010-01-06 13:47:35 +00:00
Ludwig Nussel
6ebc650542
set default rate to broadband
2010-01-06 13:47:32 +00:00
Ludwig Nussel
4abf1aa398
mmap could fail, handle gracefully
2010-01-04 16:02:01 +00:00
Ludwig Nussel
f19d437564
update mumble link interface for version 1.2
2010-01-04 14:12:18 +00:00
Tim Angus
fc05ba7f46
* Fix some compiler warnings
2010-01-03 22:37:14 +00:00
Tim Angus
4056c90358
* Rate limit getstatus and rcon connectionless requests
2010-01-03 22:12:20 +00:00
Tim Angus
e7f9b8d193
* That probably deserves a Com_DPrintf as well
2010-01-03 22:07:20 +00:00
Tim Angus
bb30f51f67
* (bug #4357 ) CVAR_ROM+CVAR_ARCHIVE is not read from q3config
2010-01-03 19:44:37 +00:00
Tim Angus
a405637985
* Handle SIGINT
2009-12-24 01:39:30 +00:00
Tim Angus
78df7a1de4
* (bug #4346 ) Dedicated server uses 100% CPU when stdin is not a TTY
...
* com_speeds reports misleading values on dedicated server (Guillaume Bougard)
2009-12-24 00:40:39 +00:00
Tim Angus
fa2a698aa3
* (bug #4369 ) Cvar modified flags are not updated in Cvar_Get (Lakitu7)
2009-12-18 21:57:56 +00:00
Tim Angus
d33e24b6d8
* Remove r_displayRefresh as it's not connected to anything, now
2009-12-18 20:02:39 +00:00
Tim Angus
8b0f1a6737
* Rephrase broken compiler warning
2009-11-18 20:26:44 +00:00
Thilo Schulz
10cdcdb0a1
Forgot this one
2009-11-14 01:59:01 +00:00
Tim Angus
3b63c54a24
* Fix demo playback being broken, not entirely sure by what or when
2009-11-11 10:51:33 +00:00
Thilo Schulz
04c5efd739
Fix possible buffer overflow in console, thanks to John Ellis for the patch.
2009-11-10 02:17:32 +00:00
Thilo Schulz
be0a82d496
- Add stopmusic command
...
- Make cvar s_muted read-only
2009-11-10 01:55:54 +00:00
Thilo Schulz
2a0812bc06
Mute sounds with 0 volume when game is minimized/unfocused instead of Stopping all sounds. Fixes ( #4336 )
2009-11-10 01:08:15 +00:00
Thilo Schulz
e8ae8f5d3a
Remove leftover stub
2009-11-10 00:25:48 +00:00
Thilo Schulz
258429efe7
- Add unset command for cvars created by the user
...
- Fix crash bug when maximum number of cvars has been reached
- Fix cvar_restart
- Add possibility to cleanly switch mods ingame (#2819 )
2009-11-09 22:41:42 +00:00
Thilo Schulz
606ce66726
This is true always, anyways.
2009-11-09 13:50:48 +00:00
Thilo Schulz
eee5498019
Zakk wisheth - Thilo answereth ( #4070 )
...
Use cg_drawWeapon 2/3 to make weapon left-handed/centered
2009-11-09 12:23:03 +00:00
Thilo Schulz
5785b45e6a
Shut up warn_unused_result warning
2009-11-08 17:00:27 +00:00
Tim Angus
108705d31f
* Rewrite win32 Sys_Mkdir to use CreateDirectory
...
* Make FS_ReplaceSeparators filter out runs of multiple separators
* Make FS_CreatePath skip creation of the root directory
2009-11-07 16:43:02 +00:00
Tim Angus
0f9a5e09eb
* Improve displayed error message when pak?.pk3 is missing
2009-11-06 16:25:14 +00:00
Tim Angus
c98df5ad58
* Make window centering optional, defaulting to off
2009-11-06 15:34:05 +00:00
Thilo Schulz
223b851b7b
Commit two patches from SmokingGuns's Tequila, fixing problems with very fast movers and a typo in the string drawing function. ( #4329 ) and ( #4330 )
2009-11-06 12:02:02 +00:00
Thilo Schulz
4ba2452f83
Use new Sys_SetEnv here
2009-11-06 10:50:16 +00:00
Tim Angus
568cf2732a
* Fix to GLimp_DetectAvailableModes not sorting the first returned mode
2009-11-05 20:29:26 +00:00
Tim Angus
eee9770fbf
* Reimplement r1597-1598 in a better way (Oopss)
...
* Fix Sys_SetEnv warning
2009-11-05 20:20:23 +00:00
Ludwig Nussel
e8f5d5055d
fix wrong strcpy usage ( #4331 , patch by Andreas Bierfert)
2009-11-04 18:13:05 +00:00
Thilo Schulz
621f91783c
Different default values for multicast-scope on Windows and non-Windows OS
2009-11-04 00:42:22 +00:00
Thilo Schulz
d574e10bc4
Ugh. Forgotten )
2009-11-03 20:44:16 +00:00
Thilo Schulz
bd2ab9bffd
- implement r_noborder, inspired by patch from ensiform ( #4289 )
...
- Add Sys_SetEnv for portable setting of environment variables
- Default ioquake3 to appear on the center of the screen if running in windowed mode.
2009-11-03 20:29:43 +00:00
Thilo Schulz
f5d79ea066
Fix bug where game freezes in infinite loop because it doesn't find a spawn point on maps with many bot/human-only spawnpoints. Thanks Pan for reporting this
2009-11-03 13:28:52 +00:00
Thilo Schulz
018de1dd2e
Added TTimo's QuakeLive-style mouse acceleration, thanks Gabriel Schnoering and TTimo for the patch. ( #3693 )
2009-11-02 16:17:10 +00:00
Ludwig Nussel
3d7d2d9f5b
check all jumps ( #4249 )
2009-11-01 19:58:27 +00:00
Ludwig Nussel
12189381b5
fix cmp imm reg
2009-11-01 19:58:25 +00:00
Ludwig Nussel
da31866f6d
report memory violations in debug mode
2009-11-01 19:58:21 +00:00
Ludwig Nussel
4722d311fd
better range checks
2009-11-01 19:58:18 +00:00
Ludwig Nussel
b7eae0dca5
implement immediate argument for call
2009-11-01 19:58:16 +00:00
Ludwig Nussel
ed98f65d10
optimize const before jump
2009-11-01 19:58:12 +00:00
Ludwig Nussel
a7dee44def
check const jump argument
2009-11-01 19:58:09 +00:00
Ludwig Nussel
469c986640
more security checks in interpreter ( #4249 )
2009-11-01 19:58:07 +00:00
Ludwig Nussel
cc9a74a218
Define stack sizes at central place
...
also reverts bug 4282 as stack is included in bss already so nothing that needs fixing
2009-11-01 19:58:03 +00:00
Tony J. White =
698127ad32
* Updated to SDL 1.2.14. For future reference, the command you can't
...
remember is: 'install_name_tool -id @executable_path/libSDL-1.2.0.dylib
libSDL-1.2.0.dylib'
2009-10-29 03:09:07 +00:00
Tim Angus
9f6cee30d3
* Remove disabling of stdout/err redirection on windows as it doesn't work
...
(since the environment variable is acted upon by the SDL_main stuff, which
happens before our main)
2009-10-27 11:48:18 +00:00
Thilo Schulz
e345f9f81f
New batch of fixes for the OpenAL part:
...
- Don't play sources outside the listening range (Thanks Kpaxian for bringing this to my attention)
- Handle previously unhandled errors for old OpenAL sample implementation which does not support AL_SEC_OFFSET (sounds won't be synchronized then),
thanks to Tequila from SmokingGuns for reporting this.
2009-10-27 11:13:33 +00:00
Thilo Schulz
0ecfcfa872
Make not playing loop sources weaker in priority, so if we have reached the maximum number of sources, inaudible loops are removed first.
2009-10-26 23:20:05 +00:00
Ludwig Nussel
2fecf6d6bc
get rid of gas remains
2009-10-26 21:59:03 +00:00
Thilo Schulz
0adae90465
Fix another issue I didn't know about: cgame does not kill sound loops it startet, just stops sending the entity information for these loops. Changed it so that loops added with AddLoopingsound() are being killed again as soon as the entity to the source is not sent anymore.
2009-10-26 05:02:18 +00:00
Tim Angus
5004ada284
* Fix some warnings in lcc compile
2009-10-25 23:44:20 +00:00
Tim Angus
568cf6c1dd
* Update SDL headers and win32 libs to 1.2.14
2009-10-25 23:07:11 +00:00
Tim Angus
968892c61b
* Bump the minimum SDL version up to 1.2.10, and remove workarounds for earlier versions
2009-10-25 22:36:32 +00:00
Tim Angus
f9c4003186
* Make [sv|cl]_packetdelay work when timescale is not 1 (arQon)
2009-10-25 21:54:45 +00:00
Tim Angus
43d31f7c3a
* (bug #4316 ) Hack to work around suspected driver bug (Lakitu7)
2009-10-25 21:48:48 +00:00
Thilo Schulz
0bdf52e2fb
Show color codes in full length, patch by Amanieu ( #4318 )
2009-10-25 19:51:32 +00:00
Ludwig Nussel
2fc4023e0b
fix zlib includes
2009-10-24 14:19:39 +00:00
Thilo Schulz
c312449422
Add SIGCONT signal handler to reinitialize console after doing CTRL+Z / fg, as under Linux/bash stdin seems to lose O_NONBLOCK flag as well as all tcsetattr() attributes after foregrounding
2009-10-24 12:01:29 +00:00
Thilo Schulz
3c501df298
A few more last fixes that will handle some special cases
2009-10-24 08:33:12 +00:00
Thilo Schulz
1ea420e8a8
Better stop than just pause.
2009-10-23 23:51:00 +00:00
Thilo Schulz
898f1ed2f7
Don't kill sources out of range, just pause them. Make sure the listener gets the impression sources have been continuing to run in the background.
2009-10-23 23:32:52 +00:00
Thilo Schulz
465c6101e0
remove redundancy
2009-10-23 12:30:00 +00:00
Thilo Schulz
d12751f62b
Synchronize looping ambient sounds ( #2984 )
2009-10-23 12:18:49 +00:00
Thilo Schulz
c05d9c9f0c
Fix uninitialized words in VM interpreter, reported by Patrick Baggett (4281)
2009-10-23 03:02:08 +00:00
Thilo Schulz
6fb304619b
- Add Ben Millwood's implementation of strtod/strtol to bg_lib.c
...
- Add %s scanf patch from M. Kristall to scanf in bg_lib.c
2009-10-21 10:18:46 +00:00
Tim Angus
c8583df572
* D'oh, vm_ppc.c isn't used any more
2009-10-20 11:47:34 +00:00
Tim Angus
d47509b861
* Sort out the white space disaster in vm_ppc.c
2009-10-20 11:44:25 +00:00
Tim Angus
60ed7a4cc4
* (bug #4249 ) Fix similar overflow in PPC VM (untested)
2009-10-20 11:36:45 +00:00
Thilo Schulz
ba31be1736
Fix botlib parser for negative int/float values, thanks to Makro for reporting ( #4227 ).
2009-10-19 23:29:44 +00:00
Tim Angus
5663ff1362
* (bug #4249 ) Fix buffer overflow in x86 VM
2009-10-19 23:01:00 +00:00
Thilo Schulz
fd57c987c4
Fix infinite loop in case an invalid pk3 file has been downloaded from the server. Thanks tjw for reporting ( #3074 )
2009-10-19 22:36:17 +00:00
Thilo Schulz
d93cc3c997
Shut up warnings
2009-10-19 18:54:09 +00:00
Thilo Schulz
585e6f9840
- Applied patch from /dev/humancontroller to set cvar_modifiedFlags from Cvar_Set_f ( #3636 )
...
- Exchanged ugly code with Cmd_ArgsFrom()
2009-10-19 16:52:16 +00:00
Thilo Schulz
118fbdf741
- Tested and updated MSVC project file to really make it work with new zlib
...
- Removed unnecessary zconf.in.h
- Fixed include dirs for several MSVC targets
2009-10-19 16:16:52 +00:00
Thilo Schulz
cc919c05fd
Just unix2dos, nothing to see here ...
2009-10-19 14:00:16 +00:00
Thilo Schulz
17ca252753
Adding missing header includes to botlib files. Thanks to Ben Millwood for patch. ( #4237 )
2009-10-18 00:28:38 +00:00
Thilo Schulz
88535ab1ea
Only create botlib.log if in bot developer mode.
2009-10-17 22:35:45 +00:00
Thilo Schulz
b9ec0e4639
Don't look for DLLs on current working directory anymore, for security reasons.
2009-10-17 22:06:51 +00:00
Tim Angus
504bd58b90
* Disable stdout/stderr redirection on Windows
2009-10-16 22:36:57 +00:00
Thilo Schulz
b3f36fc830
Allow weapon marks on triangle meshes (default: disabled), patch by Oliver McFadden. http://bugzilla.icculus.org/show_bug.cgi?id=3774
2009-10-16 20:26:18 +00:00
Tim Angus
37598962f5
* Actually that can be more precise...
2009-10-16 19:21:31 +00:00
Tim Angus
b539a87e72
* (bug #4232 ) Avoid "cl.snap.serverTime < cl.oldFrameServerTime" for slow
...
loading clients combined with short g_warmups
2009-10-15 23:39:19 +00:00
Tim Angus
8e04904375
* Make LCC's handling of -D arguments on windows consistent with other plaftorms
2009-10-15 11:36:51 +00:00
Tim Angus
639fdb4ed3
* Fix MinGW build (it doesn't have _putenv_s)
2009-10-13 15:58:23 +00:00
Thilo Schulz
290f51e353
- Change default openal lib to libopenal.so.1
...
- USE_OPENAL_DLOPEN=1 now default
2009-10-13 15:39:39 +00:00
Thilo Schulz
fc539dc46a
Improve OpenAL error handling, patch by Ben Millwood. https://bugzilla.icculus.org/show_bug.cgi?id=3776
2009-10-13 15:23:17 +00:00