]>
icculus.org git repositories - divverent/darkplaces.git/log
Wolfgang (Blub) Bumiller [Fri, 29 Jan 2010 14:01:48 +0000 (15:01 +0100)]
Merge branch 'master' into blub/dp1
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
Wolfgang (Blub) Bumiller [Thu, 28 Jan 2010 17:58:34 +0000 (18:58 +0100)]
Merge remote branch 'origin' into blub/dp1
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
Wolfgang (Blub) Bumiller [Thu, 28 Jan 2010 10:21:52 +0000 (11:21 +0100)]
Merge branch 'master' into dp1
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
Wolfgang (Blub) Bumiller [Sat, 16 Jan 2010 13:34:43 +0000 (14:34 +0100)]
fixing accidental removal of ... lots of code...
Wolfgang (Blub) Bumiller [Wed, 13 Jan 2010 10:06:48 +0000 (11:06 +0100)]
Merge branch 'master' into dp1
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
divverent [Sat, 9 Jan 2010 18:46:52 +0000 (18:46 +0000)]
fix vpack support to actually work; use a pack_s structure for vpack items
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9818
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 9 Jan 2010 18:46:49 +0000 (18:46 +0000)]
fix some compile errors. Now it should work.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9817
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 9 Jan 2010 18:46:43 +0000 (18:46 +0000)]
first vpack stuff
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9816
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 9 Jan 2010 08:41:34 +0000 (08:41 +0000)]
redesigned skeletal model animation bone pose format - instead of
float[12] matrix data it is now short[6] origin+quat data with
appropriate scale factors detected at load to preserve full range of
motion, this does however lose the ability to scale bones in a model...
this reduces memory usage significantly in some games
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9815
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 9 Jan 2010 08:38:20 +0000 (08:38 +0000)]
log dds texture load failures (only happens with r_texture_dds_load 1)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9814
d7cf8633 -e32d-0410-b094-
e92efae38249
Wolfgang (Blub) Bumiller [Fri, 8 Jan 2010 13:57:49 +0000 (14:57 +0100)]
merging master into dp1
havoc [Fri, 8 Jan 2010 08:53:30 +0000 (08:53 +0000)]
more memory savings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9813
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 08:52:59 +0000 (08:52 +0000)]
texture management now uses a memexpandablearray_t instead of individual
allocations
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9812
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 07:20:27 +0000 (07:20 +0000)]
fix compile error
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9811
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 07:19:20 +0000 (07:19 +0000)]
fix size of entity_state_t (it was 98 bytes, now 96 bytes)
reduce memory usage by having server update render flags on
exteriormodeltoclient entities for each player they are sent to rather
than copying the entire entity_state_t array and modifying it, now the
EntityFrame*_WriteFrame functions take a pointer array
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9810
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 06:57:50 +0000 (06:57 +0000)]
more reductions in memory usage
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9809
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 06:45:55 +0000 (06:45 +0000)]
don't set DP_SMALLMEMORY by default
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9808
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 06:19:23 +0000 (06:19 +0000)]
reduce memory usage by several more megabytes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9807
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 05:40:19 +0000 (05:40 +0000)]
limit vertex lighting path (GL11/GL13) to 4 passes per light rather than
64
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9806
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 05:38:48 +0000 (05:38 +0000)]
significantly reduce code size in prvm_exec.c by simplifying the
prvm_execprogram.h includes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9805
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 05:04:05 +0000 (05:04 +0000)]
reduce memory usage by several megabytes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9804
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 8 Jan 2010 03:13:40 +0000 (03:13 +0000)]
reorganize textypeinfo_t
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9803
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 7 Jan 2010 12:40:34 +0000 (12:40 +0000)]
fix bug in tracebox->line and traceline->point redirection causing endposnudge to be applied multiple times
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9802
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 7 Jan 2010 02:50:13 +0000 (02:50 +0000)]
fix TEXTYPE_COLORBUFFER
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9801
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 7 Jan 2010 01:42:33 +0000 (01:42 +0000)]
added ft2 and utf8lib files
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9800
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 7 Jan 2010 01:17:13 +0000 (01:17 +0000)]
no longer uses rectangle textures for deferred rendering (reduces
extension requirements)
fixed several bugs with Cg shader
added TEXTYPE_COLORBUFFER for textures intended to be copied into, so
that it can be set to match the framebuffer
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9799
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 7 Jan 2010 01:12:33 +0000 (01:12 +0000)]
reduce stack requirements
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9798
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 6 Jan 2010 19:29:45 +0000 (19:29 +0000)]
only clear depth buffer bit for shadowmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9797
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Wed, 6 Jan 2010 19:15:31 +0000 (19:15 +0000)]
only issue one clear for 2D/rect shadowmaps
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9796
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 23:52:37 +0000 (23:52 +0000)]
fix some bugs with cgGL path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9795
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:12:41 +0000 (20:12 +0000)]
I used the code from before the utf8 changed but it used to allow to access invalid memory - fixed that
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9794
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:10:00 +0000 (20:10 +0000)]
with utf8 disabled, str2chr should now behave the way it used to
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9793
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 20:04:38 +0000 (20:04 +0000)]
with utf8 disabled VM_str2chr should not use U+E0xx codes
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9792
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:54:24 +0000 (18:54 +0000)]
textureGatherOffset fix - take #2
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9790
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:48:57 +0000 (18:48 +0000)]
don't use textureGatherOffset as Catalyst GLSL doesn't appear to implement it
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9789
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:37:00 +0000 (18:37 +0000)]
fixed signed vs. unsigned warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9787
d7cf8633 -e32d-0410-b094-
e92efae38249
eihrul [Tue, 5 Jan 2010 18:34:06 +0000 (18:34 +0000)]
fixed missing \n"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9786
d7cf8633 -e32d-0410-b094-
e92efae38249
blub [Tue, 5 Jan 2010 18:21:52 +0000 (18:21 +0000)]
fixing a possible invalid memory access spotted by a_grue
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9785
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 5 Jan 2010 18:21:35 +0000 (18:21 +0000)]
fix some shader compile errors related to MODE_LIGHTDIRECTION
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9784
d7cf8633 -e32d-0410-b094-
e92efae38249