havoc [Wed, 4 Apr 2007 08:32:31 +0000 (08:32 +0000)]
the beginnings of VBO support in the rendering backend
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7042
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 4 Apr 2007 07:16:15 +0000 (07:16 +0000)]
*** empty log message ***
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7041
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 4 Apr 2007 04:28:28 +0000 (04:28 +0000)]
corrected showturtle cvar description (it said it was unused, it actually does work)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7040
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 4 Apr 2007 04:27:17 +0000 (04:27 +0000)]
fixed two timing flaws where cl.realframetime was used instead of (cl.time - cl.oldtime), one being centerprint fade time, and the other being ambient sky/water noise fading
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7039
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 3 Apr 2007 04:09:11 +0000 (04:09 +0000)]
fix bug in the previous movement patch where moves were not applied to the QC fields when not MOVETYPE_WALK
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7038
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 3 Apr 2007 02:44:30 +0000 (02:44 +0000)]
changed PlayerPrethink/think/PlayerPostThink to occur regardless of movement prediction, so they are guarenteed to run every server frame like in quake/quakeworld, only the movement itself is done elsewhere and only for MOVETYPE_WALK cases, this means that animations keep proper sync regardless of prediction timing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7037
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 3 Apr 2007 02:40:06 +0000 (02:40 +0000)]
added detection of VBO extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7036
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 31 Mar 2007 09:56:59 +0000 (09:56 +0000)]
patch from div0 to fix the fixangle logic (my fix apparently didn't work properly either)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7035
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 31 Mar 2007 09:42:34 +0000 (09:42 +0000)]
patch from div0 that improves mac keyboard support in the AGL client, this includes a copy of SDL_mackeys.h (as vid_agl_mackeys.h), it should be kept up to date as appropriate
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7034
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 20:42:13 +0000 (20:42 +0000)]
added back bullet impact sparks due to complaints
made grenade smoke trails only last 2/3rd as long (this matches the quake grenade trail vs the quake rocket trail length)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7032
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 19:59:40 +0000 (19:59 +0000)]
slight improvement to the new bullet smoke
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7031
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 08:48:11 +0000 (08:48 +0000)]
make timedemo and -benchmark use srand(0) to get more predictable results
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7030
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 08:47:12 +0000 (08:47 +0000)]
disabled cl_beams_instantaimhack by default, and disabled it in every Effects: preset in the options menu
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7029
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 08:31:10 +0000 (08:31 +0000)]
removed restrictions on r_fullbright and r_ambient cvars (they can now be used in multiplayer)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7028
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 08:26:37 +0000 (08:26 +0000)]
fix the corona view distance culling checks, had the values swapped between rtlight/dlight cases
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7027
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 08:25:12 +0000 (08:25 +0000)]
changed cl_particles_quake mode to use size 1.5 for particles rather than size 1.0, this makes them about as visible as in glquake
changed explosion sparks to not be affected by gravity and some other differences in how they are spawned
removed sparks on bullet/nail impact effects, made smoke bigger and a bit darker so it's not just small white puffs, it now looks rather nice, and more true to the original quake gunshot/spike/superspike effect
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7026
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 03:33:29 +0000 (03:33 +0000)]
fix bug that caused blood stainmaps to not appear when decals were off
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7025
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 03:28:56 +0000 (03:28 +0000)]
cleaned up R_DrawCoronas code to be more readable/maintainable
modified R_DrawCoronas to use a spherical distance check on coronas rather than a view-direction dependent one, and changed the distance checks, this should get rid of the 'seeing your own muzzleflash corona when looking down' issue
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7024
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 03:26:51 +0000 (03:26 +0000)]
fix bug which caused CL_Move to not see any network bmodels (doors, etc), which caused particles, blood, and coronas to ignore doors and such
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7023
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 30 Mar 2007 01:41:00 +0000 (01:41 +0000)]
fixed specularscale calculation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7022
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 20:23:20 +0000 (20:23 +0000)]
fix warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7021
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 09:18:03 +0000 (09:18 +0000)]
changed Sys_Sleep functions to take microseconds instead of milliseconds (this may mildly improve sleep accuracy on Linux dedicated servers)
modified the host main loop to check for server packets each iteration of the loop rather than at the server framerate (this doesn't accomplish much yet but has potential)
added sv_checkforpacketsduringsleep cvar to enable use of select() instead of Sys_Sleep()
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7020
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 01:39:52 +0000 (01:39 +0000)]
added DP_QC_TOKENIZEBYSEPARATOR extension
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7018
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 00:39:50 +0000 (00:39 +0000)]
added r_shadow_usenormalmap cvar which allows you to disable directional shading on rtlights, looking a bit more like glquake lights, this also renders somewhat faster so it may be of use as a performance tweak for some cards
added an optimized ambient-without-diffuse path in the GLSL shader to help r_shadow_usenormalmap 0 performance
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7017
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 00:33:16 +0000 (00:33 +0000)]
added NetConn_SleepMicroseconds function, and LHNET_SleepUntilPacket_Microseconds function, this uses select() to wait for a specified amount of time or until a packet is received
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7016
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 29 Mar 2007 00:31:57 +0000 (00:31 +0000)]
cl_bob* cvars are now saved
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7015
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 28 Mar 2007 00:42:28 +0000 (00:42 +0000)]
stop demo playback on connect command but do not disconnect
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7014
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 27 Mar 2007 19:48:09 +0000 (19:48 +0000)]
added .float disableclientprediction field for qc to use to disable prediction intentionally if it so wishes
added .movetype check to disable prediction whenever movetype is not MOVETYPE_WALK, this fixes unwanted prediction issues in all known cases
moved prediction disabling code from SV_ReadClientMove to SV_ExecuteClientMoves as a minor cleanup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7013
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 27 Mar 2007 19:43:56 +0000 (19:43 +0000)]
remove unused variable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7012
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 27 Mar 2007 18:36:21 +0000 (18:36 +0000)]
made scr_printspeed 0 also disable slow printing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7011
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 27 Mar 2007 18:30:44 +0000 (18:30 +0000)]
changed default value of scr_printspeed from 8 to
1000000 to disable the slow printing entirely, as it is more annoying than useful
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7010
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Tue, 27 Mar 2007 18:28:23 +0000 (18:28 +0000)]
patch from div0 to make svc_finale text show up immediately if scr_printspeed is a very high value
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7009
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 Mar 2007 04:45:19 +0000 (04:45 +0000)]
remove unnecessary calculations of absmin/absmax in csqc builtins, they're not used by the engine and are updated by setorigin/setsize
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7008
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 Mar 2007 04:39:47 +0000 (04:39 +0000)]
slight optimization to CSQC_AddRenderEdict - don't fetch renderflags twice
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7007
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 Mar 2007 02:40:26 +0000 (02:40 +0000)]
fix bug in the last commit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7006
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 26 Mar 2007 02:04:42 +0000 (02:04 +0000)]
patch from div0 to fix issues with libcurl on old nexuiz servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7005
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 25 Mar 2007 00:49:42 +0000 (00:49 +0000)]
eliminated dependency on quakedef.h, this file now compile standalone without any problems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7004
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 Mar 2007 23:04:58 +0000 (23:04 +0000)]
changed default value of cl_netinputpacketlosstolerance from 4 to 1, matching Quake3, as it's actually quite rare for more than every other packet to be lost
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7003
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 Mar 2007 17:55:42 +0000 (17:55 +0000)]
as requested by div0, sprint to world now behaves like print
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7002
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 24 Mar 2007 17:46:19 +0000 (17:46 +0000)]
moved clearing of self.fixangle to SV_Physics_ClientEntity so that it is only cleared each time PlayerPreThink is called, fixing bugs with irregular move times causing spectating smoothing to fail
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7001
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 19 Mar 2007 17:53:06 +0000 (17:53 +0000)]
added glFinish() call to loading screen (which uses front buffer rendering) to make it work on Windows Vista
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7000
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 19 Mar 2007 14:10:19 +0000 (14:10 +0000)]
added leaf culling using the shadow-caster frustum, this got a very small gain
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6999
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 18 Mar 2007 22:44:59 +0000 (22:44 +0000)]
changed bestweapon command to match the one in proquake - taking each weapon identifier as a separate parameter, rather than one string of them, I don't know why the person asking for bestweapon support gave me an example of a single parameter as no other engine seems to do it that way
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6998
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 18 Mar 2007 17:52:32 +0000 (17:52 +0000)]
added iplog support (iplog_list command, iplog_name cvar, and automatic gathering of ip addresses from status commands)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6997
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 18 Mar 2007 17:04:28 +0000 (17:04 +0000)]
added cl_movement_minping cvar, default 50, this shuts off prediction when your ping time is below 50ms, such as in local games or lan games
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6996
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 17 Mar 2007 13:27:02 +0000 (13:27 +0000)]
changed some prints to dprints
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6995
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 17 Mar 2007 13:19:00 +0000 (13:19 +0000)]
reenabled vid_grabkeyboard by default until the focus issue is figured out
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6994
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 17 Mar 2007 13:08:52 +0000 (13:08 +0000)]
play a different sound (sound/misc/talk2.wav) for team chat messages (only if the file exists of course), to accomplish this the team chat messages now have () around the player name, which is compatible with other engines with this feature
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6993
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 12:35:53 +0000 (12:35 +0000)]
cl_autodemo and cl_autodemo_nameformat are now saved cvars
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6992
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 09:37:04 +0000 (09:37 +0000)]
fixed cl_autodemo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6991
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 09:34:24 +0000 (09:34 +0000)]
fixed bug where every name/color/playermodel/playerskin/etc property change was sent twice
removed some autodemo code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6990
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 09:29:11 +0000 (09:29 +0000)]
corrected name of gl_ext_separatestencil server (it was missing the second s)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6989
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 03:13:22 +0000 (03:13 +0000)]
reenabled keyboard grab when fullscreen - this is just a temporary solution, the window should be focused but isn't
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6988
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 16 Mar 2007 00:36:27 +0000 (00:36 +0000)]
fix a double typo (thanks Willis)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6987
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 14:29:41 +0000 (14:29 +0000)]
fix an error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6985
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 14:06:03 +0000 (14:06 +0000)]
disabled cl_movement prediction when cls.servermovesequence is 0 (either a protocol that does not support move synchronization, or prediction is disabled)
removed cl_movement_latency cvar as it no longer serves any purpose with the removal of support for prediction on unsynchronized move protocols
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6984
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 13:54:37 +0000 (13:54 +0000)]
rewrote stringlist stuff, now uses a (dynamically resizing) array of pointers rather than a linked list, and uses a selection sort rather than a bubble sort, this has changed the "maps" command from taking about 7 seconds on my system to about 70ms
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6983
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 12:49:57 +0000 (12:49 +0000)]
fix a crash in maps command
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6982
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 12:10:27 +0000 (12:10 +0000)]
aligned menu options to not cover the quake logo plaque on the left side
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6981
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 11:34:14 +0000 (11:34 +0000)]
main options menu now has only the most frequently used options, and contains several presets for effects and lighting (renamed Graphics Options to Lighting)
main options menu now fits on a 320x240 display
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6980
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 11:32:01 +0000 (11:32 +0000)]
updated with new default value of con_closeontoggleconsole
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6979
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 11:23:50 +0000 (11:23 +0000)]
reworked quake query code (CCREQ_/CCREP_ handling) to use MSG_Read functions, it was previously using a mixture of these and direct packet parsing, which was not working, this means quake query tools work again
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6978
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 10:34:24 +0000 (10:34 +0000)]
separated the code that sends player name and such into CL_SendPlayerInfo
moved call to CL_SendPlayerInfo from signon 2 to signon 1
moved cl_begindownloads from signon 2 to signon 1, this fixes the 'no ambient sounds' bug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6977
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 10:32:11 +0000 (10:32 +0000)]
changed default snd_soundradius from 1000 to 2000, matching proquake (which attempts to match dos quake), this means you can fire a rocket across the outdoor pent area in dm3 and hear the explosion
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6976
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 10:12:52 +0000 (10:12 +0000)]
implemented support for fuhquake macros in fuhquake/QIZMO format .loc files, hardcoded the strings for these rather than using cvars (unlike fuhquake) because excess settings is silly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6975
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 08:34:05 +0000 (08:34 +0000)]
made cl_bob 0 also disable cl_bobmodel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6974
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 08:28:10 +0000 (08:28 +0000)]
changed default value of con_closeontoggleconsole due to a never ending stream of complaints about the ~ key not closing the console
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6973
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 15 Mar 2007 08:10:30 +0000 (08:10 +0000)]
set pmodel/emodel keys in userinfo for qw servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6972
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Mar 2007 10:33:43 +0000 (10:33 +0000)]
add apple_multithreadedgl cvar (offloads OpenGL driver to a second thread if possible), off by default (may change to on if I get feedback from testers)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6971
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Mar 2007 08:48:51 +0000 (08:48 +0000)]
added cl_particles_rain and cl_particles_snow cvars to allow disabling of these types of particles, based on a patch from esteel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6970
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Mar 2007 08:48:00 +0000 (08:48 +0000)]
added a missing return statement in the 'any-dimension' bspline example code (which is in a comment so this has no effect on code)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6969
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Mar 2007 03:09:29 +0000 (03:09 +0000)]
fix bug where transparent models used an out of date material (generated earlier in the same frame), which caused problems when multiple instances of the same model exist in the same frame and one or more of them are transparent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6968
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Wed, 14 Mar 2007 02:08:28 +0000 (02:08 +0000)]
loc file parsing now supports whitespace following commas (I did not previously have such a test file)
now rejects malformed proquake-format loc file lines that do not have a quoted string directly after the 6 numbers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6967
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 12:30:57 +0000 (12:30 +0000)]
removed duplicate entries in the cvar list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6966
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 12:28:00 +0000 (12:28 +0000)]
removed "Future supported games" section as it really serves no purpose
sorted cvar list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6965
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 11:39:11 +0000 (11:39 +0000)]
442
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6964
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 11:29:40 +0000 (11:29 +0000)]
446
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6963
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 11:29:20 +0000 (11:29 +0000)]
updated readme
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6962
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 06:21:21 +0000 (06:21 +0000)]
multiline cvar_t descriptions cause problems when building the readme
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6961
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 05:58:29 +0000 (05:58 +0000)]
removed trailing comments on cvar declarations and Cmd_AddCommand calls
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6960
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 05:44:45 +0000 (05:44 +0000)]
corrected some comments
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6959
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 05:31:02 +0000 (05:31 +0000)]
removed -demolooponly commandline option as it did precisely the same thing as -demo, and I don't feel like implementing the feature its name implies
corrected a mention of host_maxfps to cl_maxfps in host_framerate cvar description
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6958
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 05:26:59 +0000 (05:26 +0000)]
added vid_grabkeyboard cvar which defaults to 0, this means that the glx client no longer locks out window manager hotkeys (such as volume control and music player control keys, as well as alt-tab)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6957
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 04:18:32 +0000 (04:18 +0000)]
implemented proper handling of .frame2/.lerpfrac/.frame1time/.frame2time fields in csqc entities
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6956
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 02:33:27 +0000 (02:33 +0000)]
added support for locs/something.loc naming in loc file loading code, for proquake filename compatibility
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6955
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Mon, 12 Mar 2007 02:28:15 +0000 (02:28 +0000)]
disable interpolation of predicted movement locations when a teleport occurred (just like unpredicted movement is not interpolated in this case)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6954
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Mar 2007 23:56:44 +0000 (23:56 +0000)]
don't abort a download if a level change occurs during the download, instead just wait for it to finish before signing in to the new level
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6953
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Mar 2007 23:54:14 +0000 (23:54 +0000)]
make gamedir command work on dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6952
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Mar 2007 23:53:31 +0000 (23:53 +0000)]
increased minimum developer cvar level for several spammy messages (new engine string, sample frames missing) from 100 to 200, to make 100 more usable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6951
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Mar 2007 07:41:47 +0000 (07:41 +0000)]
implemented .loc file support, including some editing (add command, and removenearest command) and viewing capability (r_speeds now shows the current location name, and locs_show 1 displays the actual boxes/points as translucent boxes)
implemented proquake message macros (%l, %d, %h, %a, etc), can be disabled by locs_enable 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6950
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sun, 11 Mar 2007 03:34:50 +0000 (03:34 +0000)]
changed brightness of unlit q1bsp maps from 2x white to 1x white (so textures show as their true colors rather than twice as bright)
fixed bug that made models black in unlit q1bsp maps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6949
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Mar 2007 10:41:10 +0000 (10:41 +0000)]
fix incorrect parameter count check on setspawnparms, this was causing coop servers to suddenly quit when someone respawned
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6948
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Mar 2007 02:39:07 +0000 (02:39 +0000)]
removed master 12.166.196.192 (run by Venim) because it hasn't been responding for a long time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6947
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Fri, 9 Mar 2007 00:13:19 +0000 (00:13 +0000)]
added cl_dlights_decayradius and cl_dlights_decaybrightness cvars, both default on, this brings back the quake-style radius decay, and keeps the more recently added brightness decay, benchmarks suffered when radius decay was removed, so its return should restore any losses associated with that
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6946
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Mar 2007 23:50:28 +0000 (23:50 +0000)]
implemented shadow caster culling by creating a frustum plane set that includes the light origin, any object that is not within this frustum (which encloses the screen and a triangular-shaped volume extending to the light origin) can not possibly cast a shadow onto the visible geometry, this reduces cpu work in a few cases (off-screen explosion with several entities further off-screen)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6945
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Mar 2007 23:39:14 +0000 (23:39 +0000)]
fixed bug in portal culling code that allowed a leaf to be revisited multiple times, causing it to be counted multiple times, and wasting a small amount of time marking surfaces redundantly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6944
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Mar 2007 23:36:23 +0000 (23:36 +0000)]
reworked prediction code to work better when riding lifts
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6943
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Mar 2007 23:33:57 +0000 (23:33 +0000)]
refactored csqc entity sending code so that it properly obeys msg->maxsize, undoing writes that could not fit
added comment about how csqc entity sending code needs some changes to avoid packet loss problems
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6942
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Thu, 8 Mar 2007 23:32:45 +0000 (23:32 +0000)]
added a few more Vector4 macros
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6941
d7cf8633-e32d-0410-b094-
e92efae38249
havoc [Sat, 3 Mar 2007 22:06:57 +0000 (22:06 +0000)]
changed entity networking prioritization code to use the center of the model rather than the origin, this fixes prioritization of doors and lifts which typically have their origin near '0 0 0' rather than inside the entity box
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6940
d7cf8633-e32d-0410-b094-
e92efae38249