]> git.rm.cloudns.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
22 years agofix view_ofs when dead (negative viewheight)
havoc [Mon, 5 Aug 2002 11:11:52 +0000 (11:11 +0000)]
fix view_ofs when dead (negative viewheight)

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

22 years agoremoved support for r_ser (also known as R_Clip or "Hidden Surface Removal") as it...
havoc [Mon, 5 Aug 2002 10:58:27 +0000 (10:58 +0000)]
removed support for r_ser (also known as R_Clip or "Hidden Surface Removal") as it was a slowdown for everyone I know of

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

22 years agoan optimization to CL_RelinkNetworkEntities (and related code) which increases perfor...
havoc [Mon, 5 Aug 2002 10:20:25 +0000 (10:20 +0000)]
an optimization to CL_RelinkNetworkEntities (and related code) which increases performance by 5%
(store the ent->state_current.active flags in a separate array to use less memory bandwidth)

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

22 years agooptimized phys_moveentities (in cgame.c) so it doesn't waste so much time
havoc [Mon, 5 Aug 2002 09:47:21 +0000 (09:47 +0000)]
optimized phys_moveentities (in cgame.c) so it doesn't waste so much time

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

22 years agofix svc_setview
havoc [Sun, 4 Aug 2002 20:07:11 +0000 (20:07 +0000)]
fix svc_setview

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

22 years agomoved the GL_CloseLibrary call a bit
havoc [Sun, 4 Aug 2002 20:04:22 +0000 (20:04 +0000)]
moved the GL_CloseLibrary call a bit

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

22 years agofix mouse in win32, I had forgotten to update a lot of code
havoc [Sun, 4 Aug 2002 19:37:09 +0000 (19:37 +0000)]
fix mouse in win32, I had forgotten to update a lot of code

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

22 years agolimit gl_mesh_batchtriangles to never go below 1, because although < 1 works it calls...
havoc [Sun, 4 Aug 2002 15:06:53 +0000 (15:06 +0000)]
limit gl_mesh_batchtriangles to never go below 1, because although < 1 works it calls R_Mesh_Render twice per mesh rather than once

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

22 years agoremoved cl_light.h (which has already been merged into client.h)
havoc [Sat, 3 Aug 2002 21:02:02 +0000 (21:02 +0000)]
removed cl_light.h (which has already been merged into client.h)

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

22 years agonow entirely dynamic OpenGL binding
havoc [Sat, 3 Aug 2002 20:59:29 +0000 (20:59 +0000)]
now entirely dynamic OpenGL binding

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

22 years agoadded r_floatbuildlightmap, unfortunately using floats for the calculations is still...
havoc [Sat, 3 Aug 2002 20:51:07 +0000 (20:51 +0000)]
added r_floatbuildlightmap, unfortunately using floats for the calculations is still ever so slightly slower than integer

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

22 years agooptimized entity updates substantially (or rather, UpdateEnd), nice speedup
havoc [Sat, 3 Aug 2002 20:46:17 +0000 (20:46 +0000)]
optimized entity updates substantially (or rather, UpdateEnd), nice speedup

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

22 years agosome optimizations (notably sparks don't have air friction anymore, which is a signif...
havoc [Sat, 3 Aug 2002 20:44:31 +0000 (20:44 +0000)]
some optimizations (notably sparks don't have air friction anymore, which is a significant speedup to demos), a bit of reorganization

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

22 years agorearranged things a little, mostly related to particles created by EntityParticles...
havoc [Sat, 3 Aug 2002 20:41:12 +0000 (20:41 +0000)]
rearranged things a little, mostly related to particles created by EntityParticles, which should only live one frame

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

22 years agodefault gl_mesh_floatcolors on, and force it off on 3Dfx drivers (sure this is unnece...
havoc [Sat, 3 Aug 2002 20:39:43 +0000 (20:39 +0000)]
default gl_mesh_floatcolors on, and force it off on 3Dfx drivers (sure this is unnecessary unless it is specifically the windows 3Dfx drivers, as surely WickedGL and others work fine, but oh well, 3Dfx cards want byte colors anyway)

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

22 years agoLots of speedups and cleanups in client code, dynamically allocated cl_entities ...
havoc [Sat, 3 Aug 2002 20:34:59 +0000 (20:34 +0000)]
Lots of speedups and cleanups in client code, dynamically allocated cl_entities (and friends), rearranged some things  - sorry this commit is vague, but it's mostly just a lot of rearrangement, cleanup, etc...

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

22 years agocls.spawnparms isn't needed
havoc [Sat, 3 Aug 2002 20:27:54 +0000 (20:27 +0000)]
cls.spawnparms isn't needed

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

22 years agochanged linux/soundcard.h to sys/soundcard.h for more portability - doesn't work...
havoc [Sat, 3 Aug 2002 20:26:09 +0000 (20:26 +0000)]
changed linux/soundcard.h to sys/soundcard.h for more portability - doesn't work properly on FreeBSD yet, though

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

22 years agoprint edict responsible for "Trigger in clipping list" error
havoc [Sat, 3 Aug 2002 20:23:25 +0000 (20:23 +0000)]
print edict responsible for "Trigger in clipping list" error

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

22 years agoadded a mesh queue callback system (to allow mesh rendering things in different order...
havoc [Fri, 2 Aug 2002 18:11:23 +0000 (18:11 +0000)]
added a mesh queue callback system (to allow mesh rendering things in different orders, etc)

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

22 years agocleaned up vid_glx.c somewhat, it can now quit properly when the close button is...
havoc [Fri, 2 Aug 2002 15:12:19 +0000 (15:12 +0000)]
cleaned up vid_glx.c somewhat, it can now quit properly when the close button is pressed (what a mess talking to a window manager, sigh...)

added vid_hidden (iconified or otherwise disabled window - don't render anything) and vid_activewindow (not the active window, don't hog CPU power) to vid_* files

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

22 years agoadded alphafade and gravity fields to particle struct, which made most particle types...
havoc [Fri, 2 Aug 2002 15:08:44 +0000 (15:08 +0000)]
added alphafade and gravity fields to particle struct, which made most particle types redundent, now only a few remain

tweaked various effects (particularly underwater blood, bubbles, smoke effects, etc)

added effects options menu to control the many possible options

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

22 years agoadded cl_explosions and cl_stainmaps cvars, which will be used soon...
havoc [Fri, 2 Aug 2002 15:07:43 +0000 (15:07 +0000)]
added cl_explosions and cl_stainmaps cvars, which will be used soon...

renamed cl_draweffects to r_draweffects and made it actually work

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

22 years agofixed a lighting bug with overbright modes when using r_quickmodels which made most...
havoc [Fri, 2 Aug 2002 15:01:21 +0000 (15:01 +0000)]
fixed a lighting bug with overbright modes when using r_quickmodels which made most models far too bright

changed directional lighting to only light vertices facing the light source (this makes for a very dramatic look)

CompleteLightPoint is now twice as bright as it used to be when running a map that uses a .lights file - more closely matchs the lightmaps

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

22 years agomade liquid colors 50% thinner (it's still apparent you're in a liquid, but you can...
havoc [Fri, 2 Aug 2002 14:57:39 +0000 (14:57 +0000)]
made liquid colors 50% thinner (it's still apparent you're in a liquid, but you can see clearly now)

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

22 years ago'sock' local variable isn't needed anymore, cleaned up NET_Shutdown socket closing...
havoc [Fri, 2 Aug 2002 14:55:27 +0000 (14:55 +0000)]
'sock' local variable isn't needed anymore, cleaned up NET_Shutdown socket closing loop

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

22 years agofixed bug in NET_Shutdown related to freeing sockets
havoc [Fri, 2 Aug 2002 14:53:33 +0000 (14:53 +0000)]
fixed bug in NET_Shutdown related to freeing sockets

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

22 years agoremoved R_Mesh_Draw_NativeOnly (it was not used)
havoc [Fri, 2 Aug 2002 12:11:16 +0000 (12:11 +0000)]
removed R_Mesh_Draw_NativeOnly (it was not used)
cleaned up modulate detection (overbright decisions)

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

22 years agocleaned up glDrawRangeElements limit checking a bit (now done in gl_backend.c)
havoc [Thu, 1 Aug 2002 06:34:46 +0000 (06:34 +0000)]
cleaned up glDrawRangeElements limit checking a bit (now done in gl_backend.c)

no longer limits maxtriangles based on DrawRangeElements limits (since DrawRangeElements is required to work even if limits are exceeded, according to the OpenGL spec)

now posts startup/shutdown messages for gl_backend

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

22 years agocleaned up gl_mesh_drawmode related code, hopefully fixing various unknown bugs
havoc [Wed, 31 Jul 2002 14:04:06 +0000 (14:04 +0000)]
cleaned up gl_mesh_drawmode related code, hopefully fixing various unknown bugs

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

22 years agoexpanded sprint/centerprint buffer from 256 chars to 4096
havoc [Wed, 31 Jul 2002 13:46:25 +0000 (13:46 +0000)]
expanded sprint/centerprint buffer from 256 chars to 4096

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

22 years agodisabled 3DFX mesh size error (because it really only applies when gl_mesh_floatcolor...
havoc [Wed, 31 Jul 2002 12:11:17 +0000 (12:11 +0000)]
disabled 3DFX mesh size error (because it really only applies when gl_mesh_floatcolors is 1, which is not the default)
automatically grow mesh buffers based on size of meshs encountered

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

22 years agocleaned up behavior when an invalid replacement sky texture is found - now it will...
havoc [Wed, 31 Jul 2002 11:45:17 +0000 (11:45 +0000)]
cleaned up behavior when an invalid replacement sky texture is found - now it will fall back to the texture inside the map

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

22 years agoadded -fno-strict-aliasing (even though it isn't a problem with gcc 2.95.3 anyway)
havoc [Wed, 31 Jul 2002 09:57:51 +0000 (09:57 +0000)]
added -fno-strict-aliasing  (even though it isn't a problem with gcc 2.95.3 anyway)

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

22 years agoincreased name limit on engineversion string from 39 chars to 127, this fixed a bug...
havoc [Wed, 31 Jul 2002 09:43:23 +0000 (09:43 +0000)]
increased name limit on engineversion string from 39 chars to 127, this fixed a bug in windows builds where the string was too long for the buffer...

also shortened the string itself to no longer mention 'GL' or 'build'

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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