]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
21 years agoadded the readme file to cvs (... and it needs massive updates)
havoc [Wed, 31 Jul 2002 05:24:06 +0000 (05:24 +0000)]
added the readme file to cvs (... and it needs massive updates)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2137 d7cf8633-e32d-0410-b094-e92efae38249

21 years agowin32 fixes and some MSVC warnings fixed
havoc [Wed, 31 Jul 2002 05:15:05 +0000 (05:15 +0000)]
win32 fixes and some MSVC warnings fixed

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2136 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoFix for -particles specified wrongly on the cmdline..
knghtbrd [Wed, 31 Jul 2002 03:07:50 +0000 (03:07 +0000)]
Fix for -particles specified wrongly on the cmdline..

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2134 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix 'flashing' crosshair bug caused by negative colors (clamp them before drawing...
havoc [Tue, 30 Jul 2002 03:15:09 +0000 (03:15 +0000)]
fix 'flashing' crosshair bug caused by negative colors (clamp them before drawing the sprite)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2121 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoslight simplification/optimzation/readability enhancement/whatever to animating textures
havoc [Mon, 29 Jul 2002 13:23:05 +0000 (13:23 +0000)]
slight simplification/optimzation/readability enhancement/whatever to animating textures

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2119 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix animating textures
havoc [Mon, 29 Jul 2002 13:21:56 +0000 (13:21 +0000)]
fix animating textures

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2118 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoWater transition splashes do not happen for lava anymore. This means
knghtbrd [Mon, 29 Jul 2002 11:20:46 +0000 (11:20 +0000)]
Water transition splashes do not happen for lava anymore.  This means
lavaballs do not drive one ABSOLUTELY INSANE anymore.  (Except when you
get hit by them and they knock you into said lava, but that's another
story entirely..)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2117 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoMake coronas look better (it looks good in Twilight, so...)
knghtbrd [Mon, 29 Jul 2002 11:11:59 +0000 (11:11 +0000)]
Make coronas look better (it looks good in Twilight, so...)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2116 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoSerious-Sam style crosshair (an actual sprite in the world, with slight variation...
havoc [Mon, 29 Jul 2002 10:33:39 +0000 (10:33 +0000)]
Serious-Sam style crosshair (an actual sprite in the world, with slight variation in size based on distance, and is based on actual quake gun position, not center of screen)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2115 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomuch nicer rocket and grenade trails
havoc [Mon, 29 Jul 2002 10:31:57 +0000 (10:31 +0000)]
much nicer rocket and grenade trails

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2114 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocorrected fullbright map handling for the case when the fullbright bmodel is not...
havoc [Mon, 29 Jul 2002 10:09:45 +0000 (10:09 +0000)]
corrected fullbright map handling for the case when the fullbright bmodel is not the running map, but one of the imported bmodels instead, also corrected a comment about r_ambient

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2112 d7cf8633-e32d-0410-b094-e92efae38249

21 years agodisabled memory clumping, which surprisingly improves memory use, rather than hinders...
havoc [Mon, 29 Jul 2002 07:06:52 +0000 (07:06 +0000)]
disabled memory clumping, which surprisingly improves memory use, rather than hinders it (at least in Linux...  hopefully same in windows) and massively speeds up loading of complicated maps

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2110 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoAlphabetized extensions and added TW_SV_STEPCONTROL..
knghtbrd [Sun, 28 Jul 2002 05:45:46 +0000 (05:45 +0000)]
Alphabetized extensions and added TW_SV_STEPCONTROL..

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2105 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoFixed PCX file loading for images with an odd width
molivier [Fri, 26 Jul 2002 06:18:16 +0000 (06:18 +0000)]
Fixed PCX file loading for images with an odd width

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2093 d7cf8633-e32d-0410-b094-e92efae38249

21 years agonow uses a fragment texture for the video (massive speedup)
havoc [Thu, 25 Jul 2002 09:58:47 +0000 (09:58 +0000)]
now uses a fragment texture for the video (massive speedup)
clears audioqueue when video stops

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2089 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofragment images made for fragment textures will now always be big enough for the...
havoc [Thu, 25 Jul 2002 09:57:41 +0000 (09:57 +0000)]
fragment images made for fragment textures will now always be big enough for the fragment texture that created them

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2088 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix fatal bugs in S_RawSamples_Enqueue and Dequeue relating to mis-detected buffer...
havoc [Thu, 25 Jul 2002 09:50:06 +0000 (09:50 +0000)]
fix fatal bugs in S_RawSamples_Enqueue and Dequeue relating to mis-detected buffer wraps

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2084 d7cf8633-e32d-0410-b094-e92efae38249

21 years ago.dpv video playback is now implemented. Slow though, because it's resizing textures...
havoc [Thu, 25 Jul 2002 09:14:48 +0000 (09:14 +0000)]
.dpv video playback is now implemented.  Slow though, because it's resizing textures, this needs to be fixed...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2083 d7cf8633-e32d-0410-b094-e92efae38249

21 years agowhitespace
havoc [Thu, 25 Jul 2002 02:51:20 +0000 (02:51 +0000)]
whitespace

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2082 d7cf8633-e32d-0410-b094-e92efae38249

21 years agowhitespace cleanup
havoc [Thu, 25 Jul 2002 02:49:43 +0000 (02:49 +0000)]
whitespace cleanup

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2081 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded S_RawSamples_Enqueue, S_RawSamples_Dequeue, and S_RawSamples_ClearQueue functio...
havoc [Thu, 25 Jul 2002 02:43:33 +0000 (02:43 +0000)]
added S_RawSamples_Enqueue, S_RawSamples_Dequeue, and S_RawSamples_ClearQueue functions to allow background music/video support, these are now used to clear the paintbuffer

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2080 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadd -fno-strict-aliasing
havoc [Thu, 25 Jul 2002 02:03:37 +0000 (02:03 +0000)]
add -fno-strict-aliasing

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2079 d7cf8633-e32d-0410-b094-e92efae38249

21 years agominor whitespace and comment cleanup
havoc [Thu, 25 Jul 2002 01:44:38 +0000 (01:44 +0000)]
minor whitespace and comment cleanup

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2078 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomassive cleanup of S_TransferPaintBuffer and moved DirectSound locking junk into...
havoc [Thu, 25 Jul 2002 01:40:06 +0000 (01:40 +0000)]
massive cleanup of S_TransferPaintBuffer and moved DirectSound locking junk into snd_win.c (adding S_LockBuffer and S_UnlockBuffer stubs for other platforms)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2077 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoinclude quakedef (which drags in lots of other stuff) to hide various MSVC warnings...
havoc [Sun, 21 Jul 2002 08:40:19 +0000 (08:40 +0000)]
include quakedef (which drags in lots of other stuff) to hide various MSVC warnings and make sure M_PI is defined

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2063 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix view blends so they are alpha, not additive
havoc [Sat, 20 Jul 2002 01:02:11 +0000 (01:02 +0000)]
fix view blends so they are alpha, not additive

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2061 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofaster static light tracing (by not doing it as often), this also means results of...
havoc [Wed, 17 Jul 2002 05:29:20 +0000 (05:29 +0000)]
faster static light tracing (by not doing it as often), this also means results of static light traces are cached in the entity_render_t (which is now considered semi-persistent), made light falloff in .lights file actually work (it wasn't being used by the model lighting code... oops), also made coronas twice as bright

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2046 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomerged matrix4x4 and matrix3x4 into matrixlib, updated makefiles and dsp, some cleanu...
havoc [Wed, 17 Jul 2002 05:24:16 +0000 (05:24 +0000)]
merged matrix4x4 and matrix3x4 into matrixlib, updated makefiles and dsp, some cleanups to matrixlib as well

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2045 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoput parentheses around parameters to min/max/bound macros
havoc [Wed, 17 Jul 2002 05:18:31 +0000 (05:18 +0000)]
put parentheses around parameters to min/max/bound macros

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2044 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoscrag, hellknight, and shalrath shots now glow, also tweaked the particle colors...
havoc [Wed, 17 Jul 2002 05:15:21 +0000 (05:15 +0000)]
scrag, hellknight, and shalrath shots now glow, also tweaked the particle colors and made them additive blend

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2043 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoThe Nehahra movie was borked. They were making static ents without
knghtbrd [Tue, 9 Jul 2002 18:46:41 +0000 (18:46 +0000)]
The Nehahra movie was borked.  They were making static ents without
models.  When you try to do this, DarkPlaces has issues!  Issues I say!

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2029 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoupdated mingw makefile and MSVC project to add matrix4x4.c and matrix3x4.c
havoc [Mon, 8 Jul 2002 06:54:42 +0000 (06:54 +0000)]
updated mingw makefile and MSVC project to add matrix4x4.c and matrix3x4.c

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2020 d7cf8633-e32d-0410-b094-e92efae38249

21 years agobetter check for 0 alpha (it now must be exactly 0.0f, not merely rounded off to...
havoc [Mon, 8 Jul 2002 06:02:23 +0000 (06:02 +0000)]
better check for 0 alpha (it now must be exactly 0.0f, not merely rounded off to 0 as a byte)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2019 d7cf8633-e32d-0410-b094-e92efae38249

21 years agosome whitespace cleanups and a correction of a comment
havoc [Mon, 8 Jul 2002 02:57:02 +0000 (02:57 +0000)]
some whitespace cleanups and a correction of a comment

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2018 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoMatrix4x4_CreateRotate and Matrix3x4_CreateRotate now take degrees instead of radians...
havoc [Mon, 8 Jul 2002 02:40:59 +0000 (02:40 +0000)]
Matrix4x4_CreateRotate and Matrix3x4_CreateRotate now take degrees instead of radians for the angle

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2017 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoa minor whitespace cleanup on R_ConcatRotations
havoc [Mon, 8 Jul 2002 00:39:24 +0000 (00:39 +0000)]
a minor whitespace cleanup on R_ConcatRotations

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2016 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoif the OS returns a very bogus time (or it wrapped), warn about it and keep ticking
havoc [Mon, 8 Jul 2002 00:12:22 +0000 (00:12 +0000)]
if the OS returns a very bogus time (or it wrapped), warn about it and keep ticking

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2015 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoupdated .cvsignore so it ignores darkplaces-3dfx and gmon.out
havoc [Mon, 8 Jul 2002 00:02:54 +0000 (00:02 +0000)]
updated .cvsignore so it ignores darkplaces-3dfx and gmon.out

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2012 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded snd_null for anyone who can't use the other sound drivers, and cleaned up the...
havoc [Mon, 8 Jul 2002 00:02:03 +0000 (00:02 +0000)]
added snd_null for anyone who can't use the other sound drivers, and cleaned up the notes regarding sound drivers in the makefile

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2011 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocreated a couple matrix libraries (4x4 and 3x4), hopefully these will be useful
havoc [Sun, 7 Jul 2002 23:42:36 +0000 (23:42 +0000)]
created a couple matrix libraries (4x4 and 3x4), hopefully these will be useful

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2009 d7cf8633-e32d-0410-b094-e92efae38249

21 years agonow includes qtypes.h
havoc [Sun, 7 Jul 2002 23:38:28 +0000 (23:38 +0000)]
now includes qtypes.h

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2008 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded a qtypes.h for little things like qbyte and such
havoc [Sun, 7 Jul 2002 23:37:32 +0000 (23:37 +0000)]
added a qtypes.h for little things like qbyte and such

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2007 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoMake screenshot saving more like Twilight's.
knghtbrd [Sun, 7 Jul 2002 20:43:10 +0000 (20:43 +0000)]
Make screenshot saving more like Twilight's.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1999 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocorrected QuatMake math, and commented out the entire set of quaternion macros
havoc [Sat, 6 Jul 2002 20:23:36 +0000 (20:23 +0000)]
corrected QuatMake math, and commented out the entire set of quaternion macros

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1996 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoMake sure these files are marked as binary so CVS keeps the dos newlines.
knghtbrd [Sat, 6 Jul 2002 12:04:47 +0000 (12:04 +0000)]
Make sure these files are marked as binary so CVS keeps the dos newlines.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1993 d7cf8633-e32d-0410-b094-e92efae38249

21 years agosome cleanup of map texture loading and related code (mainly better support for untex...
havoc [Sat, 6 Jul 2002 01:48:50 +0000 (01:48 +0000)]
some cleanup of map texture loading and related code (mainly better support for untextured maps), no longer uploads more than one copy of the notexture image (it used to upload one copy of it per bmodel loaded), minor optimization of animating texture support (or rather, optimization of the extremely common non-animating texture case)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1992 d7cf8633-e32d-0410-b094-e92efae38249

21 years agodisabled RecursiveHullCheckPoint because it probably isn't much of a speed gain reall...
havoc [Sat, 6 Jul 2002 01:45:15 +0000 (01:45 +0000)]
disabled RecursiveHullCheckPoint because it probably isn't much of a speed gain really, and it could break things in rare cases

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1991 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix for grenades sinking into brush model floor in start.bsp
havoc [Sat, 6 Jul 2002 01:43:27 +0000 (01:43 +0000)]
fix for grenades sinking into brush model floor in start.bsp

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1990 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoChange to using a flash for teleport rather than a particle effect.
knghtbrd [Fri, 5 Jul 2002 13:28:07 +0000 (13:28 +0000)]
Change to using a flash for teleport rather than a particle effect.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1985 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoKill trigraphs. Die die die. Or something.
knghtbrd [Fri, 5 Jul 2002 03:28:10 +0000 (03:28 +0000)]
Kill trigraphs.  Die die die.  Or something.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1983 d7cf8633-e32d-0410-b094-e92efae38249

21 years agono longer complains about missing sounds loaded by the engine (wind2, water1, etc...
havoc [Sat, 29 Jun 2002 04:00:11 +0000 (04:00 +0000)]
no longer complains about missing sounds loaded by the engine (wind2, water1, etc), only the QC

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1969 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoFixed video modes menu on Win32
molivier [Mon, 24 Jun 2002 07:19:28 +0000 (07:19 +0000)]
Fixed video modes menu on Win32

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1965 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoSomeone has been programming QC too long. (At least it was QC related!)
knghtbrd [Fri, 14 Jun 2002 09:49:36 +0000 (09:49 +0000)]
Someone has been programming QC too long.  (At least it was QC related!)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1954 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoFixed major bug in time wrap code, would have not advanced clock at all after wrap...
lordhavoc [Thu, 13 Jun 2002 19:38:52 +0000 (19:38 +0000)]
Fixed major bug in time wrap code, would have not advanced clock at all after wrap.  Thanks to Mercury for pointing out the bug.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1953 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoForgot to apply Vic's axial patch for r_light.c, here it is.
lordhavoc [Thu, 13 Jun 2002 00:38:27 +0000 (00:38 +0000)]
Forgot to apply Vic's axial patch for r_light.c, here it is.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1951 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoOptimized AddDynamicLights and StainNode for axial surfaces/nodes (respectively)...
lordhavoc [Thu, 13 Jun 2002 00:25:18 +0000 (00:25 +0000)]
Optimized AddDynamicLights and StainNode for axial surfaces/nodes (respectively), thanks to Vic for example code.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1950 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoAdded a special key binding menu when compiling for BloodBath
molivier [Wed, 12 Jun 2002 12:24:09 +0000 (12:24 +0000)]
Added a special key binding menu when compiling for BloodBath

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1947 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoRemoved an error when compiling with MSVC
molivier [Wed, 12 Jun 2002 12:22:48 +0000 (12:22 +0000)]
Removed an error when compiling with MSVC

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1946 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofaster stainmap code in BuildLightMap
lordhavoc [Mon, 10 Jun 2002 21:43:32 +0000 (21:43 +0000)]
faster stainmap code in BuildLightMap

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1943 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocleaned up order of bbox checks (whether to use the normal mins/maxs, or the clipmins...
lordhavoc [Mon, 10 Jun 2002 21:42:18 +0000 (21:42 +0000)]
cleaned up order of bbox checks (whether to use the normal mins/maxs, or the clipmins/maxs, or the hullmins/maxs), and made use of areanodes culling optional (sv_useareanodes 0 will cause it to check against all entities every move, for debugging)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1942 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocleaned up SV_Physics_Toss a bit - particularly water transitions and floating items
lordhavoc [Mon, 10 Jun 2002 21:40:10 +0000 (21:40 +0000)]
cleaned up SV_Physics_Toss a bit - particularly water transitions and floating items

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1941 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoget rid of velocity jittering on rain and snow, except for horizontal jitter on snow...
lordhavoc [Mon, 10 Jun 2002 19:07:21 +0000 (19:07 +0000)]
get rid of velocity jittering on rain and snow, except for horizontal jitter on snow while falling (since that is a desired effect), should make snow work at low velocities

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1940 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadvance angles as well as origin on clients when noclipping (why? I don't know,...
lordhavoc [Mon, 10 Jun 2002 17:21:30 +0000 (17:21 +0000)]
advance angles as well as origin on clients when noclipping (why?  I don't know, consistency)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1939 d7cf8633-e32d-0410-b094-e92efae38249

21 years agostep up stairs while flying
lordhavoc [Sun, 9 Jun 2002 00:36:34 +0000 (00:36 +0000)]
step up stairs while flying

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1934 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoSV_PointContents removed (all calls replaced with Mod_PointInLeaf, which is faster)
lordhavoc [Sun, 9 Jun 2002 00:30:10 +0000 (00:30 +0000)]
SV_PointContents removed (all calls replaced with Mod_PointInLeaf, which is faster)
SV_HullPointContents removed (no longer needed)
SV_TestEntityPosition now returns an int (true if in solid) rather than an edict_t *
sv_jumpstep added - step up while airborn, for example when jumping
sv_wallfriction added - to allow it to be turned off if desired
fly and noclip movement for players is now more like swimming

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1933 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomade snow smaller and slightly transparent, looks better now
lordhavoc [Sun, 9 Jun 2002 00:26:08 +0000 (00:26 +0000)]
made snow smaller and slightly transparent, looks better now

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1932 d7cf8633-e32d-0410-b094-e92efae38249

21 years agotimer now simply returns the same time twice if the OS value wraps, and posts a warni...
lordhavoc [Sun, 9 Jun 2002 00:23:07 +0000 (00:23 +0000)]
timer now simply returns the same time twice if the OS value wraps, and posts a warning (rather than Sys_Error)
whitespace cleanup

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1931 d7cf8633-e32d-0410-b094-e92efae38249

21 years agotimer now simply returns same time twice if the time input wraps, and posts a warning...
lordhavoc [Sun, 9 Jun 2002 00:20:49 +0000 (00:20 +0000)]
timer now simply returns same time twice if the time input wraps, and posts a warning about this occurring, rather than doing a Sys_Error
cleaned up lots of code, mostly timer related.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1930 d7cf8633-e32d-0410-b094-e92efae38249

21 years agocd_null.c works now. It's the default because cd_linux.c is Linux only.
knghtbrd [Fri, 7 Jun 2002 20:37:45 +0000 (20:37 +0000)]
cd_null.c works now.  It's the default because cd_linux.c is Linux only.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1920 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded back this file from stock quake, so people can build with no CD audio if desired...
lordhavoc [Fri, 7 Jun 2002 19:03:35 +0000 (19:03 +0000)]
added back this file from stock quake, so people can build with no CD audio if desired...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1919 d7cf8633-e32d-0410-b094-e92efae38249

21 years agochanged model lighting to match map lighting (this means it is only barely directiona...
lordhavoc [Mon, 3 Jun 2002 17:02:59 +0000 (17:02 +0000)]
changed model lighting to match map lighting (this means it is only barely directional, sadly, but matchs the brightness of the map)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1898 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoUpdated BloodBath maps list
molivier [Mon, 3 Jun 2002 06:14:06 +0000 (06:14 +0000)]
Updated BloodBath maps list

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1895 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomake r_render skip the 3D rendering code (I forgot this before? ick)
lordhavoc [Mon, 3 Jun 2002 03:02:21 +0000 (03:02 +0000)]
make r_render skip the 3D rendering code (I forgot this before? ick)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1894 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoremoved unneeded r_render check
lordhavoc [Mon, 3 Jun 2002 02:19:01 +0000 (02:19 +0000)]
removed unneeded r_render check

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1893 d7cf8633-e32d-0410-b094-e92efae38249

21 years agodisable hidden surface removal by default
lordhavoc [Mon, 3 Jun 2002 02:07:53 +0000 (02:07 +0000)]
disable hidden surface removal by default

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1892 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoA minor removal of a few pieces of dead code. Nothing major. This is
knghtbrd [Sun, 2 Jun 2002 19:52:39 +0000 (19:52 +0000)]
A minor removal of a few pieces of dead code.  Nothing major.  This is
stage two.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1891 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoUnused.
knghtbrd [Sun, 2 Jun 2002 13:47:28 +0000 (13:47 +0000)]
Unused.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1890 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoDP code cleanup, stage one - all headers that can be protected by ifdef
knghtbrd [Sun, 2 Jun 2002 13:43:41 +0000 (13:43 +0000)]
DP code cleanup, stage one - all headers that can be protected by ifdef
and define now are.  Some dead code found in them was also removed.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1889 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoremove unused DrawNotifyString, fix intermission screen so only the finale-style...
lordhavoc [Sat, 1 Jun 2002 21:30:36 +0000 (21:30 +0000)]
remove unused DrawNotifyString, fix intermission screen so only the finale-style intermission screens print a message slowly onto the screen

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1886 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded -texgamma, -texcontrast, -texbrightness, these manipulate the palette (note...
lordhavoc [Sat, 1 Jun 2002 21:27:23 +0000 (21:27 +0000)]
added -texgamma, -texcontrast, -texbrightness, these manipulate the palette (note: only affects quake palette images) in ways similar to qgamma (or so I assume, having never used it), possibly useful, sorta

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1885 d7cf8633-e32d-0410-b094-e92efae38249

21 years agouse volatile on icolor and fcolor pointers in GL_ConvertColorsFloatToByte to avoid...
lordhavoc [Sat, 1 Jun 2002 21:04:36 +0000 (21:04 +0000)]
use volatile on icolor and fcolor pointers in GL_ConvertColorsFloatToByte to avoid aliasing problems (aliasing is exactly what that code is doing, after all)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1884 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoI have commit access to DP? When did that happen?
mercury [Wed, 29 May 2002 11:28:09 +0000 (11:28 +0000)]
I have commit access to DP? When did that happen?

Fix the flying backpacks, just moving two lines, one of which is a comment.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1877 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoattempt at working around a NVIDIA 23.11 TNT driver bug which causes the menu text...
lordhavoc [Mon, 27 May 2002 06:54:54 +0000 (06:54 +0000)]
attempt at working around a NVIDIA 23.11 TNT driver bug which causes the menu text to be squished to the top

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1874 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomake bbox collisions work again
lordhavoc [Mon, 27 May 2002 06:48:03 +0000 (06:48 +0000)]
make bbox collisions work again

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1873 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix for gl_mesh_maxtriangles not defaulting correctly and raised minimum limit to...
lordhavoc [Mon, 27 May 2002 06:47:22 +0000 (06:47 +0000)]
fix for gl_mesh_maxtriangles not defaulting correctly and raised minimum limit to 1024

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1872 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded some smoke to the fire effect (requested for bloodbath)
lordhavoc [Mon, 27 May 2002 06:44:59 +0000 (06:44 +0000)]
added some smoke to the fire effect (requested for bloodbath)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1871 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix for uninitialized start/end of trace against bbox (oops!!)
lordhavoc [Wed, 22 May 2002 10:08:34 +0000 (10:08 +0000)]
fix for uninitialized start/end of trace against bbox (oops!!)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1867 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded RecursiveHullCheckPoint for quicker tracing of a single point (that is to say...
lordhavoc [Wed, 22 May 2002 09:57:49 +0000 (09:57 +0000)]
added RecursiveHullCheckPoint for quicker tracing of a single point (that is to say: start == end)
rewrote RecursiveHullCheck a few times trying to improve it and gave up (epsilons are finicky), mostly reverted, however the mid point calculation is more accurate
(this fixes the 'can't move' bug)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1866 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix a bunch of pointer type warnings introduced by the change to const parameters...
lordhavoc [Wed, 22 May 2002 03:17:50 +0000 (03:17 +0000)]
fix a bunch of pointer type warnings introduced by the change to const parameters in R_ConcatRotations and R_ConcatTransforms (now take float * instead of two dimensional array)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1865 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoignore various MSVC files (.opt, .plg, .ncb) and .exe
lordhavoc [Tue, 21 May 2002 11:12:40 +0000 (11:12 +0000)]
ignore various MSVC files (.opt, .plg, .ncb) and .exe

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1864 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoignore .o files
lordhavoc [Tue, 21 May 2002 11:10:23 +0000 (11:10 +0000)]
ignore .o files

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1863 d7cf8633-e32d-0410-b094-e92efae38249

21 years agoadded collision.c, cl_collision.c. collision.h, cl_collision.h
lordhavoc [Tue, 21 May 2002 10:49:48 +0000 (10:49 +0000)]
added collision.c, cl_collision.c. collision.h, cl_collision.h

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1862 d7cf8633-e32d-0410-b094-e92efae38249

21 years agosplit out RecursiveHullCheck and related code into collision.c (shared by client...
lordhavoc [Tue, 21 May 2002 10:47:23 +0000 (10:47 +0000)]
split out RecursiveHullCheck and related code into collision.c (shared by client and server, doesn't care what an entity is), and cl_collision.c (CL_TraceLine and related code), this cleans up a lot of messy RecursiveHullCheck calls, replacing them with Collision_ClipTrace calls
also removed some commented out code
and fixed an epsilon glitch in RecursiveHullCheck which was mostly visible when shooting a gun along a wall at angles nearly parallel with the wall

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1861 d7cf8633-e32d-0410-b094-e92efae38249

21 years agomade various things take const pointers (optimizer hint), commented out and/or remove...
lordhavoc [Tue, 21 May 2002 10:36:48 +0000 (10:36 +0000)]
made various things take const pointers (optimizer hint), commented out and/or removed a lot of unused functions

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1860 d7cf8633-e32d-0410-b094-e92efae38249

21 years agochanged Length() call to VectorLength() macro in two places
lordhavoc [Tue, 21 May 2002 10:22:32 +0000 (10:22 +0000)]
changed Length() call to VectorLength() macro in two places

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1859 d7cf8633-e32d-0410-b094-e92efae38249

21 years agochanged Length() call to VectorLength() macro... inside a comment... yes pointless...
lordhavoc [Tue, 21 May 2002 10:20:45 +0000 (10:20 +0000)]
changed Length() call to VectorLength() macro...  inside a comment...  yes pointless I know...

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1858 d7cf8633-e32d-0410-b094-e92efae38249

21 years agooptimized (now does not use a sqrt for each entity) and improved findradius (now...
lordhavoc [Tue, 21 May 2002 10:18:11 +0000 (10:18 +0000)]
optimized (now does not use a sqrt for each entity) and improved findradius (now compares sphere against bboxes, rather than entity centers)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1857 d7cf8633-e32d-0410-b094-e92efae38249

21 years agobuild for -mwindows (so it doesn't open a console)
lordhavoc [Tue, 21 May 2002 03:51:57 +0000 (03:51 +0000)]
build for -mwindows (so it doesn't open a console)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1856 d7cf8633-e32d-0410-b094-e92efae38249

21 years agovalidate animations in zym models
lordhavoc [Tue, 21 May 2002 02:32:04 +0000 (02:32 +0000)]
validate animations in zym models

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1855 d7cf8633-e32d-0410-b094-e92efae38249

21 years agofix for really dumb mistake (missing memset) in Mod_SplitSurfMeshIfTooBig
lordhavoc [Sun, 19 May 2002 01:30:53 +0000 (01:30 +0000)]
fix for really dumb mistake (missing memset) in Mod_SplitSurfMeshIfTooBig

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1852 d7cf8633-e32d-0410-b094-e92efae38249