]>
git.rm.cloudns.org Git - xonotic/darkplaces.git/log
havoc [Tue, 25 Dec 2007 08:41:18 +0000 (08:41 +0000)]
fix t->lightmapcolor on fullbright surfaces
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7861
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 08:36:36 +0000 (08:36 +0000)]
don't call SV_CheckWaterTransition on MOVETYPE_STEP entities unless the
entity moves (or a pusher moves through the area)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7860
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 06:10:31 +0000 (06:10 +0000)]
implemented PointSuperContents model function as a lower-overhead
alternative to TraceBox, and this also makes profile reports more clear
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7859
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 06:09:39 +0000 (06:09 +0000)]
World_EntitiesInBox now takes const mins/maxs
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7858
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 06:09:02 +0000 (06:09 +0000)]
one more cl_ignoremousemove change to cl_ignoremousemoves
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7857
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 06:08:32 +0000 (06:08 +0000)]
changed cl_ignoremousemove from a qboolean to an int named
cl_ignoremousemoves which is set to 2 whenever the mouse grab state
changes, the one-frame ignore was not working
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7856
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 25 Dec 2007 02:48:38 +0000 (02:48 +0000)]
cl_prydoncursor traces now trace against the model bounding box before
testing the geometry itself, this gives a substantial speed increase in
maps with lots of monsters
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7855
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 24 Dec 2007 05:09:55 +0000 (05:09 +0000)]
consistently move scenebrightness after contrastboost
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7854
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 21:17:50 +0000 (21:17 +0000)]
the formula for fog was right... note that it uses the unsimplified formula, as precalculating stuff isn't needed here
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7853
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 20:54:18 +0000 (20:54 +0000)]
fix fog help text
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7852
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 20:53:29 +0000 (20:53 +0000)]
fix fog after r_restart
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7851
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 20:33:44 +0000 (20:33 +0000)]
add default for fog_end too
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7850
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 18:14:19 +0000 (18:14 +0000)]
sorry, that one was wrong
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7849
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 17:57:02 +0000 (17:57 +0000)]
fix wrong conversion factor of knots (Wikipedia has another opinion than feh on this)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7848
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 17:08:21 +0000 (17:08 +0000)]
fix remaining fog bug with fixed function, r_view.colorscale != 0
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7847
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Dec 2007 15:05:09 +0000 (15:05 +0000)]
improved NaN velocity/NaN origin warnings, they now print the entity
number
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7846
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sun, 23 Dec 2007 14:57:52 +0000 (14:57 +0000)]
colormod values above 1 1 1 should work properly with r_glsl now
some optimizations and a major audit of the GLSL shader with respect to
colormod and fog handling
fixed nearly all bad interactions between fog and r_hdr 1 mode
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7845
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 23 Dec 2007 11:05:54 +0000 (11:05 +0000)]
update movement_velocity in demos too
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7844
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 17:16:34 +0000 (17:16 +0000)]
forgot to add fog_start to the fog range... now it behaves right
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7843
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 17:05:23 +0000 (17:05 +0000)]
oops, forgot this file
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7842
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 16:55:05 +0000 (16:55 +0000)]
forgot to compare fog mask table range, too
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7841
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Dec 2007 15:21:50 +0000 (15:21 +0000)]
implemented fog texture building support for the new fog start and alpha
parameters
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7840
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Dec 2007 15:17:25 +0000 (15:17 +0000)]
fix fog_alpha checking bug that makes sky disappear in the wrong situation
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7839
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 13:50:39 +0000 (13:50 +0000)]
first part of fog changes: no longer use a complex glsl equation; modify the table instead; replace fog_end by fog_alpha
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7838
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 10:40:20 +0000 (10:40 +0000)]
qups -> qu/s, in Nexuiz in/s
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7837
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 10:17:43 +0000 (10:17 +0000)]
showspeed cvar ;)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7836
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 22 Dec 2007 09:34:52 +0000 (09:34 +0000)]
this may fix the word wrap issue, hopefully
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7835
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 22 Dec 2007 03:05:34 +0000 (03:05 +0000)]
fix sprintf for savegame comment to not overflow on long map titles
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7834
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 21 Dec 2007 20:17:01 +0000 (20:17 +0000)]
only CDAudio_SysStop if a CD was actually playing (fixes error message spam)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7833
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 21 Dec 2007 14:00:52 +0000 (14:00 +0000)]
make precache_sound return the sound index (for using WriteStuff to send a sound just to some clients)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7832
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 21 Dec 2007 11:05:56 +0000 (11:05 +0000)]
move R_UpdateAllTextureInfo call back to DrawLight
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7831
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 21 Dec 2007 11:05:34 +0000 (11:05 +0000)]
fix bug in RSurf_ActiveWorldEntity (now sets basepolygonoffset fields)
added a fixme note
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7830
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 20 Dec 2007 10:16:04 +0000 (10:16 +0000)]
a fs_offset_t is a fs_offset_t is a fs_offset_t is a fs_offset_t and not a long
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7829
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 20 Dec 2007 10:12:27 +0000 (10:12 +0000)]
tab completion for arbitrary commands (works, but interface may be subject to change, currently uses a cvar con_completion_playermodel "models/player/*.zym models/player/*.md3")
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7828
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 20 Dec 2007 09:49:37 +0000 (09:49 +0000)]
reenabled R_UpdateAllTextureInfo calls when lighting the world model
(necessary because of submodel entities sharing texture_t's with the
world model)
some tweaks and cleanup of R_UpdateAllTextureInfo calls
reworked texture_t->currentpolygonoffset stuff
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7827
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 20 Dec 2007 09:35:59 +0000 (09:35 +0000)]
minor cleanup of timedemo code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7826
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 20 Dec 2007 07:32:29 +0000 (07:32 +0000)]
fix miscounting of timedemo frames on cold/warm runs in the same session
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7825
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Wed, 19 Dec 2007 22:00:38 +0000 (22:00 +0000)]
fix a crash introduced in my BGRA commit (was providing no palette for a
texture)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7824
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Tue, 18 Dec 2007 23:34:54 +0000 (23:34 +0000)]
Marked some gl_draw.c tables as "static const"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7823
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Tue, 18 Dec 2007 23:31:38 +0000 (23:31 +0000)]
Marked some sky tables as "static const"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7822
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 18 Dec 2007 21:08:08 +0000 (21:08 +0000)]
add a CRC_Block_CaseInsensitive that tolowers its input for use by hash functions for case insensitive hash tables; make the shader system use it (fixes accidentally introduced case sensitivity by res2k)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7821
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 18 Dec 2007 13:47:31 +0000 (13:47 +0000)]
print ""gettagindex(entity #%i): tag \"%s\" not found" console spam only if developer >= 100
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7820
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Dec 2007 09:32:24 +0000 (09:32 +0000)]
moved entity_render_t modellight_* field updates from renderer to client
merged entity_render_t colormap_pantscolor and shirtcolor updates to a
single function called CL_SetEntityColormapColors
other little cleanups
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7819
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Tue, 18 Dec 2007 08:45:02 +0000 (08:45 +0000)]
moved Mod_LoadQ3Shaders() call from CL_BeginDownloads to Mod_LoadModel
(but only when isworldmodel is true, which indicates a level change)
this fixes a bug where downloaded maps have missing shaders on the first
load, and also fixes a crash introduced by res on dedicated servers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7818
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Tue, 18 Dec 2007 02:41:46 +0000 (02:41 +0000)]
Gecko: set a profile path
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7817
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 17 Dec 2007 21:50:03 +0000 (21:50 +0000)]
Add full support for csqc's sensitivityscale (no clamping yet, so you can actually lock the view by setting it to 0).
Minor cleanups in the csqc (very very minor).
Change Key_Event a bit (and probably break it again :()
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7816
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 17 Dec 2007 08:54:54 +0000 (08:54 +0000)]
remove basealpha checks in DrawQ_String_Font
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7815
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 17 Dec 2007 08:51:45 +0000 (08:51 +0000)]
don't R_UpdateAllTextureInfo when doing shadows or lighting on world,
because its texture info only really needs to be updated once per frame,
it doesn't change because it is not instanced and can not have alternate
textures or colormod
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7814
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Mon, 17 Dec 2007 08:21:08 +0000 (08:21 +0000)]
split up DrawQ_String_Font_UntilX in DrawQ_TextWidth_Font_TrackColors and DrawQ_String_Font; the latter no longer needs to check if the text is too long, and the former no longer needs alpha checks (to be removed later perhaps)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7813
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 17 Dec 2007 06:24:19 +0000 (06:24 +0000)]
redesigned box clipping code in R_Shadow_ScissorForBBox, now clips edges
against the nearplane rather than doing brush building (too slow)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7812
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 17 Dec 2007 03:59:35 +0000 (03:59 +0000)]
fix two warnings
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7811
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 03:58:51 +0000 (03:58 +0000)]
use strlcpy() instead of strcpy()
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7810
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 03:37:43 +0000 (03:37 +0000)]
Move Mem_strdup into zone.c
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7809
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 03:34:31 +0000 (03:34 +0000)]
Dynamically allocate Q3 shader texture frames.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7808
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 03:04:48 +0000 (03:04 +0000)]
Dynamically allocate Q3 shader texture frames.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7807
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 02:41:34 +0000 (02:41 +0000)]
Fixed user font initialization writing beyond fonts array bounds.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7806
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 02:19:50 +0000 (02:19 +0000)]
Fix use of wrong pointer in Q3 shader hash add.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7805
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Mon, 17 Dec 2007 01:50:47 +0000 (01:50 +0000)]
Changed Q3 shaders to use dynamic memory allocation (instead of a gargantuan static array). Also changed the Q3 shader lookup to use a hash while I was at it.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7804
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Sun, 16 Dec 2007 23:00:57 +0000 (23:00 +0000)]
Add getsurfacepointattribute to svqc and csqc (untested yet).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7803
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 15 Dec 2007 14:53:43 +0000 (14:53 +0000)]
changed DP_MODPLUG_STATIC_PREFIX to DP_MODPLUG_STATIC_LIBDIR (so it works on Fedora too, which has libs in /usr/lib64 instead). Now append the /lib or /lib64 to the path too. Includes are assumed to be in ../include relative to the LIBDIR given, but are also searched in any other usual -I path.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7801
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 14 Dec 2007 16:37:32 +0000 (16:37 +0000)]
make "cd remap" also support named tracks
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7800
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Fri, 14 Dec 2007 16:22:07 +0000 (16:22 +0000)]
CDAudio_Stop: also stop a paused track (fixes bgmvolume 0 related segfault)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7799
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Fri, 14 Dec 2007 01:45:07 +0000 (01:45 +0000)]
Move the code around a bit in cl_gecko and add the console command gecko_movecursor.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7798
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Dec 2007 22:17:02 +0000 (22:17 +0000)]
fix detection of q3map2 deluxemapping in the case of one referenced but
4 existing in the bsp file (lightmap deluxemap blank blank), a variant
of the existing problem with 2 existing in a non-deluxemapped bsp (which
are lightmap blank)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7797
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Dec 2007 22:02:38 +0000 (22:02 +0000)]
modplug improvement: DP_MODPLUG_STATIC_PREFIX=/usr/local makes it use the modplug installed in /usr/local statically
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7796
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Dec 2007 20:02:24 +0000 (20:02 +0000)]
added gl_vbo 2 mode to test performance of vertex buffers without element buffers
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7795
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 13 Dec 2007 16:33:57 +0000 (16:33 +0000)]
added -lmodplug if libmodplug.a is detected, and a corresponding #define
to tell the code about this linkage, openSUSE 10.3 does not include
libmodplug.so so this is sadly necessary
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7794
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Dec 2007 16:07:07 +0000 (16:07 +0000)]
oops, should use <>, not ""
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7793
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Dec 2007 16:06:35 +0000 (16:06 +0000)]
support the upcoming -DSND_MODPLUG_STATIC flag
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7792
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Dec 2007 15:49:20 +0000 (15:49 +0000)]
oops, forgot to include snd_modplug.h here
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7791
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Thu, 13 Dec 2007 15:23:14 +0000 (15:23 +0000)]
minor improvement to modplug (now cd loop 1 also would load a mod/it/xm/s3m/... file named track001 (without extension).
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7790
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 12 Dec 2007 21:01:08 +0000 (21:01 +0000)]
oops... forgot this file, sorry
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7789
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Wed, 12 Dec 2007 19:55:17 +0000 (19:55 +0000)]
Add support for libmodplug (when found). Sound files with an extension are now all eligible for modplug, if neither vorbis nor wav recognizes them. CD tracks now try to append the .wav and .ogg extension first, and if that fails, the file name is used as is - but tracker extensions need to be explicitly stated. Example: "cd loop Ending.umx"
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7788
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Wed, 12 Dec 2007 19:28:44 +0000 (19:28 +0000)]
Gecko: forward mouse wheel input
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7787
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Wed, 12 Dec 2007 00:08:17 +0000 (00:08 +0000)]
Gecko resizing support
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7786
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 11 Dec 2007 08:19:46 +0000 (08:19 +0000)]
now really fix fog + HDR
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7785
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Tue, 11 Dec 2007 08:03:24 +0000 (08:03 +0000)]
oops... fog is now colorscaled, so handle this correctly. Now fog + HDR works again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7784
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 10 Dec 2007 00:04:37 +0000 (00:04 +0000)]
Meh, stupid bug in cl_gecko. Sorry about that :-(
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7783
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 9 Dec 2007 22:44:24 +0000 (22:44 +0000)]
CMDBUFSIZE increased to 128k. Hopefully it's enough this time.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7782
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sun, 9 Dec 2007 20:59:57 +0000 (20:59 +0000)]
fog gets additional parameters mindist and maxdist that specify where fog "starts" and "ends"; sky is only fogged as if it were distance "maxdist" away (example: fog 1 0.5 1 0 0 1 gives a slight greenish haze like a view tint)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7781
d7cf8633 -e32d-0410-b094-
e92efae38249
divverent [Sat, 8 Dec 2007 09:51:10 +0000 (09:51 +0000)]
making fog consistent with skybox fog when HDR, scenebrightness or contrastboost are involved
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7780
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 8 Dec 2007 08:04:26 +0000 (08:04 +0000)]
color r_shownromals white at the tips
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7779
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Sat, 8 Dec 2007 07:32:19 +0000 (07:32 +0000)]
made r_shownormals value control the length of the vectors shown, rather
than opacity, this also reduces the length by 8x compared to the
previous code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7778
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Fri, 7 Dec 2007 21:59:40 +0000 (21:59 +0000)]
fix fog, it now matches GL_EXP2 fog as it was meant to (this makes
Nehahra look correct, which it hasn't for years)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7777
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Fri, 7 Dec 2007 09:18:34 +0000 (09:18 +0000)]
Changed Win32 console logic to only allocate a console when a dedicated server.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7776
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Thu, 6 Dec 2007 20:42:48 +0000 (20:42 +0000)]
Changed Q1 lightmap packing to put consecutive surfaces onto the same lightmap again.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7775
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 6 Dec 2007 17:32:45 +0000 (17:32 +0000)]
added DP_QC_VECTOANGLES_WITH_ROLL
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7774
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 6 Dec 2007 17:12:10 +0000 (17:12 +0000)]
Fix a bug - tbh I dont understand why the other menu control worked at all yesterday :o
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7772
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 6 Dec 2007 16:32:41 +0000 (16:32 +0000)]
fix mistakes in the fix for the previous mistakes in default.glsl
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7771
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Thu, 6 Dec 2007 15:55:58 +0000 (15:55 +0000)]
fix two mistakes in glsl/default.glsl deluxemapping paths which broke on
ATI
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7770
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Thu, 6 Dec 2007 13:52:53 +0000 (13:52 +0000)]
Remove unused MP_Fallback from menu.c.
Add DP_GECKO_SUPPORT to the menu's extension string.
Automatically destroy gecko instances on restart.
Change the gecko builtins to take the full texture path always.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7769
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Thu, 6 Dec 2007 12:57:32 +0000 (12:57 +0000)]
Made Q1 face loading faster by using a faster lightmap packing algorithm.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7768
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Thu, 6 Dec 2007 05:19:25 +0000 (05:19 +0000)]
Changed R_Upload() to not allocate memory for a texture when a NULL texture data pointer is given. GL should cope with a NULL texture data pointer just fine, and it's slightly faster.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7767
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Wed, 5 Dec 2007 23:23:00 +0000 (23:23 +0000)]
Lazily initialize Gecko - saves initialization when not used.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7766
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Wed, 5 Dec 2007 23:22:13 +0000 (23:22 +0000)]
Add helper header to simplify measuring time spent in a block or statement.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7765
d7cf8633 -e32d-0410-b094-
e92efae38249
res [Wed, 5 Dec 2007 23:21:08 +0000 (23:21 +0000)]
Changed Win32 code to also support compilation of the executable for the console subsystem.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7764
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Wed, 5 Dec 2007 22:02:42 +0000 (22:02 +0000)]
Add the gecko builtins to csqc, too. (#ifdefed again)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7763
d7cf8633 -e32d-0410-b094-
e92efae38249
black [Mon, 3 Dec 2007 15:04:04 +0000 (15:04 +0000)]
Remove the NG_MENU additions as it has never really been used.
Remove unused code from progs.h.
Add gecko qc builtins (only for the menu right now).
They are untested though.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7760
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Dec 2007 11:57:09 +0000 (11:57 +0000)]
added r_refdef.rtlightstylevalue which is a float version of the normal
lightstylevalue array, but this one is always interpolated (lightstyle
interpolation does not harm rtworld performance)
cleaned up Q1BSP LightPoint code
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7759
d7cf8633 -e32d-0410-b094-
e92efae38249
havoc [Mon, 3 Dec 2007 11:50:15 +0000 (11:50 +0000)]
fix crash on entities with missing models (bug introduced by div0)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7758
d7cf8633 -e32d-0410-b094-
e92efae38249