]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Wed, 26 Jan 2011 11:46:12 +0000 (11:46 +0000)]
optimized SHADERMODE_LIGHTSOURCE to do some early-out checks
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10748
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 26 Jan 2011 11:33:58 +0000 (11:33 +0000)]
implemented SHADERMODE_LIGHTSOURCE with specular, shadowmapping and
cubefilter are not yet implemented
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10747
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 25 Jan 2011 20:50:25 +0000 (20:50 +0000)]
fix the bug that affects showsurfaces 3 entirely now, hopefully
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10746
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Jan 2011 15:02:49 +0000 (15:02 +0000)]
added glow texture support in SHADERMODE_LIGHTMAP
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10745
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Jan 2011 13:40:50 +0000 (13:40 +0000)]
added SHADERMODE_LIGHTDIRECTION code (model rendering) with specular,
glow and colormapping support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10744
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Jan 2011 13:39:10 +0000 (13:39 +0000)]
changed the texture bind code for the RENDERPATH_SOFT to work like the
RENDERPATH_D3D9 code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10743
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 25 Jan 2011 13:00:25 +0000 (13:00 +0000)]
fix overrun test for optimized texture routines
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10742
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Jan 2011 12:42:07 +0000 (12:42 +0000)]
fix crash on texturing a span that starts at the bottom row of a texture
but does not end on the bottom row of the texture, which was passing a
check for an optimized fill routine but should not have been
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10741
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Jan 2011 06:38:59 +0000 (06:38 +0000)]
fix two errors related to the R_FrameData_Alloc use in batching
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10740
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 24 Jan 2011 14:36:44 +0000 (14:36 +0000)]
failed attempt at improving performance of bilinear filter routines by
using less integer multiplies, no apparent effect on benchmarks,
abandoned but posted here for reference (disabled)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10739
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 24 Jan 2011 12:39:26 +0000 (12:39 +0000)]
changed DPSOFTRAST to use bgra8 intermediate storage while rendering,
the float support code remains and will not be going away (and some
shaders are simply too complex to use bgra8 anyway), this gains a few
fps in most situations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10738
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 24 Jan 2011 12:34:27 +0000 (12:34 +0000)]
change q1bsp lightmap to vertex color conversion to scale colors
correctly
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10737
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 24 Jan 2011 12:33:45 +0000 (12:33 +0000)]
added an experimental alternate code path in DPSOFTRAST where all the
span fillers use bgra8 instead of floats for intermediate storage, only
small gains observed but still good, this mode has to be activated by
the r_test cvar at this time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10736
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 24 Jan 2011 05:48:21 +0000 (05:48 +0000)]
fix some compile errors on vid_sdl.c when compiling it as C++
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10735
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 17:24:06 +0000 (17:24 +0000)]
draw things as black if no shader code exists yet
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10734
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 17:08:47 +0000 (17:08 +0000)]
fix log(2) compile error as C++, should have been log(2.0f)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10733
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 16:43:37 +0000 (16:43 +0000)]
fix several conversion warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10732
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 16:30:02 +0000 (16:30 +0000)]
fix another void conversion
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10731
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 16:28:57 +0000 (16:28 +0000)]
fix a couple void conversions
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10730
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 16:25:25 +0000 (16:25 +0000)]
enabled more features for SHADERMODE_GENERIC
added texcoord matrix transforms (sky scrolls now)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10729
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 15:57:55 +0000 (15:57 +0000)]
added support for disabling mipmapping using the non-MIPMAP filters
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10728
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 15:55:26 +0000 (15:55 +0000)]
fix bugs in DPSOFTRAST_CalculateMipmaps
implemented per-triangle mipmap selection
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10727
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Jan 2011 14:26:30 +0000 (14:26 +0000)]
tabs, not spaces for indenting
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10726
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sun, 23 Jan 2011 13:32:49 +0000 (13:32 +0000)]
faster texture mapper
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10725
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 22 Jan 2011 23:37:08 +0000 (23:37 +0000)]
move double break in pseudoalpha case to the right case...
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10724
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 23:33:26 +0000 (23:33 +0000)]
fix particle blending
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10723
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 23:28:01 +0000 (23:28 +0000)]
use texel center sampling on textures
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10722
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 22 Jan 2011 23:06:44 +0000 (23:06 +0000)]
only bind needed textures in softrast path (to avoid texunit conflicts)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10721
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 22:14:29 +0000 (22:14 +0000)]
removed numtexcoords parameter in DPSOFTRAST_Draw_LoadVertices
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10720
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 22:02:45 +0000 (22:02 +0000)]
reworking DPSOFTRAST array copying to automatically detect used arrays
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10719
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 22 Jan 2011 21:38:07 +0000 (21:38 +0000)]
fix some crashes related to video subsystem not being reinitialized on vid_restart in SDL backend
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10718
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 21:00:49 +0000 (21:00 +0000)]
added DPSOFTRAST software rasterizer, a work in progress
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10717
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Jan 2011 20:55:05 +0000 (20:55 +0000)]
fix a crash with tcmod turbulent where it was not requesting texcoords
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10716
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Jan 2011 19:09:48 +0000 (19:09 +0000)]
cache multiple loaded instances of the same font (TODO: can we also cache the freetype object itself? probably not without major changes, as these are size specific); saves about 150M memory use in Xonotic
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10715
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 21 Jan 2011 06:02:20 +0000 (06:02 +0000)]
sync libjpeg support from makefile to BSDmakefile
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10714
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 20 Jan 2011 14:24:23 +0000 (14:24 +0000)]
fix some missing changes in the D3D path when r_vertexposition_t was
removed
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10713
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 20 Jan 2011 06:33:18 +0000 (06:33 +0000)]
VM_sprintf: properly handle "%02d"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10712
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jan 2011 18:37:35 +0000 (18:37 +0000)]
reduced memory usage by around 20MB (no longer allocates interleaved
vertex arrays unless running D3D renderpath, now uses R_FrameData_Alloc
a lot more to avoid large static arrays)
R_FrameData system now never fails an alloc request (resizing as
needed), and has a mark system allowing space to be relinquished after
brief uses such as batch buffers
removed r_vertexposition_t as it was redundant (just use vertex3f)
gl_mesh_separatearrays cvar removed (vid.useinterleavedarrays is now used instead)
audited RSurf_PrepareVertices calls to make sure BATCHNEED_NOGAPS is
properly used
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10711
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jan 2011 18:22:23 +0000 (18:22 +0000)]
lower particle limit when using DP_SMALLMEMORY builds
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10710
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Jan 2011 17:29:54 +0000 (17:29 +0000)]
fix a major performance issue with the GL11/GL13 path for rtlights where
it did not request BATCHNEED_NOGAPS and thus processed a huge number of
unnecessary vertices
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10709
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 18 Jan 2011 08:51:05 +0000 (08:51 +0000)]
fix wateralpha
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10708
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 17 Jan 2011 18:00:43 +0000 (18:00 +0000)]
fix a typo in the cg shader setup
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10707
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 17 Jan 2011 15:28:28 +0000 (15:28 +0000)]
make prvm_language saved
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10706
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 17 Jan 2011 15:28:26 +0000 (15:28 +0000)]
fix console margin calculation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10705
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 17 Jan 2011 05:44:00 +0000 (05:44 +0000)]
fix description of prvm_language dumping mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10704
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 15 Jan 2011 18:12:24 +0000 (18:12 +0000)]
fix alias word combining
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10703
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 14 Jan 2011 23:51:56 +0000 (23:51 +0000)]
make it possible to turn off missing DDS file logging
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10702
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 14 Jan 2011 21:01:28 +0000 (21:01 +0000)]
use the proper filename.pot instead of filename.dump.po for the empty .po file
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10701
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 14 Jan 2011 00:24:59 +0000 (00:24 +0000)]
added r_enableshadowvolumes cvar, this defaults to 1 but can be turned
off to save a small amount of memory and speed up loading (shadowmaps
still work with it off)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10700
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Jan 2011 06:57:04 +0000 (06:57 +0000)]
fix a memory leak of glsl shader permutations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10699
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Jan 2011 03:49:30 +0000 (03:49 +0000)]
added cvar mod_bsp_portalize to decide whether to generate portals for
culling purposes, this now defaults to 0, reducing load time but
disabling certain features (the only visible feature affected is
r_drawportals)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10698
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 12 Jan 2011 19:41:24 +0000 (19:41 +0000)]
make infobar height configurable
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10697
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 11 Jan 2011 21:49:22 +0000 (21:49 +0000)]
fix the latest fix to Font_IndexForSize
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10696
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 11 Jan 2011 21:40:57 +0000 (21:40 +0000)]
fix a data type in Font_IndexForSize
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10695
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Fri, 7 Jan 2011 21:51:34 +0000 (21:51 +0000)]
drawcolorcodedstring: support full 6 parms (added starting rgb) and returns color of the last character so colortags can affect multiline draw.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10694
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Fri, 7 Jan 2011 18:31:37 +0000 (18:31 +0000)]
Added wasfreed() to menuqc builtinlist. Hushed "VM_bufstr_get: invalid string index" warning.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10693
d7cf8633 -e32d-0410-b094-
e92efae38249
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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