Tim Angus
88cbeae0fd
* Fix warning
2012-07-07 18:24:20 +00:00
Thilo Schulz
053aa8ead7
Fix windows as well
2012-07-07 18:22:19 +00:00
Tim Angus
37f2b4db90
* (bug #5709 ) Fix crash when invoked with --version
2012-07-07 17:32:19 +00:00
Zack Middleton
79bb668a9f
Fixed G_LogPrintf format warning on 64 bit systems added in r2294.
2012-07-05 13:42:08 +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
2c0b262a5a
Mark JPEG lib changes, file provided by Simon McVittie
2012-07-01 18:07:56 +00:00
Thilo Schulz
b757968839
Support for .pk3dir ( #5298 ) - Patch by Andrew (dersaidin@gmail.com)
2012-07-01 18:00:18 +00:00
Thilo Schulz
56f16e10d6
Various bugfixes by Tobias Kuehnhammer ( #5270 )
...
- A stupid bug where bots re-trigger jumppads if they fell onto it.
- A small "memset" bug concerning player animations.
- Reward sounds were never cleared and thus they are played on a map restart.
- Safer and more secure handling of disconnected clients and clients with
malformed or illegal info strings.
- first_gauntlet_hit.wav was not played (ops/ps) bug
- capturelimit not hit (from OAX)
2012-07-01 17:27:52 +00:00
Thilo Schulz
1af9c636a5
r_ignorehwgamma 1 does not actually turn on software gamma ( #5511 ) - patch by Serge Belyshev
2012-07-01 17:01:30 +00:00
Thilo Schulz
c9fc250532
Incorrect number of overbright bits printed by GfxInfo_f() ( #5510 ) - fix by Serge Belyshev
2012-07-01 16:59:20 +00:00
Thilo Schulz
ca44693f34
More intelligent exponentiation in strtod/strtol ( #5487 ) - patch by Ben Millwood
2012-07-01 16:43:28 +00:00
Thilo Schulz
a3c7003d9c
prevent using getinfo as an amplifier for DDOS attacks ( #5678 ). Patch by DevHC
2012-07-01 14:18:31 +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
68b3b0922b
static-ize inline functions for Clang/LLVM
...
From /dev/humancontroller.
2012-06-19 15:56:21 +00:00
Zack Middleton
afa607c3b6
Added kicknum, kickall, and kickbots commands, patch by Ensiform.
2012-06-19 15:52:08 +00:00
Zack Middleton
945f01d4af
more '\n' business
...
From /dev/humancontroller.
2012-06-19 15:14:57 +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
2db73231eb
remove a bunch of superfluous formatting calls
...
From /dev/humancontroller.
2012-06-19 14:52:22 +00:00
Zack Middleton
20c6d1e33f
rename trap_Printf() to trap_Print() in the game module, as that function has nothing to do with printf()-like formatting
...
From /dev/humancontroller.
2012-06-19 14:51:02 +00:00
Zack Middleton
6067cadc72
Removed 0xAD character, from /dev/humancontroller.
2012-06-19 14:47:30 +00:00
Zack Middleton
2a4f775d6c
Fixed comment in server.h (ent->v.absmax to ent->r.absmax).
2012-06-18 22:25:35 +00:00
Zack Middleton
cd3654a21f
Only have bots issue vtaunt commands in Team Arena.
2012-06-18 20:11:09 +00:00
Zack Middleton
f40042113a
Let's actually use MOD_CHAINGUN! From Ensiform.
2012-06-18 17:12:35 +00:00
Zack Middleton
56a918b9ac
Made more code for Team Arena be inside ifdef MISSIONPACK, from Ensiform.
2012-06-18 17:09:33 +00:00
Zack Middleton
a375f898f5
REFACTOR [anough to enough]
2012-06-18 16:39:58 +00:00
Zack Middleton
2579738256
Removed unneeded va() and use CG_Error instead of trap_Error in cgame. Found by Ensiform.
2012-06-18 16:36:21 +00:00
Zack Middleton
1d70ffc9b2
fix the usage description of the clientkick server command (also rename SV_KickNum_f() to SV_ClientKick_f())
...
found by Ensiform
2012-06-18 16:33:13 +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
7f9a04fd80
REFACTOR
...
From /dev/humancontroller.
2012-06-18 16:27:00 +00:00
Zack Middleton
997615168a
fix some typos
...
From /dev/humancontroller.
2012-06-18 16:25:13 +00:00
Zack Middleton
ad8d3dc567
remove a bunch of unused stuff from game
...
From /dev/humancontroller.
2012-06-18 16:23:43 +00:00
Zack Middleton
af90948182
bring some freeish()ing operations ahead from after Errorish() calls
...
From /dev/humancontroller.
2012-06-18 16:17:39 +00:00
Zack Middleton
a4c61d874d
add a missing '\n', remove some unwanted ones
...
From /dev/humancontroller.
2012-06-18 16:16:57 +00:00
Zack Middleton
c3ca5c1caa
non-missionpack build throws up a few "0" plums
...
found by Ensiform
2012-06-18 16:14:48 +00:00
Zack Middleton
2834a58600
add missing commands to autocompletition
...
found by Ensiform
2012-06-18 16:11:35 +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
Zack Middleton
2131536d07
Call sound files 'audio' not 'wav' in debug messages.
2012-06-18 16:00:38 +00:00
Zack Middleton
a17dafc5e7
Cleaned up game server command usage messages.
2012-06-18 15:58:48 +00:00
Zachary Slater
b5acc31a4d
CVE-2012-3345
2012-06-14 18:28:58 +00:00
Zack Middleton
fb1f629bbc
Removed unnessicary "!!".
2012-06-01 19:49:07 +00:00
Zack Middleton
22ecd68cf2
In CheckTeamLeader, make sure to only set one client as team leader. Reported by Tobias Kuehnhammer.
2012-05-20 21:22:11 +00:00
Zack Middleton
5abf7e3d84
#5503 - SIGSEGV with r_vertexlight 1 in missionpack (patch by Serge Belyshev).
2012-05-07 23:06:00 +00:00
Zack Middleton
2c5d0c1e3a
Fixed two issues pointed out in a PVS-Studio static code analyzer article (bug #5505 ).
2012-05-07 22:47:19 +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
Thilo Schulz
d2b035eb73
Fix ( #5312 ) introduced by rev 2103
2012-05-04 15:59:52 +00:00
Ryan C. Gordon
f3a61afd09
Minor hack to SDL headers for building on Linux.
2012-04-11 04:51:58 +00:00
Zachary Slater
a07b8587f1
updating SDL includes to 1.2.15
...
Listen to this if this doesn't work out properly:
http://timedoctor.org/fun/swf/starwars/tauntaun-soundboard.swf
2012-04-10 06:44:04 +00:00
Zachary Slater
3a98b67e01
updating mac SDL stuff to 1.2.15
2012-04-10 06:01:16 +00:00
Zack Middleton
1db2124a65
Moved dpi variable inside BUILD_FREETYPE ifdef.
2012-04-07 16:34:21 +00:00
Zack Middleton
a55a059abc
Fixed some issues found using clang static analyzer.
2012-04-07 02:53:42 +00:00
Zack Middleton
ce3ec3ceef
#5453 - Tell command for server.
2012-04-05 22:43:32 +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
88020d5fb8
#5485 - Use Sys_LoadDll to search in the local directory for the fallback default renderer. Patch by Harley Laue.
2012-04-04 17:21:17 +00:00
Zack Middleton
021ce233b2
#5484 - Remove unneeded tr_local.h include from sdl_input.c. Patch by Harley Laue.
2012-04-04 17:16:11 +00:00
Zack Middleton
b211b35853
Use FreeType include macros instead of filenames directly (per the API docs), patch by Radegast.
2012-04-02 17:23:46 +00:00
Zack Middleton
de1360f268
Fixed up warning messages in tr_font.c
2012-03-29 06:35:33 +00:00
Zack Middleton
c8e790e4af
Use tabs in tr_font.c
2012-03-29 05:42:30 +00:00
Zack Middleton
5e9c7f5b37
Removed set but not used variable 'satLevels' from tr_font.c.
2012-03-29 05:31:18 +00:00
Zack Middleton
4b7a623cc0
Make sure font glyph shader names are null-terminated.
2012-03-29 05:28:09 +00:00
Zack Middleton
94fb80f021
Fixed possibly placing a font glyph (at the beginning of a row) past the bottom of a font cache image.
2012-03-29 05:15:46 +00:00
Zack Middleton
f15a3cca21
Fixed writing pre-rendered font TGAs, needed to flip image.
2012-03-29 04:49:36 +00:00
Zack Middleton
ea0102d403
- Added support for enabling FreeType Support (make USE_FREETYPE=1).
...
- Fixed compiling tr_font.c for dynamic renderer.
2012-03-29 04:05:13 +00:00
Zack Middleton
33d66c8034
Added range checks to j_*_axis cvars.
2012-02-15 18:47:50 +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
Zack Middleton
91fd58f6e4
Allow analog joystick up axis to be remapped too.
2012-02-15 18:09:24 +00:00
Zack Middleton
7d8b751afd
Patches by symlink.
...
#5313 - EF_CONNECTION set on wrong eFlags
#5314 - snc drawn in nirvana instead at lagometer
2012-02-06 21:28:40 +00:00
Zack Middleton
c84377854a
Unix clients can now enter commands from tty console. Patch by Rambetter with some edits by me. ( #4799 )
2012-02-06 21:05:57 +00:00
Thilo Schulz
3241ca6e7b
Add the new ioquake3 master server as standard for sv_master2
2012-01-24 23:42:16 +00:00
Zack Middleton
5729c8c518
Changed three filename buffers to be MAX_QPATH (not MAX_QPATH*2), filename lengths are limited to MAX_QPATH by engine and elsewhere in game logic.
2012-01-17 23:06:06 +00:00
Zack Middleton
73744a84c6
Fixed UI to use MAX_QPATH for skin filename buffer length.
2012-01-17 22:38:49 +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
Thilo Schulz
dfd3245c38
Fix build for new modular renderer on MacOSX
2011-12-15 21:12:38 +00:00
Zack Middleton
34b22e9119
Reverted r2209...
2011-12-08 23:34:51 +00:00
Zack Middleton
93d1d0f83e
Show warning when renderer cannot load model after checking all supported formats, instead of after each format.
2011-12-08 23:17:37 +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
fe64955c0c
Removed duplicate setting of contents for trigger_hurt.
2011-11-28 17:36:58 +00:00
Zack Middleton
88e9d66633
Disable blood on HUD when com_blood is 0.
2011-11-18 21:36:59 +00:00
Thilo Schulz
3ecd92ed91
Add color combination green-magenta for anaglyph
2011-11-18 12:47:42 +00:00
Zack Middleton
fd0d156338
Added missing newlines to game dedicated chat messages.
2011-11-10 04:49:07 +00:00
Zack Middleton
0724458818
Fixed usage of various entity defines.
2011-11-05 01:02:35 +00:00
Zack Middleton
4e59ef714b
Print developer message when renderer runs out of free entities.
2011-11-05 00:56:26 +00:00
Zack Middleton
b648d6f17b
Client no longer tries to run UI_SHUTDOWN on ui vms with an unsupported API version.
2011-11-03 03:52:46 +00:00
Thilo Schulz
6283e552d4
My bad. Revert the FPU control word to old value instead of the new one of course. Thanks to marky for reporting this
2011-10-28 21:54:06 +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
4ccd548512
* I zigged when I should have zagged
2011-10-28 18:51:31 +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