a57a5cfd9bChanges 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.
Zack Middleton
2012-12-29 03:33:00 +00:00
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.
Zack Middleton
2012-12-29 01:45:11 +00:00
1c8fa31c0dChanged 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
Richard Allen
2012-12-20 00:15:17 +00:00
98677b1c72Missed a file in the previous commit.
James Canete
2012-12-18 06:21:47 +00:00
78b4a3bb7aSupport r_srgb even without hardware support. Also tweak default autoexposure/tonemap settings to look good on both r_srgb 0 and 1.
James Canete
2012-12-18 06:15:38 +00:00
26b1fcc471Save all arguments from connect for reconnect command. Remove unnecessary localhost check from reconnect command.
Zack Middleton
2012-12-16 19:20:08 +00:00
76584dbcecMakefile fixes for OpenBSD by Jonathan Gray. (#5728)
Zack Middleton
2012-12-16 02:58:47 +00:00
8ef0f36a3fFix dedicated server crashing when using MSG_ReadDelta*, though it only happens if someone modifies the engine. (#5449)
Zack Middleton
2012-12-16 00:15:14 +00:00
aac23d6934Fix reconnect command to work after leaving server. (#5794)
Zack Middleton
2012-12-15 23:33:02 +00:00
c5af65fe5fFix 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.
Zack Middleton
2012-12-15 21:55:07 +00:00
b943d506bfFix clients being able to reset their player state and respawn using donedl.
Zack Middleton
2012-12-15 08:08:46 +00:00
3bb7138b84Fix a couple files not ending with a newline.
James Canete
2012-12-15 00:40:08 +00:00
082ecc4d6cOnly declare var_SampleToView in lightall shader when it is actually used.
James Canete
2012-12-15 00:39:17 +00:00
d79ea2e5cd- Allow changing cl_voip without restarting. - Fix assert failing in CL_ParseVoip() while flipping cl_voip off and on.
Zack Middleton
2012-12-14 07:32:07 +00:00
50475fc37bFix server ignoring client move commands if voip data is included.
Zack Middleton
2012-12-13 23:54:58 +00:00
7786f95c06Fix writting voip data in demos (broke in r2102).
Zack Middleton
2012-12-13 05:25:50 +00:00
f4a0a78b43Split light sample into direct and ambient parts when using deluxemaps or per-vertex light vectors. Fixes#5813.
James Canete
2012-12-10 22:35:57 +00:00
8e28ff954c- Include Rend2 renderer in MacOSX bundle - Include OpenGL1 and Rend2 renderers in MacOSX UB
Zack Middleton
2012-12-09 00:25:47 +00:00
b356dac903From /dev/humancontroller: Typo.
James Canete
2012-12-06 21:53:52 +00:00
374c551404#5812 - Use refdef's coordinates when drawing to screen shadow fbo, and separate depth texture and screen texture coordinates in glsl shaders.
James Canete
2012-12-06 01:55:45 +00:00
736e1d5170Oops, fix line endings in new files in previous commit
James Canete
2012-12-04 03:05:34 +00:00
edb414b34a#5808 - Include and use .glsl in source (rend2)
James Canete
2012-12-04 01:56:52 +00:00
6b811ada7aAdd length check here as well, thanks Ensiform
Thilo Schulz
2012-12-03 17:58:55 +00:00
311acbe263In 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).
Zack Middleton
2012-12-01 23:17:14 +00:00
29c406c9ecFix function prototype for Info_RemoveKey_Big. Pointed out by Ensiform.
Zack Middleton
2012-11-29 17:09:28 +00:00
10a574e6edRemove unused function CL_DisconnectPacket. Pointed out by Ensiform.
Zack Middleton
2012-11-24 20:55:47 +00:00
f6e076c4a1Update standalone code in Catch the Chicken NSIS installer.
Zack Middleton
2012-11-24 06:00:29 +00:00
b785f8a241Changes 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."
Zack Middleton
2012-11-20 22:51:48 +00:00
467619c034Make software overbright optional (cvar r_softOverbright) and reduce the number of FBOs and FBO blits when able.
James Canete
2012-11-20 03:34:16 +00:00
1f8db4c14aRemove references to non-existent functions CM_MarkFragments and CM_LerpTag.
Zack Middleton
2012-11-19 05:48:27 +00:00
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.
Zack Middleton
2012-11-19 00:40:03 +00:00
6c1045a003Remove unneeded name buffer in S_Play_f.
Zack Middleton
2012-11-18 23:30:26 +00:00
d9bea4977bImprove "play" command, based on a patch from Ensiform.
Zack Middleton
2012-11-18 23:16:13 +00:00
98f04d39a6#5799 - Change messagemode text box to display colors like in console input box.
Zack Middleton
2012-11-18 22:24:15 +00:00
05bc03d32dRemove anti tamper leftover code 'CL_ChangeReliableCommand'. From Ensiform.
Zack Middleton
2012-11-18 22:12:30 +00:00
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.
Zack Middleton
2012-11-18 22:08:58 +00:00
1cdb3b33e7Fix follow command to find clients whose name begins with a number.
Zack Middleton
2012-11-18 21:55:40 +00:00
f13a87daadChange error message in CL_ConfigstringModified to specify out of range index like in server.
Zack Middleton
2012-11-18 19:14:07 +00:00
82f83cd092Fix some "> MAX_*" to be ">= MAX_*".
Zack Middleton
2012-11-18 19:09:54 +00:00
d635193e19Various shader fixes and optimizations.
James Canete
2012-11-14 10:56:31 +00:00
b269acac94Fix bugs where some surfaces weren't merged and others were counted as merged in R_MergeLeafSurfaces().
James Canete
2012-11-09 08:13:38 +00:00
86984eb536When calling qglDrawRangeElementsEXT(), use proper start and end parameters.
James Canete
2012-11-07 00:06:51 +00:00
8234225459Change more operator commands to require sv_running to be usable. Patch by Ensiform.
Zack Middleton
2012-11-01 06:03:15 +00:00
262e8e96b6Ensure the correct FBO is bound when drawing. (Fixes bug #5791.)
James Canete
2012-10-30 22:05:07 +00:00
c4288507e0Don't draw cursor during Team Arena's loading screen.
Zack Middleton
2012-10-30 20:06:48 +00:00
016b74b633Fix restoring old fs_game upon leaving a server. Patch by Ensiform.
Zack Middleton
2012-10-30 16:51:06 +00:00
17ee96e6c8Clean up getting pshadowMap in Rend2's R_DecomposeSort().
Zack Middleton
2012-10-30 09:00:58 +00:00
32d1bc4f2aFix some non-ASCII characters. Patch originally by /dev/humancontroller, modified by me.
James Canete
2012-10-30 03:00:46 +00:00
36c30f6782Remove initializing "sv_mapname" cvar in game. It's set to "" and never used.
Zack Middleton
2012-10-29 19:18:06 +00:00
b5eb31b4f6From /dev/humancontroller: when hard-linking renderers, put the old renderer (not the new one) into the "ioquake3" executable, and use a distinguished "ioquake3_rend2" executable for the new renderer (Fixes bug #5789.)
James Canete
2012-10-28 21:04:41 +00:00
dfdfc656eaFrom /dev/humancontroller: fix the SMP functionality not being utilized (as of the import of Rend2)
James Canete
2012-10-28 20:56:26 +00:00
3dff29e991Remove ARRAY_SIZE, and use ARRAY_LEN instead.
James Canete
2012-10-28 20:35:16 +00:00
5cbe7888f8Fix FBO_*() usage when framebuffers are unavailable or undesired.
James Canete
2012-10-28 20:22:13 +00:00
c4aa3cf8c0Remove speed claim until Rend2 beats opengl1 under typical circumstances.
James Canete
2012-10-28 18:00:29 +00:00
6bc0e6fae4Merge changes to GL_Cull from Rend2 into opengl1 renderer, behavior is the same.
Zack Middleton
2012-10-26 07:40:57 +00:00
3dfd2dac7eSplit Rend2's printing OpenGL extensions string (> 1024 characters) into separate function and merged into opengl1 renderer. (Fixes bug #5559.)
Zack Middleton
2012-10-26 07:23:49 +00:00
64ed856dfdAdd smiletheory to credits in q3_ui.
Zack Middleton
2012-10-26 04:16:25 +00:00
c9e5537341Remove gfxmeminfo command when shuting down Rend2.
Zack Middleton
2012-10-26 04:07:07 +00:00
3814f04a8aFix gcc warnings in Rend2.
Zack Middleton
2012-10-26 03:56:45 +00:00
f4ca81c206Added myself to the list of maintainers.
James Canete
2012-10-26 03:25:24 +00:00
d092ba6627Fix restoring fs_game when default.cfg is missing.
Zack Middleton
2012-10-26 01:27:16 +00:00
4f7eb9fa21Added Rend2, an alternate renderer. (Bug #4358)
James Canete
2012-10-26 01:23:06 +00:00
037565293fFrom /dev/humancontroller: to further reduce confusion, rename constants like MAX_ENTITIES to MAX_REFENTITIES
Zack Middleton
2012-10-17 21:20:29 +00:00
bc4ca164e0From /dev/humancontroller: really fix the confusion with game entity and refentity numbers
Zack Middleton
2012-10-17 21:17:37 +00:00
d49d0753ebWhen in third person, don't play player's sounds as full volume in Base sound system. OpenAL already does this. (Related to bug 5741.)
Zack Middleton
2012-10-17 20:39:45 +00:00
ce9f2ee5f9Check last listener number instead of clc.clientNum in S_AL_HearingThroughEntity so sound work correctly when spectate following a client. (Related to bug 5741.)
Zack Middleton
2012-10-17 19:30:41 +00:00
0167b439c9Don't include client.h in sdl_glimp.c as it is part of the external renderer lib.
Zack Middleton
2012-10-13 23:15:02 +00:00
0a8eb09834Play correct team sounds when in spectator mode and following a player.
Zack Middleton
2012-10-11 18:22:41 +00:00
cf30922932Fix resetting single player level selection in q3_ui when there is no training level, such as in demoq3.
Zack Middleton
2012-09-30 06:21:08 +00:00
a32dc4dca4Fix arrow buttons in q3_ui join server menu to be selectable by mouse.
Zack Middleton
2012-09-30 03:59:10 +00:00
656a0145bcAdded myself to ioq3 credits in q3_ui.
Zack Middleton
2012-09-30 03:10:10 +00:00
11811e8138Fix UI player model FOV when using non-640x480 resolution.
Zack Middleton
2012-09-30 02:56:50 +00:00
2cb7f25093Cache servers for each master server in q3_ui, otherwise servers from last updated master for shown for all Internet# sources.
Zack Middleton
2012-09-17 04:16:30 +00:00
02f3664b2eFix game getting stuck in a do-while loop when "team follow1" or "team follow2" client sends a follownext or followprev command.
Zack Middleton
2012-09-10 01:22:13 +00:00
e3fc1826b1Send team info for team overlay to spectators for the team of the client they're following (bug #5740).
Zack Middleton
2012-09-08 23:19:06 +00:00
56ebe14239Don't have g_teamAutoJoin affect bot's team
Zack Middleton
2012-09-08 22:32:41 +00:00
b4a76e74f7Remove a redundant code statement.
Zack Middleton
2012-09-04 21:13:25 +00:00
1aaf9d3e7bUse correct fallback height and width for r_mode -2.
Zack Middleton
2012-08-27 15:38:55 +00:00
42d3ff8d1dAdded r_mode -2, uses desktop resolution. Bug #5408. Patch by Andrei Drexler and myself.
Zack Middleton
2012-08-27 14:52:41 +00:00
a3ae0dc5efRemoved a check that was made unnessicary by r1644.
Zack Middleton
2012-08-24 18:04:44 +00:00
b82c02fc03Don't replay to status OOB requests in Team Arena single player.
Zack Middleton
2012-08-16 21:38:02 +00:00
027ea8d6d3Oops, still need this
Thilo Schulz
2012-08-08 09:42:33 +00:00
ffac0e6757Move 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
Thilo Schulz
2012-08-08 09:34:03 +00:00
ded2b11959Fix this for real now.
Thilo Schulz
2012-07-23 21:27:17 +00:00
afffc10a54switch mac to the framework SDL...
Zachary Slater
2012-07-18 04:57:52 +00:00
88cbeae0fd* Fix warning
Tim Angus
2012-07-07 18:24:20 +00:00
053aa8ead7Fix windows as well
Thilo Schulz
2012-07-07 18:22:19 +00:00
37f2b4db90* (bug #5709) Fix crash when invoked with --version
Tim Angus
2012-07-07 17:32:19 +00:00
79bb668a9fFixed G_LogPrintf format warning on 64 bit systems added in r2294.
Zack Middleton
2012-07-05 13:42:08 +00:00
2cfda4384bWe should not try to broadcast via the IPv4 socket if that socket is closed.
Zack Middleton
2012-07-05 13:33:55 +00:00
b5456faaeaRevert pk3dir patch because some users report the code gets stuck in an infinite loop in the new code
Thilo Schulz
2012-07-02 01:03:55 +00:00
2c0b262a5aMark JPEG lib changes, file provided by Simon McVittie
Thilo Schulz
2012-07-01 18:07:56 +00:00