]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
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
::stable-branch::merge=
08fe8138a21ee02cecd4f4c92b889e88f1c50594
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
::stable-branch::merge=
f72a9ca5a4751f8db3b4c0191203e306d4f20697
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
::stable-branch::merge=
1eb56b522ecd9252242470d388c0ad7272f3f26d
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
::stable-branch::merge=
fbacd03b3b8fc9783a186b62223cd27c267c87aa
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
::stable-branch::merge=
cce29d94f55810f8515b00b7012dc39bd384daad
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
::stable-branch::merge=
5d2b95c144c380be28cb219d528415f37e0b3f24
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
::stable-branch::merge=
0d2b3890c8c20bb3c66a1c7fe52f480fc0ba56b2
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
::stable-branch::merge=
c9d7b2b83f07c1db3741130c6c7965eeffe34a91
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
::stable-branch::merge=
8b68ee05515266fdb1b20b06b0c4c04646fdc397
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
::stable-branch::merge=
3dd1e6fd20b37f7f88418ef0593114a73312b0d3
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
::stable-branch::merge=
584aaf7e7cc8616fb4fb40d73102c78cb6805fa4
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
::stable-branch::merge=
6e45cfae05dccca77437f738a699583b6e6ed202
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
::stable-branch::merge=
7ada10412116cc9625c5191a00fbda7f2c701b0c
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
::stable-branch::merge=
42114392db4b787646f55e85cdfbf426f94ae439
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
::stable-branch::merge=
cbbf18e419ad4d6b1848192cf86aba37b9fb6df4
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
::stable-branch::merge=
7a40a91a24fa53b6ef38e0d1fb14dcfe270b8b61
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
::stable-branch::merge=
1b1a05b13477696088ac74f71a0fdb1277db4f49
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
::stable-branch::merge=
d7d479850ed34a5b1c293b0e23736ad6a32143c0
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
::stable-branch::merge=
9887ee3f298c37c63811184d1ecf48d9acd8ddd1
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
::stable-branch::merge=
a1af921a6e20943f1610d032dbfa0bf7c105a522
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
::stable-branch::merge=
d14c7bb2783fe7ea0948d515980547499bd57600
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
::stable-branch::merge=
fad6c0cb368f333846ab896bec205596940cd27b
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
::stable-branch::merge=
8a82aa1e2cf707ccd6e1d2cd158ae07e3bf012aa
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
::stable-branch::merge=
37921a640564a30237e55265e9627f1010e38936
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
::stable-branch::merge=
7b8dccf0a882a1e9cf7856b7cf3d706a55513917
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
::stable-branch::merge=
ef6014027abab4b524993e33b2698426d259804a
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
::stable-branch::merge=
70b3c52211617e1d585a1bbe805c5fd47176bfd1
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
::stable-branch::merge=
20d49ae924374c7278943636e3dbb655138b5edc
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
::stable-branch::merge=
750d19efdc7013c4380d3a5823389e2617af41a1
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
::stable-branch::merge=
d259630fef9ed18f78a826484c942c20fe00cc21
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
::stable-branch::merge=
bc4d19bff6b9cb2857890c0d6b03857bb330638c
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
::stable-branch::merge=
beda7749bd7a9785a59114d6248d910a7086664c
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
::stable-branch::merge=
5a9789e1e5802a9b32e38f440354cc9cb37d6281
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
::stable-branch::merge=
6c34f0a37ce6e3e4d21b8e2605e580d295306908
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
::stable-branch::merge=
2f461d60b4dd953703b1ce2b8d5b56fd43035546
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
::stable-branch::merge=
fce889f1a929a2b9304f486f97f73e9aa77d4499
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
::stable-branch::merge=
25a89453e982d94fe580096eea01dfd46c51f890
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
::stable-branch::merge=
b45ffeee1f5c2d7eaed3ec5af6ff87720b6db97e
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
::stable-branch::merge=
65d4a5609747aaf729f9ed366ddc08e0d4afcad3
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
::stable-branch::merge=
e887a86e471c01a55d43021910db623966e7d252
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
::stable-branch::merge=
1cbbacc96c0f13697949730d84c638941af07519
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
::stable-branch::merge=
e4e06ca028a8aa4d33db30946a8909a86c141f99
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
::stable-branch::merge=
acd8646648b6a54d5e0c2aac2e51eeb2572def11
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
::stable-branch::merge=
4bee24a5cf254a418660db56e4e67e105937565e
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
::stable-branch::merge=
7bdd10be8ff88baba813e984eccc7cf934961ad7
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
::stable-branch::merge=
a9a9fc7be3154f84c3de2f1f7c6ad15a3c806198
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
::stable-branch::merge=
f7f3c8ac391aa197c33579aa4d9997dbc0712063
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
::stable-branch::merge=
1dfae27462dba735f317cac38f3b7deb415ed154
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
::stable-branch::merge=
d404f9aaa347ec6506ecff1de63ff55673e91881
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
::stable-branch::merge=
cca46dbd21559aef23c04c41fb714f2cc92c5cb9
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
::stable-branch::merge=
7c5d0c667262e89b8b3ee68a5aafcbf76ec9c01d
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
::stable-branch::merge=
ecb8d61815e931cc3ff9e0db0e3f64a86fc4400c
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
::stable-branch::merge=
1739bc4c7b59ff54fd2f3c0492ab4ca6ed6563ac
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
::stable-branch::merge=
dd5644411f46bfeaf512d86eb5ae5fbc3a3b0adf
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
::stable-branch::merge=
e4e9ebace60585c6cfb51cafda868761e8d21458
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
::stable-branch::merge=
e5bd7b58a64bc25738028180da3c1990824d75ec
Rudolf Polzer [Sat, 20 Nov 2010 18:08:52 +0000 (19:08 +0100)]
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
::stable-branch::merge=
debad66a1a7af625005e58a5b7287770d3e50bc6
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
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
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
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
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
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
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
::stable-branch::merge=
02ca98a2932d9a8963eb96f27453f672cd71947e
havoc [Fri, 19 Nov 2010 12:23:03 +0000 (12:23 +0000)]
optimize prologic inversion, it was really showing up in profiles
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10610
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
96c898c4a8f6d5033b1e2e9990817dcba4ee48f1
havoc [Fri, 19 Nov 2010 10:36:06 +0000 (10:36 +0000)]
match sound radius in Quake 1.01, where it was effectively 1200
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10609
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
ce83d5242178e506cfac7c267677cce203e07d87
havoc [Fri, 19 Nov 2010 10:10:43 +0000 (10:10 +0000)]
change default snd_soundradius back to 1000, matching Quake
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10608
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
62c92cc4613d76c62b7cf1561c05d85f47659e16
havoc [Thu, 18 Nov 2010 15:47:52 +0000 (15:47 +0000)]
for purposes of better compatibility with proquake servers, darkplaces
client now pretends to be proquake 3.40 when connecting to quake
protocol servers, this enables precise aim and the proquake NAT fix
(which the server only supports on proquake clients... grr)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10607
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
4cea57335d11201c0c7eedc1dd15bdd56538b99f
havoc [Thu, 18 Nov 2010 14:09:20 +0000 (14:09 +0000)]
changed default status output to match ProQuake 4.51
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10606
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
578b5de9ecf597622f640cff987130283dd098ae
havoc [Thu, 18 Nov 2010 02:45:31 +0000 (02:45 +0000)]
don't spam warnings about bogus frame numbers in states, because FvF
does this all the time, developer_extra 1 will reenable these
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10605
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
7e3d1e3957d8b5f7c4586ac3a99af16f63e16c31
havoc [Thu, 18 Nov 2010 01:53:31 +0000 (01:53 +0000)]
fix proquake rcon replies - use NetConn_Write, not NetConn_WriteString
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10604
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
5e61ba1b0bf8387dc28a22dce5e236a558c140b3
havoc [Thu, 18 Nov 2010 01:44:07 +0000 (01:44 +0000)]
added server support for proquake rcon when running quake protocol
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10603
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
59f4e5291192d918f06fe0b2f86c462441c9e204
divverent [Wed, 17 Nov 2010 21:05:48 +0000 (21:05 +0000)]
developer_extra: also spam some messages during model loading regarding .skin file parsing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10602
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
c8572881a18c688dbabeebd204b6638792879327
vortex [Tue, 16 Nov 2010 22:14:27 +0000 (22:14 +0000)]
playvideo: cl_video_keepaspectratio == 2 will do clip instead of stretch, added simple fadein/fadeout effects via cl_video_fadein and cl_video_fadeout cvars (which sets seconds).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10601
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
961dbcdf0f9f71366dfd4eb78f800c3118b3d3bf
havoc [Sun, 14 Nov 2010 13:24:27 +0000 (13:24 +0000)]
illuminated surfaces are now sorted by texture, giving a good fps
increase, especially in realtime world lighting, this can be turned off
with the r_shadow_sortsurfaces cvar if desired
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10599
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
14b5649a2b45037ad244a2d2c2dcae6049fc6ce6
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
havoc [Fri, 19 Nov 2010 12:24:34 +0000 (12:24 +0000)]
do not generate vertexposition/vertexmesh arrays in
RSurf_ActiveCustomEntity, this is a major fps aid
use vertex3f rather than vertexposition array in entity decal handling
make fewer calls to R_Mesh_ResizeArrays
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10611
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 19 Nov 2010 12:23:03 +0000 (12:23 +0000)]
optimize prologic inversion, it was really showing up in profiles
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10610
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 19 Nov 2010 10:36:06 +0000 (10:36 +0000)]
match sound radius in Quake 1.01, where it was effectively 1200
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10609
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 19 Nov 2010 10:10:43 +0000 (10:10 +0000)]
change default snd_soundradius back to 1000, matching Quake
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10608
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2010 15:47:52 +0000 (15:47 +0000)]
for purposes of better compatibility with proquake servers, darkplaces
client now pretends to be proquake 3.40 when connecting to quake
protocol servers, this enables precise aim and the proquake NAT fix
(which the server only supports on proquake clients... grr)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10607
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2010 14:09:20 +0000 (14:09 +0000)]
changed default status output to match ProQuake 4.51
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10606
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2010 02:45:31 +0000 (02:45 +0000)]
don't spam warnings about bogus frame numbers in states, because FvF
does this all the time, developer_extra 1 will reenable these
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10605
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2010 01:53:31 +0000 (01:53 +0000)]
fix proquake rcon replies - use NetConn_Write, not NetConn_WriteString
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10604
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 18 Nov 2010 01:44:07 +0000 (01:44 +0000)]
added server support for proquake rcon when running quake protocol
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10603
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 17 Nov 2010 21:05:48 +0000 (21:05 +0000)]
developer_extra: also spam some messages during model loading regarding .skin file parsing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10602
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Tue, 16 Nov 2010 22:14:27 +0000 (22:14 +0000)]
playvideo: cl_video_keepaspectratio == 2 will do clip instead of stretch, added simple fadein/fadeout effects via cl_video_fadein and cl_video_fadeout cvars (which sets seconds).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10601
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 14 Nov 2010 13:24:27 +0000 (13:24 +0000)]
illuminated surfaces are now sorted by texture, giving a good fps
increase, especially in realtime world lighting, this can be turned off
with the r_shadow_sortsurfaces cvar if desired
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10599
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 14 Nov 2010 13:23:32 +0000 (13:23 +0000)]
rename meshes to draws in r_speeds report
added drawn vertices count alongside the triangles count
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10598
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 15:32:14 +0000 (15:32 +0000)]
fix some HLSL errors
fix a warning on some ft2 code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10597
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 13 Nov 2010 14:07:13 +0000 (14:07 +0000)]
avoid NULL pointer access if a surface had an unsupported type
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10596
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
a0c28f5d37f75edd41a377b6eee32fa932097151
divverent [Sat, 13 Nov 2010 14:05:04 +0000 (14:05 +0000)]
show more detail in "has no triangles" and "has no vertexes" warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10595
d7cf8633 -e32d-0410-b094-
e92efae38249
::stable-branch::merge=
6acdb81fe2b7489fb2fa6c7c07b73e4a9ba374d0
divverent [Sat, 13 Nov 2010 14:07:13 +0000 (14:07 +0000)]
avoid NULL pointer access if a surface had an unsupported type
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10596
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 13 Nov 2010 14:05:04 +0000 (14:05 +0000)]
show more detail in "has no triangles" and "has no vertexes" warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10595
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 12:39:52 +0000 (12:39 +0000)]
skip zero triangle batches, for good measure
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10594
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 12:35:42 +0000 (12:35 +0000)]
fix wrong-texture rendering in stonekeep where a 0-triangles patch
(probably degenerate) was causing the surface batcher to give up early,
and render the previous batch instead (drawing over a perfectly good
piece of geometry with the wrong texture...)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10593
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 11:07:20 +0000 (11:07 +0000)]
use less R_Mesh_ResetTextureState calls for more performance
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10592
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 09:03:09 +0000 (09:03 +0000)]
render shownetgraph much faster by drawing an entire batch of lines at a
time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10591
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 13 Nov 2010 09:02:45 +0000 (09:02 +0000)]
fix some warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10590
d7cf8633 -e32d-0410-b094-
e92efae38249