Zack Middleton
80b0792980
Remove MSG_WriteDeltaUsercmd and MSG_ReadDeltaUsercmd
2013-02-02 22:26:22 -06:00
Zack Middleton
9c741f95ea
Remove some unused defines from msg.c
2013-02-02 21:40:03 -06:00
Zack Middleton
b4ad5a8411
Fix MSG_ReadDeltaKey setting bit 1<<bits often
...
MSG_ReadDeltaKey would often set 1<<bits, it should never be set. It exceeds the size of what was being read.
Worked okay for weapons/forward/right/up as they stored as chars (value would wrap around to correct value, lucky).
Angles had the wrong value, not sure if it was causing issues.
2013-02-01 22:07:52 -06:00
Tim Angus
70b165ee33
Fix screwed up whitespace in files.c
...
Apologies to anyone merging this :(
2013-01-13 22:26:09 +00:00
Tim Angus
5fd456ff7c
Fix FS_FOpenFileRead corner case
...
FS_FOpenFileRead is a fairly mental function that changes its return
behaviour depending on whether or not file is NULL or not. It turns out
in the case where file is NULL, we were returning the wrong value when
the file didn't exist.
2013-01-13 22:26:09 +00:00
Zack Middleton
693e51c654
Remove old FIXME, pmove_framecount isn't networked
2013-01-11 17:29:39 -06:00
Zachary Slater
20a77764dd
Increase various arbitrary limits - Bug #5463
2013-01-06 01:36:39 -08:00
Zack Middleton
8ef0f36a3f
Fix dedicated server crashing when using MSG_ReadDelta*, though it only happens if someone modifies the engine. ( #5449 )
2012-12-16 00:15:14 +00:00
Zack Middleton
c5af65fe5f
Fix passing arg9 (qvm only), arg10, and arg11 to vmMain for native libs and non-i386 compiled or interpated qvms. (Currently they aren't use in vmMain in game, cgame, or ui.)
...
Fix passing args[11] to args[15] from vm to engine on ppc64 and sparc64. Some of the args are used by game bot prediction syscalls. May have been causing bugs. Note: This was fixed for x86_64 in r2163.
2012-12-15 21:55:07 +00:00
Zack Middleton
29c406c9ec
Fix function prototype for Info_RemoveKey_Big. Pointed out by Ensiform.
2012-11-29 17:09:28 +00:00
Zack Middleton
1f8db4c14a
Remove references to non-existent functions CM_MarkFragments and CM_LerpTag.
2012-11-19 05:48:27 +00:00
Zack Middleton
82f83cd092
Fix some "> MAX_*" to be ">= MAX_*".
2012-11-18 19:09:54 +00:00
Zack Middleton
d092ba6627
Fix restoring fs_game when default.cfg is missing.
2012-10-26 01:27:16 +00:00
Thilo Schulz
027ea8d6d3
Oops, still need this
2012-08-08 09:42:33 +00:00
Thilo Schulz
ffac0e6757
Move argument passing from VM to engine to global variables which allows to get rid of lots of OS specific stuff and also fixes errors that happens when compilers add lots of boilerplate to the DoSyscall() function
2012-08-08 09:34:03 +00:00
Zack Middleton
2cfda4384b
We should not try to broadcast via the IPv4 socket if that socket is closed.
...
Previously, error messages were generated when querying local servers while IPv4 was disabled. Patch from /dev/humancontroller.
2012-07-05 13:33:55 +00:00
Thilo Schulz
b5456faaea
Revert pk3dir patch because some users report the code gets stuck in an infinite loop in the new code
2012-07-02 01:03:55 +00:00
Thilo Schulz
b757968839
Support for .pk3dir ( #5298 ) - Patch by Andrew (dersaidin@gmail.com)
2012-07-01 18:00:18 +00:00
Zack Middleton
b340c9d835
Fixed fatal error ("OP_BLOCK_COPY out of range!") when using qvms on Mac OS X powerpc (see r2031 and r2034).
2012-06-29 18:35:55 +00:00
Zack Middleton
3b09685b42
- Have NET_Sleep work with Windows' INVALID_SOCKET again...
...
- Use SOCKET_ERROR in NET_Sleep.
2012-06-19 22:36:54 +00:00
Zack Middleton
725c9df608
#5672 - Fixed incorrect type usage in NET_Sleep(), patch from Özkan Sezer.
2012-06-19 16:12:16 +00:00
Zack Middleton
4cfbbe506c
when interacting with QVMs, Clang/LLVM requires the standard use of the va_*() macros instead of (fast) call hacks
...
From /dev/humancontroller.
2012-06-19 14:57:51 +00:00
Zack Middleton
64c26ec338
fix a WRONG size argument to a memset() call found by Clang/LLVM
...
From /dev/humancontroller.
2012-06-19 14:53:40 +00:00
Zack Middleton
ad5c5c32a6
REFACTOR [reletive -> relative]
...
From /dev/humancontroller.
2012-06-18 16:32:03 +00:00
Zack Middleton
f3e7012bdb
REFACTOR [a vs an]
...
From /dev/humancontroller.
2012-06-18 16:31:16 +00:00
Zack Middleton
4bd24d3182
never set groundEntityNum to -1, use ENTITYNUM_NONE instead
...
From /dev/humancontroller.
2012-06-18 16:28:39 +00:00
Zack Middleton
62f7fab62e
add the "execq" command, a more quiet version of the "exec" command
...
in exec/execq, always print the extension for the filename
From /dev/humancontroller.
2012-06-18 16:09:14 +00:00
Zack Middleton
6ff3b03376
fix IPv6-only operation of Windows binaries
...
the SOCKET type is unsigned on Windows, and should be casted to an int before comparing with the highestfd variable (note: ``int highestfd = -1;'')
From /dev/humancontroller.
2012-06-18 16:05:47 +00:00
Zack Middleton
c16338cfa9
fix wrong socket ID comparison, from /dev/humancontroller
2012-06-18 16:03:06 +00:00
Zachary Slater
b5acc31a4d
CVE-2012-3345
2012-06-14 18:28:58 +00:00
Zack Middleton
c211114cb0
#5462 - do not require clients to have a matching qagame.qvm (adapted from OpenArena)
2012-05-07 22:26:03 +00:00
Zack Middleton
395225cb7e
#5439 - Potential memory leak in host name resolution. (Eugene C.)
2012-04-05 21:29:51 +00:00
Zack Middleton
7a1efc19a4
Support up to 16 joystick axes, select which to use with j_*_axis cvars.
2012-02-15 18:26:08 +00:00
Zachary Slater
89f7863254
bugzilla bug #5273
...
exploit resolved, we're now disallowing forwardmove of -128 and vice versa
Thanks, devhc!
2011-12-25 09:07:36 +00:00
Zack Middleton
2fbf9d9006
Removed unused functoin Hunk_Trash.
2011-12-08 22:54:45 +00:00
Zack Middleton
a5c88d0e0d
Removed an unused variable (which wasn't compiled in as _DEBUG isn't defined using make).
2011-12-08 22:53:58 +00:00
Zack Middleton
7b2f842053
Show file/line/label in Com_Error messages when run out of memory in debug build.
2011-12-08 22:25:25 +00:00
Zack Middleton
5c1ddf4020
Enable zone and hunk debug in debug build.
2011-12-08 22:24:48 +00:00
Zack Middleton
943d94bf0b
Use GENTITYNUM_BITS for jumppad_ent bits.
2011-12-03 20:27:18 +00:00
Thilo Schulz
66820c79f4
Fix net_restart when networking was temporarily disabled
2011-12-03 02:23:38 +00:00
Zack Middleton
9064a13409
Fixed showing number of qvm jump table targets (r2180 caused it to show 0 on alloc).
2011-10-28 19:43:43 +00:00
Tim Angus
fd986dae06
* Fix various warnings with GCC and clang
2011-10-27 21:32:28 +00:00
Tim Angus
675e7a641a
* clang support
2011-10-21 22:48:53 +00:00
Thilo Schulz
89d986a35b
Fix a few string literals
2011-09-28 03:13:30 +00:00
Thilo Schulz
7eba074ce4
Allow VM_Restart to load unpure qagame.qvm so that local server won't crash after map_restart if server operator has qagame.qvm residing outside pak file ( #5196 )
...
Thanks to "rg3" for providing a shell account
2011-09-27 22:16:07 +00:00
Thilo Schulz
d176ebe84a
Add some checks when reloading QVMs via VM_Restart()
2011-09-27 21:49:01 +00:00
Thilo Schulz
acc2da023c
Throw error when making calls to empty VM
2011-09-27 21:17:21 +00:00
Thilo Schulz
ebec84c55d
Fix q3vm execution on x86/x86_64 MacOSX
2011-09-27 01:38:13 +00:00
Zack Middleton
b14c6d581c
Use correct variable for getting buffer length, reported by Ensiform.
2011-09-19 02:10:17 +00:00
Zack Middleton
2b50313c9a
Use platform's path separator in FS_Path_f (for consistent output on Windows), reported by Ensiform.
2011-09-18 18:07:57 +00:00