]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
13 years agohandle failure of video capture startup
Rudolf Polzer [Tue, 4 Jan 2011 13:20:38 +0000 (14:20 +0100)]
handle failure of video capture startup

13 years agoswitch to a working combination of container and codec
Rudolf Polzer [Tue, 4 Jan 2011 13:15:17 +0000 (14:15 +0100)]
switch to a working combination of container and codec

13 years agobe lossless by default
Rudolf Polzer [Tue, 4 Jan 2011 12:59:51 +0000 (13:59 +0100)]
be lossless by default

13 years agofix DLL names for win32
Rudolf Polzer [Tue, 4 Jan 2011 12:59:07 +0000 (13:59 +0100)]
fix DLL names for win32

13 years agotype fixes
Rudolf Polzer [Tue, 4 Jan 2011 12:30:28 +0000 (13:30 +0100)]
type fixes

13 years agoa comment
Rudolf Polzer [Tue, 4 Jan 2011 12:23:33 +0000 (13:23 +0100)]
a comment

13 years agouse integer types properly
Rudolf Polzer [Tue, 4 Jan 2011 12:22:50 +0000 (13:22 +0100)]
use integer types properly

13 years agoproperly load libavcodec/avformat/avutil version 52/52/50
Rudolf Polzer [Tue, 4 Jan 2011 12:08:36 +0000 (13:08 +0100)]
properly load libavcodec/avformat/avutil version 52/52/50

13 years agoadd DP_LINK_TO_LAVC
Rudolf Polzer [Tue, 4 Jan 2011 11:25:38 +0000 (12:25 +0100)]
add DP_LINK_TO_LAVC

13 years agoadd minimal libav* headers
Rudolf Polzer [Tue, 4 Jan 2011 11:13:35 +0000 (12:13 +0100)]
add minimal libav* headers

13 years agofree more stuff
Rudolf Polzer [Tue, 4 Jan 2011 07:03:54 +0000 (08:03 +0100)]
free more stuff

13 years agoalso specify crf
Rudolf Polzer [Mon, 3 Jan 2011 22:42:06 +0000 (23:42 +0100)]
also specify crf

13 years agobetter defaults (x264 now)
Rudolf Polzer [Mon, 3 Jan 2011 22:18:34 +0000 (23:18 +0100)]
better defaults (x264 now)

13 years agobetter...
Rudolf Polzer [Mon, 3 Jan 2011 22:13:06 +0000 (23:13 +0100)]
better...

13 years agotypo fix
Rudolf Polzer [Mon, 3 Jan 2011 22:08:58 +0000 (23:08 +0100)]
typo fix

13 years agonow should work
Rudolf Polzer [Mon, 3 Jan 2011 22:05:41 +0000 (23:05 +0100)]
now should work

13 years agofix comments
Rudolf Polzer [Mon, 3 Jan 2011 19:47:10 +0000 (20:47 +0100)]
fix comments

13 years agomore libavcodec
Rudolf Polzer [Mon, 3 Jan 2011 19:43:48 +0000 (20:43 +0100)]
more libavcodec

13 years agolibavcodec start
Rudolf Polzer [Mon, 3 Jan 2011 18:42:50 +0000 (19:42 +0100)]
libavcodec start

13 years agoget rid of more clang warnings
divverent [Mon, 3 Jan 2011 07:19:48 +0000 (07:19 +0000)]
get rid of more clang warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10692 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoget rid of clang warnings for SETPVSBIT/CLEARPVSBIT
divverent [Mon, 3 Jan 2011 07:19:41 +0000 (07:19 +0000)]
get rid of clang warnings for SETPVSBIT/CLEARPVSBIT

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10691 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a warning by clang
divverent [Sun, 2 Jan 2011 22:51:37 +0000 (22:51 +0000)]
fix a warning by clang

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10690 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoBetter perspective effect for SPR_OVERHEAD, added global xy scale for them.
vortex [Sun, 2 Jan 2011 16:48:22 +0000 (16:48 +0000)]
Better perspective effect for SPR_OVERHEAD, added global xy scale for them.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10689 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a stupid extra declaration in the glsl shader
divverent [Wed, 29 Dec 2010 18:09:55 +0000 (18:09 +0000)]
fix a stupid extra declaration in the glsl shader

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10688 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix the overflow checks in snd_ogg to handle different input and output sampling...
divverent [Wed, 29 Dec 2010 10:59:30 +0000 (10:59 +0000)]
fix the overflow checks in snd_ogg to handle different input and output sampling rates

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10687 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a bug in special character translation leading to console spam
divverent [Mon, 27 Dec 2010 11:00:57 +0000 (11:00 +0000)]
fix a bug in special character translation leading to console spam

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10686 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix handling of the restart-animation bit
divverent [Sun, 26 Dec 2010 20:14:31 +0000 (20:14 +0000)]
fix handling of the restart-animation bit

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10685 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoavgcolor calculation: also calculate alpha for DXT3
divverent [Sun, 26 Dec 2010 09:59:49 +0000 (09:59 +0000)]
avgcolor calculation: also calculate alpha for DXT3

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10684 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoshut down a lot of startup developer spam
divverent [Sat, 25 Dec 2010 17:51:28 +0000 (17:51 +0000)]
shut down a lot of startup developer spam

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10683 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoless unix terminal spam if developer <= 0 (should this get an option or not? probably...
divverent [Sat, 25 Dec 2010 17:43:37 +0000 (17:43 +0000)]
less unix terminal spam if developer <= 0 (should this get an option or not? probably not, anyone who wants to see this can do developer 1); developer stuff still by default ends up in logfile, rcon replies, condump

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10682 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a C++ error
divverent [Sat, 25 Dec 2010 16:55:15 +0000 (16:55 +0000)]
fix a C++ error

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10681 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix avgcolor calculation with fake S3TC decoding
divverent [Sat, 25 Dec 2010 16:48:06 +0000 (16:48 +0000)]
fix avgcolor calculation with fake S3TC decoding

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10680 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoadd a trivial quarter-res S3TC decoder to DDS loading
divverent [Sat, 25 Dec 2010 16:22:57 +0000 (16:22 +0000)]
add a trivial quarter-res S3TC decoder to DDS loading

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10679 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoalso make the darkplaces menu able to enter up to 127 chars in the name field
divverent [Thu, 23 Dec 2010 01:30:56 +0000 (01:30 +0000)]
also make the darkplaces menu able to enter up to 127 chars in the name field

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10678 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoalso make MAX_SCOREBOARDNAME 128 in the small memory profile, as it doesn't mean...
divverent [Thu, 23 Dec 2010 01:29:43 +0000 (01:29 +0000)]
also make MAX_SCOREBOARDNAME 128 in the small memory profile, as it doesn't mean much memory usage

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10677 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoallow more font sizes
divverent [Thu, 23 Dec 2010 01:27:02 +0000 (01:27 +0000)]
allow more font sizes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10676 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoallow longer player names
divverent [Tue, 21 Dec 2010 20:33:12 +0000 (20:33 +0000)]
allow longer player names

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10675 d7cf8633-e32d-0410-b094-e92efae38249

13 years agor_showsurfaces: fix "ghost normals"
divverent [Sat, 18 Dec 2010 21:58:45 +0000 (21:58 +0000)]
r_showsurfaces: fix "ghost normals"

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10674 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoequalize entities: desaturate the lightgrid when equalizing fullbright entities
divverent [Sat, 18 Dec 2010 20:12:02 +0000 (20:12 +0000)]
equalize entities: desaturate the lightgrid when equalizing fullbright entities

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10673 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a warning
divverent [Sat, 18 Dec 2010 20:06:14 +0000 (20:06 +0000)]
fix a warning

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10672 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoglx build, Linux: remove one source of message spam (when /dev/cdrom is not readable)
divverent [Sat, 18 Dec 2010 17:38:01 +0000 (17:38 +0000)]
glx build, Linux: remove one source of message spam (when /dev/cdrom is not readable)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10671 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix display of r_shownormals < 0
divverent [Sat, 18 Dec 2010 11:12:36 +0000 (11:12 +0000)]
fix display of r_shownormals < 0

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10670 d7cf8633-e32d-0410-b094-e92efae38249

13 years agodo not crash if loading a particlefont texture fails
divverent [Fri, 17 Dec 2010 09:15:31 +0000 (09:15 +0000)]
do not crash if loading a particlefont texture fails

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10669 d7cf8633-e32d-0410-b094-e92efae38249

13 years agotorgue->torque
vortex [Thu, 16 Dec 2010 18:14:21 +0000 (18:14 +0000)]
torgue->torque

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10668 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoODE improvements:
vortex [Thu, 16 Dec 2010 17:49:24 +0000 (17:49 +0000)]
ODE improvements:
- physics_enable builtin (enable/disable objects)
- physics_addforce (add force to certain point in object)
- physics_addtorgue (add relative torgue)
- extension documented as "DP_PHYSICS_ODE", added additional check if lib is enabled in checextension()
- #ifdef'ed usage of dWorldStepFast1 and make it off by default as it's been removed from ODE trunk
- added "collision" mesh support, if there is some mesh with "collision" texture, all other meshes are ignored and that mesh is used.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10667 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix glgl water trick that doesnt work well (it was doing 0.5 alphamod near egges)
vortex [Thu, 16 Dec 2010 17:42:36 +0000 (17:42 +0000)]
fix glgl water trick that doesnt work well (it was doing 0.5 alphamod near egges)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10666 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoif a skyboxskinframe is missing, don't draw that sky surface (fixes crash if some...
divverent [Thu, 16 Dec 2010 06:46:40 +0000 (06:46 +0000)]
if a skyboxskinframe is missing, don't draw that sky surface (fixes crash if some but not all skybox files exist; also allows a quicker "partial skybox" where e.g. the bottom side isn't even drawn at all)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10665 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoWhen reallocating CSQC render entity space, make sure existing render edicts referenc...
divverent [Thu, 16 Dec 2010 06:39:02 +0000 (06:39 +0000)]
When reallocating CSQC render entity space, make sure existing render edicts referencing them are adjusted

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10664 d7cf8633-e32d-0410-b094-e92efae38249

13 years agocare for the premultiplied-alpha flag when handling DDS files (use DXT2/DXT4 FOURCC...
divverent [Wed, 15 Dec 2010 12:01:47 +0000 (12:01 +0000)]
care for the premultiplied-alpha flag when handling DDS files (use DXT2/DXT4 FOURCC when writing, and show a warning when loading if the type is wrong)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10663 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofound out why the water plane issue happend: namely, when a water plane is backface...
divverent [Tue, 14 Dec 2010 17:57:32 +0000 (17:57 +0000)]
found out why the water plane issue happend: namely, when a water plane is backface culled, R_Water_FindPlane may not find ANY plane. Remove the print, ignore the damage it causes (as the damage only consists of some additional tris being rendered that should not, but instead less batches).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10662 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoremove another useless check
divverent [Tue, 14 Dec 2010 15:23:30 +0000 (15:23 +0000)]
remove another useless check

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10661 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a case where r_hdr 1 can cause message spam (previously: crashes) for not existin...
divverent [Tue, 14 Dec 2010 15:20:29 +0000 (15:20 +0000)]
fix a case where r_hdr 1 can cause message spam (previously: crashes) for not existing but referenced waterplanes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10660 d7cf8633-e32d-0410-b094-e92efae38249

13 years agodo not crash if no matching water plane could be found (BUT WHY DOES THIS HAPPEN...
divverent [Tue, 14 Dec 2010 14:17:41 +0000 (14:17 +0000)]
do not crash if no matching water plane could be found (BUT WHY DOES THIS HAPPEN TO BEGIN WITH)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10659 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix sys_specialcharactertranslation for utf-8 mode
divverent [Sun, 12 Dec 2010 20:50:15 +0000 (20:50 +0000)]
fix sys_specialcharactertranslation for utf-8 mode

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10658 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoturn another print into a dprint
divverent [Sun, 12 Dec 2010 19:46:39 +0000 (19:46 +0000)]
turn another print into a dprint

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10657 d7cf8633-e32d-0410-b094-e92efae38249

13 years agobe more silent about self-pack
divverent [Sun, 12 Dec 2010 19:44:32 +0000 (19:44 +0000)]
be more silent about self-pack

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10656 d7cf8633-e32d-0410-b094-e92efae38249

13 years agodo not parse $variable stuff inside //comments
divverent [Sun, 12 Dec 2010 19:37:58 +0000 (19:37 +0000)]
do not parse $variable stuff inside //comments

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10655 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix some stupid ft2.c warnings
divverent [Sun, 12 Dec 2010 19:25:06 +0000 (19:25 +0000)]
fix some stupid ft2.c warnings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10654 d7cf8633-e32d-0410-b094-e92efae38249

13 years agosimplify it, and make it a bit nicer to the GPU
divverent [Sun, 12 Dec 2010 17:59:25 +0000 (17:59 +0000)]
simplify it, and make it a bit nicer to the GPU

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10653 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix loading screen handling (prevent self-overdraw)
divverent [Sun, 12 Dec 2010 17:46:27 +0000 (17:46 +0000)]
fix loading screen handling (prevent self-overdraw)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10652 d7cf8633-e32d-0410-b094-e92efae38249

13 years agocustomizable loading screen picture scale, including limiting to screen bounds in...
divverent [Sun, 12 Dec 2010 13:37:51 +0000 (13:37 +0000)]
customizable loading screen picture scale, including limiting to screen bounds in different modes

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10651 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a terminologic bug
divverent [Fri, 10 Dec 2010 20:40:03 +0000 (20:40 +0000)]
fix a terminologic bug

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10650 d7cf8633-e32d-0410-b094-e92efae38249

13 years agouse MAX_SCOREBOARDNAME instead of a hardcoded 64 bytes length in one struct definition
divverent [Thu, 9 Dec 2010 11:04:30 +0000 (11:04 +0000)]
use MAX_SCOREBOARDNAME instead of a hardcoded 64 bytes length in one struct definition

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10649 d7cf8633-e32d-0410-b094-e92efae38249

13 years agomaked cl_video to have module playback, so several video formats can be implemented...
vortex [Sat, 4 Dec 2010 14:24:55 +0000 (14:24 +0000)]
maked cl_video to have module playback, so several video formats can be implemented. Quite nasty yet, as streaming audio is not supported and all videos have extension .dpv (as set by playvideo command).

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10648 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoallow rtdlight off, rtworld on
divverent [Fri, 3 Dec 2010 21:39:51 +0000 (21:39 +0000)]
allow rtdlight off, rtworld on

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10647 d7cf8633-e32d-0410-b094-e92efae38249

13 years agocvar saving: do not save all ALLOCATED cvars (seta), only save all cvars that were...
divverent [Fri, 3 Dec 2010 10:26:23 +0000 (10:26 +0000)]
cvar saving: do not save all ALLOCATED cvars (seta), only save all cvars that were not locked in by cvar_lockdefaults, so default.cfg-created cvars do not always spam the config file

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10646 d7cf8633-e32d-0410-b094-e92efae38249

13 years ago100% untested: additionally apply mastervolume to ambient sound channels
divverent [Wed, 1 Dec 2010 08:12:17 +0000 (08:12 +0000)]
100% untested: additionally apply mastervolume to ambient sound channels

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10645 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix random white pixels with r_shadow_glossexact caused by unnormalized VectorS/T/R
divverent [Tue, 30 Nov 2010 19:18:25 +0000 (19:18 +0000)]
fix random white pixels with r_shadow_glossexact caused by unnormalized VectorS/T/R

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10644 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoAttempt to stabilize ODE. Now using constant step (sys_ticrate set steptime) - on...
vortex [Mon, 29 Nov 2010 19:01:22 +0000 (19:01 +0000)]
Attempt to stabilize ODE. Now using constant step (sys_ticrate set steptime) - on by default, recommended by ODE Manual, reduces jitter alot. Added object autodisabling, makes stacks to be faster. NaN fixing is optional now (on by default) on me it doesnt help with ODE double precision DLL, moreover it makes objects jitter and blink to '0 0 0' origin sometimes. Added simple physics stats printing (via physics_ode_printstats), added world damping controls (cvars, on by default). Reworked worldstep* cvars to use 2 cvars instead of 4.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10643 d7cf8633-e32d-0410-b094-e92efae38249

13 years agohandle a missing key more gracefully in crypto_uri_postbuf
divverent [Sun, 28 Nov 2010 17:11:17 +0000 (17:11 +0000)]
handle a missing key more gracefully in crypto_uri_postbuf

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10642 d7cf8633-e32d-0410-b094-e92efae38249

13 years agostrlennocol: fix color codes :P
divverent [Sun, 28 Nov 2010 14:36:29 +0000 (14:36 +0000)]
strlennocol: fix color codes :P

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10641 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoalso support signed GET requests. We will always sign the [postdata, "\0"], query...
divverent [Fri, 26 Nov 2010 21:02:42 +0000 (21:02 +0000)]
also support signed GET requests. We will always sign the [postdata, "\0"], query string

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10640 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoremove a stupid buf2file call
divverent [Fri, 26 Nov 2010 11:58:41 +0000 (11:58 +0000)]
remove a stupid buf2file call

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10639 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix stdio mode
divverent [Fri, 26 Nov 2010 06:02:05 +0000 (06:02 +0000)]
fix stdio mode

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10638 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix typo
divverent [Fri, 26 Nov 2010 05:57:28 +0000 (05:57 +0000)]
fix typo

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10637 d7cf8633-e32d-0410-b094-e92efae38249

13 years agocrypto-keygen-standalone: allow reading from file descriptors
divverent [Fri, 26 Nov 2010 05:56:23 +0000 (05:56 +0000)]
crypto-keygen-standalone: allow reading from file descriptors

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10636 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix two typos
divverent [Thu, 25 Nov 2010 20:30:49 +0000 (20:30 +0000)]
fix two typos

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10635 d7cf8633-e32d-0410-b094-e92efae38249

13 years agouse detached signatures for http post (more compatible to PHP)
divverent [Thu, 25 Nov 2010 20:30:46 +0000 (20:30 +0000)]
use detached signatures for http post (more compatible to PHP)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10634 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoinitial work for DETACHED signatures
divverent [Thu, 25 Nov 2010 20:30:42 +0000 (20:30 +0000)]
initial work for DETACHED signatures

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10633 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a cast
divverent [Thu, 25 Nov 2010 19:51:49 +0000 (19:51 +0000)]
fix a cast

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10632 d7cf8633-e32d-0410-b094-e92efae38249

13 years agomove base64 to common code
divverent [Thu, 25 Nov 2010 19:51:46 +0000 (19:51 +0000)]
move base64 to common code

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10631 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix warnings by adding type casts
vortex [Thu, 25 Nov 2010 19:23:41 +0000 (19:23 +0000)]
fix warnings by adding type casts

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10630 d7cf8633-e32d-0410-b094-e92efae38249

13 years agosupport passing extra headers in POST requests; but this is not used yet
divverent [Thu, 25 Nov 2010 18:59:39 +0000 (18:59 +0000)]
support passing extra headers in POST requests; but this is not used yet

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10629 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a typo
divverent [Thu, 25 Nov 2010 18:46:32 +0000 (18:46 +0000)]
fix a typo

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10628 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoDP_QC_URI_POST extension (uri_post, uri_postbuf, crypto_uri_postbuf)
divverent [Thu, 25 Nov 2010 12:56:30 +0000 (12:56 +0000)]
DP_QC_URI_POST extension (uri_post, uri_postbuf, crypto_uri_postbuf)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10627 d7cf8633-e32d-0410-b094-e92efae38249

13 years agomove r_stereo adjustments into R_RenderView so that it executes AFTER CSQC may have...
divverent [Wed, 24 Nov 2010 20:58:27 +0000 (20:58 +0000)]
move r_stereo adjustments into R_RenderView so that it executes AFTER CSQC may have adjusted the view. Makes redblue stereo work even in steel storm.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10626 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a stupid warning on OS X
divverent [Wed, 24 Nov 2010 20:35:56 +0000 (20:35 +0000)]
fix a stupid warning on OS X

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10625 d7cf8633-e32d-0410-b094-e92efae38249

13 years agorefactored and optimized the R_Q1BSP_RecursiveGetLightInfo function
havoc [Mon, 22 Nov 2010 00:57:14 +0000 (00:57 +0000)]
refactored and optimized the R_Q1BSP_RecursiveGetLightInfo function
properly clear the leaf, surface, and triangle visibility data on a
light, this might fix performance issues with the SVBSP culling method
added a BIH (bounding interval hierarchy) culling method for lights
rather than just the BSP method used by default, however this has
yielded no performance gains outside of .obj maps, so by default it only
uses this new method on .obj maps (where the lack of vis culling is
unimportant)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10624 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix a couple error messages on shutdown of dedicated server
havoc [Sun, 21 Nov 2010 12:34:31 +0000 (12:34 +0000)]
fix a couple error messages on shutdown of dedicated server

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10623 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix D3D9 build
havoc [Sun, 21 Nov 2010 12:30:54 +0000 (12:30 +0000)]
fix D3D9 build

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10622 d7cf8633-e32d-0410-b094-e92efae38249

13 years agouse r_smoothnormals_areaweighting cvar on all calls to Mod_BuildNormals
havoc [Sun, 21 Nov 2010 12:26:19 +0000 (12:26 +0000)]
use r_smoothnormals_areaweighting cvar on all calls to Mod_BuildNormals
and Mod_BuildTextureVectorsFromNormals - rather than assuming the artist
wanted area weighted, as if the normalmap was baked for
non-area-weighted tangents this just yields wrong results

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10621 d7cf8633-e32d-0410-b094-e92efae38249

13 years agosomeone broke R_CompleteLightPoint, fix this call
havoc [Sun, 21 Nov 2010 12:25:55 +0000 (12:25 +0000)]
someone broke R_CompleteLightPoint, fix this call

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10620 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoCL_VM_GetLight: allow 2'nd optional parm which sets sampling mask: 1 lightmap (defaul...
vortex [Sat, 20 Nov 2010 23:59:28 +0000 (23:59 +0000)]
CL_VM_GetLight: allow 2'nd optional parm which sets sampling mask: 1 lightmap (default one), 2 worldrtlight, 4 - dlight. Added getlights2 to the csprogdefs.qc.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10619 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoprint more useful data when a corrupt input packet comes from a client
havoc [Sat, 20 Nov 2010 14:14:59 +0000 (14:14 +0000)]
print more useful data when a corrupt input packet comes from a client

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10618 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix camera texture colors
divverent [Sat, 20 Nov 2010 07:38:25 +0000 (07:38 +0000)]
fix camera texture colors

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10617 d7cf8633-e32d-0410-b094-e92efae38249

13 years agodon't load corrupt wav files
havoc [Fri, 19 Nov 2010 15:14:53 +0000 (15:14 +0000)]
don't load corrupt wav files

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10616 d7cf8633-e32d-0410-b094-e92efae38249

13 years agofix fog on particles (premultiplied alpha change was doing it wrong)
havoc [Fri, 19 Nov 2010 13:55:20 +0000 (13:55 +0000)]
fix fog on particles (premultiplied alpha change was doing it wrong)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10615 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoallow loading DXT2 and DXT4 dds files
havoc [Fri, 19 Nov 2010 13:53:04 +0000 (13:53 +0000)]
allow loading DXT2 and DXT4 dds files

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10614 d7cf8633-e32d-0410-b094-e92efae38249

13 years agoparticle rendering now uses premultiplied alpha (texture is
havoc [Fri, 19 Nov 2010 13:42:14 +0000 (13:42 +0000)]
particle rendering now uses premultiplied alpha (texture is
automatically converted on load, however dds may need to be DXT4 rather
than DXT5 now)
this should give an fps boost

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10613 d7cf8633-e32d-0410-b094-e92efae38249

13 years agonow that performance of cl_decals_newsystem is not terrible, enable it
havoc [Fri, 19 Nov 2010 12:31:55 +0000 (12:31 +0000)]
now that performance of cl_decals_newsystem is not terrible, enable it
by default

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10612 d7cf8633-e32d-0410-b094-e92efae38249