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
Zack Middleton
3774a8aeee
Restored loading ".dat" journal files from disk when connect to pure servers. Accidentally broke in r1911, reported by Ensiform.
2011-09-12 14:54:01 +00:00
Zack Middleton
f7a20068ee
Support vm syscalls with up to 15 args using 64 bit compiled vm (like interprated vms).
2011-09-09 21:54:14 +00:00
Thilo Schulz
de182882f1
Fix auto game-restart when disconnecting from a server that explicitly set fs_game to "baseq3" instead of ""
2011-08-24 14:47:57 +00:00
Zack Middleton
abe85940ae
Disabled getting motd from update server in standalone build.
2011-08-22 20:30:45 +00:00
Thilo Schulz
a248451e66
Fix warning on MacOSX
2011-08-10 21:21:54 +00:00
Thilo Schulz
99e157e066
- Add x86_64 platform for MacOSX
...
- Fix compilation on MacOSX gcc
2011-08-10 20:48:53 +00:00
Thilo Schulz
3b642f9032
Add hack to allow server the setting of game cvar values that are important for playerstate prediction for legacy gamecode.
2011-08-09 12:19:27 +00:00
Zack Middleton
5d24905c8d
Simulate line buffering and fix the overflow bug in Com_ReadFromPipe(), patch from DevHC.
2011-08-05 21:45:22 +00:00
Thilo Schulz
52aed503b5
Bug 5146 - Remove last of warnings under gcc 4.6.1 for Linux, patch by q3urt.undead@gmail.com
2011-08-05 13:33:15 +00:00
Thilo Schulz
c1b3b6f0be
Fix compilation on non-x86 platforms, by Simon McVittie
2011-08-05 12:11:27 +00:00