]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Thu, 8 May 2014 03:06:11 +0000 (03:06 +0000)]
Reworked r_useportalculling to use expanded portal bboxes based on r_nearclip, this resolves an issue where a portal could lie entirely behind the nearclip plane of the frustum, but still need to be recursed.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12071
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
cc143f0750869f06bef86f11dcbe1c9bef7105f8
havoc [Thu, 8 May 2014 01:02:39 +0000 (01:02 +0000)]
Fixed LightPoint code to deal better with lightmap bounds checking, this resolves several issues with item pickups in specific maps being lit wrong, thanks to jitspoe for discussion that led to this fix.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12070
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
5dc898f93ba0af06ee3eef1f587caab804d6969f
havoc [Thu, 8 May 2014 00:51:07 +0000 (00:51 +0000)]
Fix a compile error when using COLLISION_PARANOID 3.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12069
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
decd84a4a746070c70b3131770d9d7955beebbb2
havoc [Thu, 8 May 2014 00:48:59 +0000 (00:48 +0000)]
Fix sv_jumpstep cvar, whose behavior was completely inverted (jump stepping worked with it off, and did not work with it on).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12068
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
6deb337afd3183721d10723fccd629fd3f5b990c
havoc [Wed, 7 May 2014 22:02:04 +0000 (22:02 +0000)]
fix compile error caused by mixing of SDL2 and SDL1 code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12067
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
c4e49501ff59dbe1b5b0621f239f39538fe6641b
divverent [Wed, 7 May 2014 09:42:41 +0000 (09:42 +0000)]
Turn off alpha blending on vid_softsurface.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12066
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
2daacad69e21dfef8d014fc67482185e2ea8af4e
havoc [Thu, 1 May 2014 01:50:34 +0000 (01:50 +0000)]
changed macosx default LINK_LIB_JPEG from shared to dlopen as we still distribute the jpeg62 version with it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12065
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
7f727de1f30b85b7f12a347b46a6537b572d3864
divverent [Wed, 9 Apr 2014 13:05:42 +0000 (13:05 +0000)]
Argh, had to update the VM_sprintf extension spec. No code change.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12062
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
072bea87c4ac0bafb75912355b248b8dafb5b37e
havoc [Wed, 9 Apr 2014 04:35:09 +0000 (04:35 +0000)]
patch from graphitemaster that changes r_fxaa use of texture2D in
default.glsl to use dp_texture2D instead (which resolves to the correct
texture function on later GL versions)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12061
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
f6dad5a1884f3d5e6c20ad378af8899bb01e7aba
divverent [Sat, 5 Apr 2014 10:07:18 +0000 (10:07 +0000)]
Make r_fxaa also enable postprocessing shaders so only one cvar is
needed to enable FXAA.
From: graphitemaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12060
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
7d1d5e0177e2b428999bc585d06e240bdeb24c86
divverent [Sat, 5 Apr 2014 10:07:15 +0000 (10:07 +0000)]
Properly make the blur conditional on non empty uservecs 1 and 2.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12059
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
4322b75189b0a2b416dfc7a571c94d91337e2c14
havoc [Sun, 16 Mar 2014 00:06:53 +0000 (00:06 +0000)]
changed dpmaster.deathmask.net ip4 address, added ip6 address
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12058
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
a3c1266f29afbcf0794252a5ea2f8d0ab6820307
divverent [Sat, 15 Mar 2014 12:23:41 +0000 (12:23 +0000)]
Fix very stupid typo by me in counting coverage() statements.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12057
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
bb4204c8238b1f2dc07912c01d50f9a03db6b694
divverent [Sat, 8 Mar 2014 17:57:10 +0000 (17:57 +0000)]
Clarify what sprintf does on %1$s %s
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12056
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
217d39f7bcfcbbacdc090dd43c624e3d6aa43ce6
havoc [Tue, 4 Mar 2014 23:21:13 +0000 (23:21 +0000)]
increase MAX_PARTICLEEFFECTNAME and MAX_PARTICLEEFFECTINFO limits
(formerly 256,4096 and now 4096,8192)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12055
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
446a6bb71c7ac5f1d7fe4dc1f6b41d0f01f4a91a
havoc [Wed, 26 Feb 2014 02:38:43 +0000 (02:38 +0000)]
make R_View_UpdateEntityVisible more readable and consistent
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12054
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
dd2a1456eec1f8bbf7a0cc99e13e941e2d179d15
havoc [Mon, 24 Feb 2014 23:44:45 +0000 (23:44 +0000)]
don't skip nearclip plane in R_CullBox as it is possible that the view
is in ortho mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12053
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
8be0763b241d161604c351684c74532a716ec17c
havoc [Thu, 30 Jan 2014 02:05:50 +0000 (02:05 +0000)]
allow .rtlights files to have style values outside the range
0...MAX_LIGHTSTYLES - in particular, -1 is used by fte for unstyled
lights and this is a compatible behavior, just that the loader was
getting in the way.
for safety the MAX_LIGHTSTYLES comparison has been added to each use of
light->style in rendering.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12052
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
3c414347a82d52139aa5473e15d0b9e9242f5f9e
divverent [Fri, 24 Jan 2014 16:39:06 +0000 (16:39 +0000)]
Fix some d0_blind_id related bugs:
- Higher numbered CAs should have priority over lower numbered CAs,
making CA 0 the "default" CA.
- Fix the "Authenticated connection to ..." message (no more -@- crap).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12051
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
2eb1f2e3f267600373aaf015b4caf6ea4a4163dc
divverent [Sat, 18 Jan 2014 11:19:45 +0000 (11:19 +0000)]
Always pass CDS_FULLSCREEN to ChangeDisplaySettings, fixes #1797.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12050
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
5209e22c7ac3a3c254e5d5e12c524e52ec2b140c
divverent [Fri, 10 Jan 2014 18:53:30 +0000 (18:53 +0000)]
sdl2: fix mouse wheel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12049
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
2420097dc121c3bf40bd0fb63c2c1be182720e62
divverent [Fri, 10 Jan 2014 18:38:11 +0000 (18:38 +0000)]
sdl2: fix compile.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12048
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
8b71b1316efa1753420f848c919215e6b46479bb
divverent [Wed, 8 Jan 2014 16:02:04 +0000 (16:02 +0000)]
Support statementprofiling in the fast interpreter.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12047
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
5d1056425e3b98f9aed312478e55190a16415c2b
divverent [Wed, 8 Jan 2014 16:02:01 +0000 (16:02 +0000)]
Restructure profiling to allow easier statement coverage later.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12046
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
66c17456052bcd458a64c76802d04618bd464d05
divverent [Wed, 8 Jan 2014 16:01:58 +0000 (16:01 +0000)]
Use PreError() for warnings too. Simpler code!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12045
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
a98016316992f6daad635aba23295bee1ebeb3fb
divverent [Tue, 7 Jan 2014 19:22:59 +0000 (19:22 +0000)]
Use an explicit jump table for QCVM instruction dispatch.
Also, duplicate the dispatch into the end of each case for additional
speedup (each of these branches gets a separate branch prediction slot
on many CPUs, which pays off quickly).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12044
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
91efd4d4260983eae86f644ff1813cc391d3c27e
divverent [Tue, 7 Jan 2014 16:29:29 +0000 (16:29 +0000)]
Better coverage output.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12043
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
15f3ecf8b59f74d65d3382c729034790650f6264
divverent [Tue, 7 Jan 2014 16:29:25 +0000 (16:29 +0000)]
COVERAGE! Also fixes prvm always running as PRVMSLOWINTERPRETER :(
Very basic implementation. Needs a persistent store later, I suppose, as
well as better output (e.g. for statements and coverage(), also show
function, file and line).
prvm_coverage 1: report function call coverage
prvm_coverage 2: report coverage() builtin coverage (compiler aided)
prvm_coverage 4: report statement coverage (SLOW)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12042
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
f77d65db40fde1a5e3191628c8b1f9a47b76ba08
divverent [Tue, 7 Jan 2014 16:29:21 +0000 (16:29 +0000)]
Fix some warnings.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12041
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
b314e889bc28c04da19258529b3215f37baa6629
Rudolf Polzer [Mon, 6 Jan 2014 12:15:54 +0000 (13:15 +0100)]
Extra commit so the top commit doesn't look like a merge.
Fixes "upstream rebase detected" issues.
Rudolf Polzer [Mon, 6 Jan 2014 10:16:12 +0000 (11:16 +0100)]
divverent [Mon, 6 Jan 2014 10:00:04 +0000 (10:00 +0000)]
Patch by graphitemaster to support column number enhanced lno format.
From: Dale Weiler <killfieldengine@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12040
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
48dd658f8bbfa60efbd5f56d1c208727c4418078
divverent [Mon, 6 Jan 2014 09:49:47 +0000 (09:49 +0000)]
Disable r_water_hideplayer while in chase camera view
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12039
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
52c7f899aabced8885deb6bbb38a696c707afcd3
divverent [Mon, 6 Jan 2014 09:48:46 +0000 (09:48 +0000)]
CSQC entity sending rework.
Properly support returning FALSE from a CSQC entity to mean "remove".
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12038
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
43834947ad92401e07b3f39d1ab1ae42d07a1972
divverent [Mon, 6 Jan 2014 09:48:43 +0000 (09:48 +0000)]
Kill csqcentityglobalhistory.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12037
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
840260bd8692f87bef256f1babe4f096ac965b5d
divverent [Mon, 6 Jan 2014 09:48:40 +0000 (09:48 +0000)]
Give CSQC entity scopes names.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12036
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
c51c392976ac95bdb788a6cdc377f2a46cf169cb
divverent [Mon, 6 Jan 2014 10:00:04 +0000 (10:00 +0000)]
Patch by graphitemaster to support column number enhanced lno format.
From: Dale Weiler <killfieldengine@gmail.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12040
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:49:47 +0000 (09:49 +0000)]
Disable r_water_hideplayer while in chase camera view
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12039
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:46 +0000 (09:48 +0000)]
CSQC entity sending rework.
Properly support returning FALSE from a CSQC entity to mean "remove".
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12038
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:43 +0000 (09:48 +0000)]
Kill csqcentityglobalhistory.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12037
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 6 Jan 2014 09:48:40 +0000 (09:48 +0000)]
Give CSQC entity scopes names.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12036
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 4 Jan 2014 12:46:04 +0000 (12:46 +0000)]
Fix cl_curl_maxspeed 0 + sv_curl_maxspeed > 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12035
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
26f5a6b03b23e117c585266027d8ac533a5320dc
divverent [Fri, 3 Jan 2014 08:26:05 +0000 (08:26 +0000)]
Unbreak most of sv_ratelimitlocalplayer.
A redesign to move the rate stuff from function parameters into the
netconn struct needs doing.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12034
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
f022ab3a2e0a13bac6afd113840a7947518b4805
divverent [Mon, 23 Dec 2013 10:52:33 +0000 (10:52 +0000)]
"log_file_stripcolors" cvar to strip colors from log_file;
Also add condump_stripcolors.
From: nitroxis <nitroxis@wtwrp.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12033
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
b81999f7852b1ab531785fab1d1a5e79ff5a92c7
divverent [Sat, 4 Jan 2014 12:46:04 +0000 (12:46 +0000)]
Fix cl_curl_maxspeed 0 + sv_curl_maxspeed > 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12035
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 3 Jan 2014 08:26:05 +0000 (08:26 +0000)]
Unbreak most of sv_ratelimitlocalplayer.
A redesign to move the rate stuff from function parameters into the
netconn struct needs doing.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12034
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 23 Dec 2013 10:52:33 +0000 (10:52 +0000)]
"log_file_stripcolors" cvar to strip colors from log_file;
Also add condump_stripcolors.
From: nitroxis <nitroxis@wtwrp.de>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12033
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Dec 2013 13:04:19 +0000 (13:04 +0000)]
ENTITYSIZEPROFILING: also log entity number and sendflags.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12032
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
53b4417a2ab67bf1e9fa91ad3c1d9daf42e92e7f
divverent [Thu, 19 Dec 2013 13:04:19 +0000 (13:04 +0000)]
ENTITYSIZEPROFILING: also log entity number and sendflags.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12032
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Nov 2013 02:49:09 +0000 (02:49 +0000)]
Patch from graphitemaster adding r_fxaa cvar, this enables the popular pseudo-antialiasing method in postprocess.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12029
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
bf5e31aa967e11a3ee0ab9f39d1d17519f720326
havoc [Sun, 15 Dec 2013 01:22:30 +0000 (01:22 +0000)]
Upgrade CL_VM_InputEvent to using floats rather than ints, this keeps
the precision on fractional absolute mouse positions.
Changed CL_VM_InputEvent passing of relative mouse moves to no longer
scale by vid_conwidth, vid_conheight as this goes against the intention
in most cases (where mouse turning or similar is being achieved).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12031
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
52e98268042cbf9d4460898e4fa8ebaa023977e2
havoc [Sat, 14 Dec 2013 10:15:36 +0000 (10:15 +0000)]
don't try to validate parameters to an opcode that is unrecognized
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12030
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
99a143e9c97b009ca04e30a317d01e5b0fa15018
havoc [Fri, 29 Nov 2013 20:14:31 +0000 (20:14 +0000)]
patch from Blub to make BSDmakefile work again, this also changes the
build directories from obj/ to build-obj/ due to pmake having a peculiar
fondness for obj/
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12028
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
4774b89a8a498bbe6875a22c48f921068e51f349
havoc [Sun, 15 Dec 2013 01:22:30 +0000 (01:22 +0000)]
Upgrade CL_VM_InputEvent to using floats rather than ints, this keeps
the precision on fractional absolute mouse positions.
Changed CL_VM_InputEvent passing of relative mouse moves to no longer
scale by vid_conwidth, vid_conheight as this goes against the intention
in most cases (where mouse turning or similar is being achieved).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12031
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 14 Dec 2013 10:15:36 +0000 (10:15 +0000)]
don't try to validate parameters to an opcode that is unrecognized
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12030
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Nov 2013 02:49:09 +0000 (02:49 +0000)]
Patch from graphitemaster adding r_fxaa cvar, this enables the popular pseudo-antialiasing method in postprocess.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12029
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Nov 2013 20:14:31 +0000 (20:14 +0000)]
patch from Blub to make BSDmakefile work again, this also changes the
build directories from obj/ to build-obj/ due to pmake having a peculiar
fondness for obj/
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12028
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 20 Nov 2013 06:06:41 +0000 (06:06 +0000)]
suppress shadow entities when preparing an rtlight with shadows
disabled, this way we don't call R_AnimCache_GetEntity on each one
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12027
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
7fbfb88e78f7ca977f68c9b61ba2a25d08ccc223
havoc [Mon, 4 Nov 2013 06:36:48 +0000 (06:36 +0000)]
enable CONFIG_CD on Visual Studio projects, somehow only CONFIG_MENU was added... which meant the cd command was missing, so even if hardware cd playback was not wanted it also lost the ability to play music entirely.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12026
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
802559a5aba2076f1e647c55e08a4d48b31612c4
havoc [Wed, 16 Oct 2013 20:53:13 +0000 (20:53 +0000)]
clarify in_pitch_* cvar descriptions about upward/downward values
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12025
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
adf6ed953670cfef7cdc05928435c159f3af228a
havoc [Wed, 20 Nov 2013 06:06:41 +0000 (06:06 +0000)]
suppress shadow entities when preparing an rtlight with shadows
disabled, this way we don't call R_AnimCache_GetEntity on each one
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12027
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 4 Nov 2013 06:36:48 +0000 (06:36 +0000)]
enable CONFIG_CD on Visual Studio projects, somehow only CONFIG_MENU was added... which meant the cd command was missing, so even if hardware cd playback was not wanted it also lost the ability to play music entirely.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12026
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 16 Oct 2013 20:53:13 +0000 (20:53 +0000)]
clarify in_pitch_* cvar descriptions about upward/downward values
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12025
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 13 Oct 2013 16:40:38 +0000 (16:40 +0000)]
Software tcmod/tcgen: skip if pass needs no texcoords. Fixes #1326.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12024
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
ff5325c494f56b820830f093d26c2d2480925199
divverent [Sun, 13 Oct 2013 16:40:38 +0000 (16:40 +0000)]
Software tcmod/tcgen: skip if pass needs no texcoords. Fixes #1326.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12024
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 11 Oct 2013 14:43:19 +0000 (14:43 +0000)]
Netconn: when an encrypted connection is used, randomly set one or more of three unused NETFLAGs.
When AES encryption is enabled, this will then work around substring
matching in routers/IPS thanks to CBC and our method of IV selection.
See "startkeylogger". Note that this neither improves nor weakens
security - SSL e.g. has the very issue we're fixing here because it is
based on TCP, and thus resends always are identical payloads.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12023
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
d153dbd355a89226bca145dffa6a0d024b5ac8a7
divverent [Thu, 10 Oct 2013 17:15:03 +0000 (17:15 +0000)]
Update m_draw prototype in dpdefs.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12022
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
35be66cc83cf7bdd767b35e10814c037e5754839
divverent [Thu, 10 Oct 2013 17:12:47 +0000 (17:12 +0000)]
Add SLIF_CATEGORY for the server list, and a menu QC function to set it.
Callback:
float m_gethostcachecategory(float entry_id) {
// Is supposed to use gethostcachestring() etc. and return a
// category integer.
// The server list is sorted by this category first if
// SLSF_CATEGORIES is set in the sort flags.
}
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12021
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
d93b11b3f40d1ca94ed20e70c7a2fcf95670df73
divverent [Thu, 10 Oct 2013 17:09:20 +0000 (17:09 +0000)]
Allow refreshserverlist() to also clear the list like net_slist command.
Usage: refreshserverlist(TRUE);
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12020
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
686d46cd465ae8ea163d242384a4f9e2bba10e46
divverent [Thu, 10 Oct 2013 16:53:28 +0000 (16:53 +0000)]
sv_checkforpacketsduringsleep: perform a netconn master server frame
immediately. Fixes ping view in server browser.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12019
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
84faeab78cc37a17bd009d784031602eb8d51932
divverent [Wed, 9 Oct 2013 12:55:05 +0000 (12:55 +0000)]
Fix cl_curl_enabled 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
4f2ee5c6b22ec9ebe565df29419abb7b93b0fabe
divverent [Fri, 11 Oct 2013 14:43:19 +0000 (14:43 +0000)]
Netconn: when an encrypted connection is used, randomly set one or more of three unused NETFLAGs.
When AES encryption is enabled, this will then work around substring
matching in routers/IPS thanks to CBC and our method of IV selection.
See "startkeylogger". Note that this neither improves nor weakens
security - SSL e.g. has the very issue we're fixing here because it is
based on TCP, and thus resends always are identical payloads.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12023
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:15:03 +0000 (17:15 +0000)]
Update m_draw prototype in dpdefs.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12022
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:12:47 +0000 (17:12 +0000)]
Add SLIF_CATEGORY for the server list, and a menu QC function to set it.
Callback:
float m_gethostcachecategory(float entry_id) {
// Is supposed to use gethostcachestring() etc. and return a
// category integer.
// The server list is sorted by this category first if
// SLSF_CATEGORIES is set in the sort flags.
}
From: Samual Lenks <samual@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12021
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 17:09:20 +0000 (17:09 +0000)]
Allow refreshserverlist() to also clear the list like net_slist command.
Usage: refreshserverlist(TRUE);
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12020
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 10 Oct 2013 16:53:28 +0000 (16:53 +0000)]
sv_checkforpacketsduringsleep: perform a netconn master server frame
immediately. Fixes ping view in server browser.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12019
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 9 Oct 2013 12:55:05 +0000 (12:55 +0000)]
Fix cl_curl_enabled 0.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12018
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 30 Sep 2013 19:52:54 +0000 (19:52 +0000)]
support "declaring" particle effects at the top of the effectinfo file
Now "effect EFFECTNAME" without any fields set is harmless; the slot it creates
will be used by a later "effect EFFECTNAME" definition.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12017
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
57875ce96a31394cc088f5cec0ce271f2f081113
divverent [Sun, 29 Sep 2013 11:47:50 +0000 (11:47 +0000)]
Initialize host_dirtytime.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12016
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
1feaefe934dc6ac3dfb160c4eb5ad6177f12e015
havoc [Thu, 26 Sep 2013 23:27:19 +0000 (23:27 +0000)]
fix several visual studio projects which did not have CONFIG_MENU added
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12015
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
168c67550738c884647609f43629688f8bf4d5f4
havoc [Thu, 26 Sep 2013 20:54:23 +0000 (20:54 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
bd6ea691f42e1788efd6bb38447f889d03b9f089
havoc [Thu, 26 Sep 2013 20:47:40 +0000 (20:47 +0000)]
added GAME_SSAMMO
added another column to gameinfo for the network filter name (gamename
for master server), and now replaces spaces with _ characters
automatically when using -customgamename, added
-customgamenetworkfiltername to override this if desired
this is necessary to resolve an issue where games whose names contain
spaces were not being supported by dpmaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12013
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
f7d07d8eab555dd446483d77cf9465489a4cf0ec
havoc [Sat, 21 Sep 2013 18:30:38 +0000 (18:30 +0000)]
restore the wrapping behavior on tcMod scroll for compatibility reasons
(this matches Quake3 logic)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12012
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
0efdb76a8237a96b860b88341f3b42fe5034e34e
divverent [Mon, 30 Sep 2013 19:52:54 +0000 (19:52 +0000)]
support "declaring" particle effects at the top of the effectinfo file
Now "effect EFFECTNAME" without any fields set is harmless; the slot it creates
will be used by a later "effect EFFECTNAME" definition.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12017
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 29 Sep 2013 11:47:50 +0000 (11:47 +0000)]
Initialize host_dirtytime.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12016
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 23:27:19 +0000 (23:27 +0000)]
fix several visual studio projects which did not have CONFIG_MENU added
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12015
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 20:54:23 +0000 (20:54 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12014
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 26 Sep 2013 20:47:40 +0000 (20:47 +0000)]
added GAME_SSAMMO
added another column to gameinfo for the network filter name (gamename
for master server), and now replaces spaces with _ characters
automatically when using -customgamename, added
-customgamenetworkfiltername to override this if desired
this is necessary to resolve an issue where games whose names contain
spaces were not being supported by dpmaster
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12013
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 21 Sep 2013 18:30:38 +0000 (18:30 +0000)]
restore the wrapping behavior on tcMod scroll for compatibility reasons
(this matches Quake3 logic)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12012
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Sep 2013 07:22:34 +0000 (07:22 +0000)]
GLX: Fix desktopfullscreen size when we actually switched to it.
Should fix a few possible issues with getresolution(-1) on a multihead
setup with some window managers.
Also, remove a superfluous memory allocation on GLX when not using
DPSOFTRAST.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12011
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
21f2a75b80193c21c1e5458f531445b979f20454
divverent [Fri, 20 Sep 2013 07:15:58 +0000 (07:15 +0000)]
Fix a compile error on win32 I introduced.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12010
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
7033142b17600b88c273c2460678b386bf7051dd
divverent [Thu, 19 Sep 2013 12:19:24 +0000 (12:19 +0000)]
Rework game specific hacks to have a special group for Nexuiz-derived games.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12009
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
01f19c6c3ff8d4645b8589b3c8274d08a5775af6
divverent [Thu, 19 Sep 2013 12:19:20 +0000 (12:19 +0000)]
Game definitions for Vore Tournament
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12008
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
0a9cb13c130407234be6c297af3006258e90bf3d
divverent [Thu, 19 Sep 2013 11:49:40 +0000 (11:49 +0000)]
TEMPHACK_origin is no longer needed. Begone!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12007
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
4cbebb927f4c6705d991608f61ed8e0f68d06f32
divverent [Fri, 20 Sep 2013 07:22:34 +0000 (07:22 +0000)]
GLX: Fix desktopfullscreen size when we actually switched to it.
Should fix a few possible issues with getresolution(-1) on a multihead
setup with some window managers.
Also, remove a superfluous memory allocation on GLX when not using
DPSOFTRAST.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12011
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 20 Sep 2013 07:15:58 +0000 (07:15 +0000)]
Fix a compile error on win32 I introduced.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12010
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 12:19:24 +0000 (12:19 +0000)]
Rework game specific hacks to have a special group for Nexuiz-derived games.
From: Rudolf Polzer <divverent@xonotic.org>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12009
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 12:19:20 +0000 (12:19 +0000)]
Game definitions for Vore Tournament
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12008
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 19 Sep 2013 11:49:40 +0000 (11:49 +0000)]
TEMPHACK_origin is no longer needed. Begone!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12007
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 18 Sep 2013 09:33:21 +0000 (09:33 +0000)]
vid_desktopfullscreen improvements; allow querying the desktop mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12006
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
e32c37df7da8febe7fd6d5c97159b3fb01c14717