]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
eihrul [Wed, 3 Feb 2010 01:00:36 +0000 (01:00 +0000)]
reuse batchsurfacelist between R_Q1BSP_DrawShadowMap and R_Q1BSP_DrawLight
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9920
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 22:46:03 +0000 (22:46 +0000)]
when using PBLEND_INVMOD or PBLEND_ADD modes for particles/decals, make sure alpha is clamped to <= 1 when multiplying color
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9919
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 10:15:46 +0000 (10:15 +0000)]
check if a model's textures have deforms that need normals/tangents at load-time, and pass in appropriate flags to RSurf_ActiveModelEntity based on this when rendering models with depthonly (fixes Nexuiz flag z-fighting)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9918
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 1 Feb 2010 09:58:33 +0000 (09:58 +0000)]
ATTN VorteX: add a new field stainsize and stainalpha to effectinfo - TODO: particle spawners need that global declared in QC now, make that global optional somehow maybe
Declarations to be added:
var float particle_stainalpha = 1;
var float particle_stainsize = 1;
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9917
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 08:02:27 +0000 (08:02 +0000)]
make Matrix_ToBonePose6s check the podality of quaternions rather than assuming they are always positive from Matrix4x4_ToOrigin3Quat4Float
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9916
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 1 Feb 2010 07:29:57 +0000 (07:29 +0000)]
fix sky drawing really this tiem
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9915
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 06:38:02 +0000 (06:38 +0000)]
unsigned long vs. size_t printf format warning fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9914
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 06:34:00 +0000 (06:34 +0000)]
size vs. int warning fix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9913
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 06:29:40 +0000 (06:29 +0000)]
fix unsigned vs. signed comparison warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9912
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 1 Feb 2010 06:18:26 +0000 (06:18 +0000)]
handle case where trace is zero in Matrix4x4_ToOrigin3Quat4Float
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9911
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 1 Feb 2010 03:49:01 +0000 (03:49 +0000)]
increase sv_areagrid_mingridsize from 64 to 128 to reduce culling
overhead in most cases
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9910
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 1 Feb 2010 03:45:11 +0000 (03:45 +0000)]
fix off-by-one bug with bone numbers in skel_build
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9909
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 1 Feb 2010 01:37:52 +0000 (01:37 +0000)]
use less stack space
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9908
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 23:29:51 +0000 (23:29 +0000)]
fix a compile error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9907
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 23:27:11 +0000 (23:27 +0000)]
fix more warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9906
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 23:15:03 +0000 (23:15 +0000)]
fix a bunch of warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9905
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 23:12:33 +0000 (23:12 +0000)]
fix some bugs with skeletonindex handling
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9904
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 31 Jan 2010 21:01:13 +0000 (21:01 +0000)]
fix a return value
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9903
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 31 Jan 2010 20:57:54 +0000 (20:57 +0000)]
fix some useless use of PRVM_G_STRING in mvm_cmds.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9902
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 31 Jan 2010 19:50:38 +0000 (19:50 +0000)]
make ClientTime available to ALL shader permutations, not just postprocess, if the shader defines it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9901
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 19:05:20 +0000 (19:05 +0000)]
added r_texture_convertsRGB_* cvars (default: OFF) which allow automatic
conversion of sRGB textures to linear at load (only affects external
textures - anything embedded in q1 formats is untouched because they
were authored in linear)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9900
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 18:43:13 +0000 (18:43 +0000)]
fix a bug with skel_create where it returned a bone number instead of a
skeleton number
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9899
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 04:16:11 +0000 (04:16 +0000)]
added a check in r_cullentities_trace to always show entities if the eye
is inside their culling box
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9898
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 03:26:44 +0000 (03:26 +0000)]
bugfix for skel_build returning the wrong value
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9897
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 31 Jan 2010 00:26:30 +0000 (00:26 +0000)]
allow multiple steps in one move
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9896
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Jan 2010 23:28:10 +0000 (23:28 +0000)]
better fix for r_drawviewmodel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9895
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Jan 2010 23:26:56 +0000 (23:26 +0000)]
fix r_drawviewmodel
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9894
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 30 Jan 2010 21:56:54 +0000 (21:56 +0000)]
don't call StartPlaylist if index is -1 (disables playlists)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9893
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 20:33:29 +0000 (20:33 +0000)]
fix areagrid mins/maxs calculation (improves fps on peace6dot5 a LOT)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9892
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 18:27:17 +0000 (18:27 +0000)]
fix missing sqrt in sideways friction
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9891
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 18:08:12 +0000 (18:08 +0000)]
make CPMA air control code more logical
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9890
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 09:46:47 +0000 (09:46 +0000)]
make CPMA_PM_AirControl more gamepad friendly. Otherwise unchanged.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9889
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 08:11:50 +0000 (08:11 +0000)]
fix a minor code bug that should never occur in the last commit ;)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9888
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 30 Jan 2010 08:10:29 +0000 (08:10 +0000)]
speed clamping: sideways friction < 0 clamps against minimum possible backwards speed, airaccel_qw clamps against maximum possible forward speed, can behave like CPMA but with no strafejump bug
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9887
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 21:15:54 +0000 (21:15 +0000)]
enable the separate CLVM_ and MVM_ExecuteProgram functions unless
DP_SMALLMEMORY is defined, because these functions are necessary for
proper profiling
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9886
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 20:12:43 +0000 (20:12 +0000)]
increase world culling grid dimensions back to 128 (192KB 32bit, 384KB
64bit), was 64 (48KB 32bit, 96KB 64bit)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9885
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 20:10:58 +0000 (20:10 +0000)]
reduce world culling grid size back to what it was before (64 again)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9884
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 19:03:08 +0000 (19:03 +0000)]
implemented music playlist system with 10 playlists, automatic track
resume when switching between playlists (setting sampleposition to 0
will cause it to save and resume the position in the track, -1 restarts)
and random play options for each playlist
playlist system overrides normal cd console commands if index is not -1
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9883
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 29 Jan 2010 14:35:27 +0000 (14:35 +0000)]
disable showdebug while drawing sky, yields more flexibility when using showsurfaces (one can turn off sky separately using r_drawsky if one wishes so)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9882
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 12:22:56 +0000 (12:22 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9881
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 12:22:18 +0000 (12:22 +0000)]
fix a typo
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9880
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 11:39:46 +0000 (11:39 +0000)]
change protocol version table so that multiple numbers could correspond
to the same protocolversion_t if desired
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9879
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 09:59:56 +0000 (09:59 +0000)]
fix line endings (CRLF -> LF)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9878
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 09:47:28 +0000 (09:47 +0000)]
patch from Paul Jackson for per-pixel varying specular power in textures
(gloss alpha channel controls this), it is a simple fraction of the
current gloss exponent for the material
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9877
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 29 Jan 2010 09:45:05 +0000 (09:45 +0000)]
another dprintf
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9876
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 28 Jan 2010 16:18:59 +0000 (16:18 +0000)]
perform animation in getsurface* functions, to allow fully enumerating a model's current pose. CSQC-drawn model using polygon drawing and engine-side drawn model are now fully equivalent in geometry.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9875
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Jan 2010 10:12:51 +0000 (10:12 +0000)]
nudgeoutofsolid: check for bmodelstartsolid, not startsolid. Allows multiple player entities to occupy the same spot, and then VOLUNTARILY walk out of each other (like before), and doesn't perform a forced high-velocity nudge.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9874
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Jan 2010 06:10:18 +0000 (06:10 +0000)]
REALLY fix the ESC menu toggle
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9873
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Jan 2010 06:10:12 +0000 (06:10 +0000)]
Revert "aaahh! let me use the menu, div0!"
This reverts commit
0c3fb702e1f1fac82c3b50c06664913fa05c8e8f .
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9872
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 27 Jan 2010 05:30:44 +0000 (05:30 +0000)]
implemented fake reflection cubemaps... requires that a .shader
specifies dpreflectcube with a cubemap prefix, and requires that the
material textures include a _reflect.tga image to mask the reflection
(roughly similar to _gloss texture)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9871
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 27 Jan 2010 05:23:20 +0000 (05:23 +0000)]
Try to fix a warning motorsep gets
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9870
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Jan 2010 23:51:37 +0000 (23:51 +0000)]
don't use pp = {};
don't use pp = {0};
use pp;
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9869
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Tue, 26 Jan 2010 23:51:20 +0000 (23:51 +0000)]
aaahh! let me use the menu, div0!
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9868
d7cf8633 -e32d-0410-b094-
e92efae38249
sajt [Tue, 26 Jan 2010 23:42:17 +0000 (23:42 +0000)]
fix compile error in visual c++
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9867
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 26 Jan 2010 22:51:39 +0000 (22:51 +0000)]
always use fetch4 path for filtering if available
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9866
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 26 Jan 2010 22:31:14 +0000 (22:31 +0000)]
fix uninitialized vars
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9865
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 26 Jan 2010 16:50:05 +0000 (16:50 +0000)]
in FT2 postprocess code, fix an integer overflow and a coordinate reversal
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9864
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 26 Jan 2010 15:10:37 +0000 (15:10 +0000)]
fix a typo in FT2 font code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9863
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 26 Jan 2010 11:32:14 +0000 (11:32 +0000)]
make getsurface* functions shared between VMs
add getsurfacenumtriangles, getsurfacetriangle
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9862
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 26 Jan 2010 11:21:20 +0000 (11:21 +0000)]
fix padding calculation in freetype postprocessing filter, saves memory as possibly smaller font maps can be used with baked text shadow
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9861
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 26 Jan 2010 06:23:53 +0000 (06:23 +0000)]
fix funny menu bug (why did it never happen for me)?
BTW, who would ever call a _f function from other stuff than console commands... that's sick.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9860
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 26 Jan 2010 01:07:13 +0000 (01:07 +0000)]
some bugfixes to mod_generatelightmaps that make it run on q1bsp
(doesn't look right though)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9859
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 19:51:58 +0000 (19:51 +0000)]
changed DP_SMALLMEMORY compiles to use the standard NET_MAXMESSAGE value
because otherwise they can not play back demos
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9858
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 19:51:04 +0000 (19:51 +0000)]
faster surface culling check in light processing
added the beginnings of code for caching Cg shaders on disk, the actual
caching is not implemented yet
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9857
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 19:49:31 +0000 (19:49 +0000)]
allow linking to libvorbis
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9856
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 19:49:08 +0000 (19:49 +0000)]
a slightly more robust error return check
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9855
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 19:48:39 +0000 (19:48 +0000)]
fix a bug where submodels are not uploaded in a VBO which can cause bad
performance on some drivers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9854
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 15:29:42 +0000 (15:29 +0000)]
shuffle fields in msurface_t to reduce memory usage on 64bit
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9853
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 25 Jan 2010 15:10:40 +0000 (15:10 +0000)]
fix water rendering bugs (was rendering water surface over its own view)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9852
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 15:04:25 +0000 (15:04 +0000)]
fix sign errors in shadows
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9851
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 15:02:56 +0000 (15:02 +0000)]
apply the font parameters at loadfont time, not map generation time
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9850
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 13:51:19 +0000 (13:51 +0000)]
only run the outline code if actually outlining :P
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9849
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 13:42:58 +0000 (13:42 +0000)]
r_font_postprocess_* cvars to render fonts similar to mplayer subtitles with a blurred outline (not default)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9848
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 08:12:29 +0000 (08:12 +0000)]
add a missing parameter to that function :P
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9847
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 25 Jan 2010 08:09:30 +0000 (08:09 +0000)]
freetype: add a function yet to be filled for font image postprocessing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9846
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 24 Jan 2010 18:19:03 +0000 (18:19 +0000)]
attempt to fix white flicker when r_water is toggled
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9845
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 24 Jan 2010 17:02:53 +0000 (17:02 +0000)]
don't store pointers for serverlist_viewlist, because they become
invalid after serverlist_cache is reallocated
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9844
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 24 Jan 2010 13:43:31 +0000 (13:43 +0000)]
fix enginestring use in mvm_cmds.c causing a crash regarding server list
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9843
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Sun, 24 Jan 2010 13:09:13 +0000 (13:09 +0000)]
don't try to load kerning information when only checking for a working size to load
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9842
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 20 Jan 2010 09:39:52 +0000 (09:39 +0000)]
fix the bug I just fixed another time :P slight speedup, no other change from this
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9841
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 20 Jan 2010 06:58:45 +0000 (06:58 +0000)]
fix typo in utf8 lib making characters U+1XXXX impossible
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9840
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 19 Jan 2010 20:55:06 +0000 (20:55 +0000)]
fix off-by-one bug rendering characters like U+0100
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9839
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 18 Jan 2010 10:11:10 +0000 (10:11 +0000)]
fix a warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9838
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Sun, 17 Jan 2010 21:41:49 +0000 (21:41 +0000)]
Two new cvars for blood particles: decal alpha, decal random scaling (min/max)
Protect against float values on stain colors in DP_CSQC_SPAWNPARTICLE
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9837
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 17 Jan 2010 18:59:57 +0000 (18:59 +0000)]
fix VM_sprintf "%s" conversion when passed ""
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9836
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 16 Jan 2010 16:21:11 +0000 (16:21 +0000)]
don't reject render entities from being added just because of
chase_active value, the renderer will filter them
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9835
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 13 Jan 2010 07:15:57 +0000 (07:15 +0000)]
don't draw conback when the file is missing, behave as if
scr_conbrightness is 0 in this case
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9832
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 12 Jan 2010 10:55:37 +0000 (10:55 +0000)]
add new pseudo variable $# containing the number of arguments to the alias
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9831
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 12 Jan 2010 09:54:07 +0000 (09:54 +0000)]
fix black models in fixed function rendering path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9830
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 12 Jan 2010 07:32:05 +0000 (07:32 +0000)]
fix typo in SV_GetEntityLocalTagMatrix, should fix attachment on MD3
models
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9829
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Mon, 11 Jan 2010 21:45:06 +0000 (21:45 +0000)]
patch from div0 for SPR_OVERHEAD sprites 'virtual perspective', looks better. Move some parms into cvars (see r_overheadsprites*).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9828
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Mon, 11 Jan 2010 20:23:59 +0000 (20:23 +0000)]
sorry, forgot to remove debug prints, fixing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9827
d7cf8633 -e32d-0410-b094-
e92efae38249
vortex [Mon, 11 Jan 2010 20:17:06 +0000 (20:17 +0000)]
add new SPR_OVERHEAD (ident 7), a derivative of SPR_VP_PARALLEL with couple of hacks for better use with overhead-mode sprite monsters.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9826
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Mon, 11 Jan 2010 17:29:19 +0000 (17:29 +0000)]
optimized pose math to not use intermediate matrix
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9825
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 9 Jan 2010 20:47:13 +0000 (20:47 +0000)]
fix model scaling on old zym and dpm files where the root bone was
scaled
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9824
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 9 Jan 2010 19:09:19 +0000 (19:09 +0000)]
fix compile warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9823
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 9 Jan 2010 18:52:47 +0000 (18:52 +0000)]
fix compile error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9822
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Sat, 9 Jan 2010 18:48:38 +0000 (18:48 +0000)]
silence warning about using uninitialized pose var
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9821
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 9 Jan 2010 18:47:00 +0000 (18:47 +0000)]
.dir -> .pk3dir only
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9820
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 9 Jan 2010 18:46:56 +0000 (18:46 +0000)]
also support the .dir and .d extensions for virtual packs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9819
d7cf8633 -e32d-0410-b094-
e92efae38249