Commit graph

1944 commits

Author SHA1 Message Date
Zack Middleton
45bb0f7b53 Fix bot skill format so it doesn't always have a space at the beginning of it. 2012-12-29 03:35:48 +00:00
Zack Middleton
a57a5cfd9b Changes from Ensiform:
- In G_AddBot, try to allocate clientNum before doing anything else.
- In G_AddBot, don't set SVF_BOT and inuse. It's done in ClientConnect, plus inuse causes ClientDisconnect to be run for no reason.
- In G_AddBot, only set skill in bot useinfo once.
- Avoid using cl->ps.clientNum to check if cl is a bot.
2012-12-29 03:33:00 +00:00
Zack Middleton
b791040f42 - Fix spectator client being switched from follow to free after map_restart if following a client with a higher client number.
- Fix client unlinking issue caused by ent->s.number being set to followed client's ps->clientNum after map_restart. Reported by Ensiform.
2012-12-29 01:45:11 +00:00
Richard Allen
1c8fa31c0d Changed the MacOS-X build system to make UB's containing i386 and x86_64 arches and made make-macosx.sh not build UB's but only standard binaries 2012-12-20 00:15:17 +00:00
James Canete
98677b1c72 Missed a file in the previous commit. 2012-12-18 06:21:47 +00:00
James Canete
78b4a3bb7a Support r_srgb even without hardware support. Also tweak default autoexposure/tonemap settings to look good on both r_srgb 0 and 1. 2012-12-18 06:15:38 +00:00
Zack Middleton
26b1fcc471 Save all arguments from connect for reconnect command.
Remove unnecessary localhost check from reconnect command.
2012-12-16 19:20:08 +00:00
Zack Middleton
76584dbcec Makefile fixes for OpenBSD by Jonathan Gray. (#5728) 2012-12-16 02:58:47 +00: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
aac23d6934 Fix reconnect command to work after leaving server. (#5794) 2012-12-15 23:33:02 +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
b943d506bf Fix clients being able to reset their player state and respawn using donedl. 2012-12-15 08:08:46 +00:00
James Canete
3bb7138b84 Fix a couple files not ending with a newline. 2012-12-15 00:40:08 +00:00
James Canete
082ecc4d6c Only declare var_SampleToView in lightall shader when it is actually used. 2012-12-15 00:39:17 +00:00
Zack Middleton
d79ea2e5cd - Allow changing cl_voip without restarting.
- Fix assert failing in CL_ParseVoip() while flipping cl_voip off and on.
2012-12-14 07:32:07 +00:00
Zack Middleton
50475fc37b Fix server ignoring client move commands if voip data is included. 2012-12-13 23:54:58 +00:00
Zack Middleton
7786f95c06 Fix writting voip data in demos (broke in r2102). 2012-12-13 05:25:50 +00:00
James Canete
f4a0a78b43 Split light sample into direct and ambient parts when using deluxemaps or per-vertex light vectors. Fixes #5813. 2012-12-10 22:35:57 +00:00
Zack Middleton
8424865879 Have NSIS uninstaller delete rend2. 2012-12-09 01:05:25 +00:00
Zack Middleton
2e99ae093e - Include OpenGL1 and Rend2 renderers in Loki Setup Installer. 2012-12-09 01:01:13 +00:00
Zack Middleton
a1270177c1 Include Rend2 renderer in NSIS installer. 2012-12-09 00:53:52 +00:00
Zack Middleton
8e28ff954c - Include Rend2 renderer in MacOSX bundle
- Include OpenGL1 and Rend2 renderers in MacOSX UB
2012-12-09 00:25:47 +00:00
James Canete
b356dac903 From /dev/humancontroller: Typo. 2012-12-06 21:53:52 +00:00
James Canete
374c551404 #5812 - Use refdef's coordinates when drawing to screen shadow fbo, and separate depth texture and screen texture coordinates in glsl shaders. 2012-12-06 01:55:45 +00:00
James Canete
736e1d5170 Oops, fix line endings in new files in previous commit 2012-12-04 03:05:34 +00:00
James Canete
edb414b34a #5808 - Include and use .glsl in source (rend2) 2012-12-04 01:56:52 +00:00
Thilo Schulz
6b811ada7a Add length check here as well, thanks Ensiform 2012-12-03 17:58:55 +00:00
Zack Middleton
311acbe263 In q3_ui if uis.demoversion is set, hide "Team Arena" and "Mods" in main menu. (They aren't shown in id's q3a demo and use to be drawn under demo message). 2012-12-01 23:17:14 +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
10a574e6ed Remove unused function CL_DisconnectPacket. Pointed out by Ensiform. 2012-11-24 20:55:47 +00:00
Zack Middleton
f6e076c4a1 Update standalone code in Catch the Chicken NSIS installer. 2012-11-24 06:00:29 +00:00
Zack Middleton
b785f8a241 Changes suggested by DevHC:
- Remove "!target" checks from tell, vtell, and gc commands. Target was just set, cannot be NULL.
- Validate "order" in gc command before "player id."
2012-11-20 22:51:48 +00:00
James Canete
467619c034 Make software overbright optional (cvar r_softOverbright) and reduce the number of FBOs and FBO blits when able. 2012-11-20 03:34:16 +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
3da8779180 - Check for invalid filename in OpenAL's RegisterSound function.
- Changed Base sound system to warn not error when sound filename is empty or too long.
2012-11-19 00:40:03 +00:00
Zack Middleton
6c1045a003 Remove unneeded name buffer in S_Play_f. 2012-11-18 23:30:26 +00:00
Zack Middleton
d9bea4977b Improve "play" command, based on a patch from Ensiform. 2012-11-18 23:16:13 +00:00
Zack Middleton
98f04d39a6 #5799 - Change messagemode text box to display colors like in console input box. 2012-11-18 22:24:15 +00:00
Zack Middleton
05bc03d32d Remove anti tamper leftover code 'CL_ChangeReliableCommand'. From Ensiform. 2012-11-18 22:12:30 +00:00
Zack Middleton
bf9b5cd7de - Fix up "gc" command, make it more like "tell". Based on patch by Ensiform.
- Add usage messages for gc, tell, vtell, and votell commands.
- Check player names in gc, tell, vtell, and votell commands.
2012-11-18 22:08:58 +00:00
Zack Middleton
1cdb3b33e7 Fix follow command to find clients whose name begins with a number. 2012-11-18 21:55:40 +00:00
Zack Middleton
f13a87daad Change error message in CL_ConfigstringModified to specify out of range index like in server. 2012-11-18 19:14:07 +00:00
Zack Middleton
82f83cd092 Fix some "> MAX_*" to be ">= MAX_*". 2012-11-18 19:09:54 +00:00
James Canete
d635193e19 Various shader fixes and optimizations. 2012-11-14 10:56:31 +00:00
James Canete
b269acac94 Fix bugs where some surfaces weren't merged and others were counted as merged in R_MergeLeafSurfaces(). 2012-11-09 08:13:38 +00:00
James Canete
86984eb536 When calling qglDrawRangeElementsEXT(), use proper start and end parameters. 2012-11-07 00:06:51 +00:00
Zack Middleton
8234225459 Change more operator commands to require sv_running to be usable. Patch by Ensiform. 2012-11-01 06:03:15 +00:00
James Canete
262e8e96b6 Ensure the correct FBO is bound when drawing. (Fixes bug #5791.) 2012-10-30 22:05:07 +00:00
Zack Middleton
c4288507e0 Don't draw cursor during Team Arena's loading screen. 2012-10-30 20:06:48 +00:00
Zack Middleton
016b74b633 Fix restoring old fs_game upon leaving a server. Patch by Ensiform. 2012-10-30 16:51:06 +00:00