]> de.git.xonotic.org Git - xonotic/darkplaces.git/log
xonotic/darkplaces.git
21 years agonow uses R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 23:20:25 +0000 (23:20 +0000)]
now uses R_Mesh_Draw_GetBuffer

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

21 years agochanged viewblend to use R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 23:13:48 +0000 (23:13 +0000)]
changed viewblend to use R_Mesh_Draw_GetBuffer

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

21 years agoconverted coronas to R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 22:45:03 +0000 (22:45 +0000)]
converted coronas to R_Mesh_Draw_GetBuffer

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

21 years agoconverted skysphere to R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 22:19:54 +0000 (22:19 +0000)]
converted skysphere to R_Mesh_Draw_GetBuffer

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

21 years agochanged a bunch of #if 1's to #if USEMESHBUFFER (which is 1)
havoc [Fri, 9 Aug 2002 22:03:28 +0000 (22:03 +0000)]
changed a bunch of #if 1's to #if USEMESHBUFFER (which is 1)

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

21 years agoskybox now uses R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 22:02:06 +0000 (22:02 +0000)]
skybox now uses R_Mesh_Draw_GetBuffer

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

21 years agore-enable optimizations by default
havoc [Fri, 9 Aug 2002 22:01:25 +0000 (22:01 +0000)]
re-enable optimizations by default

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

21 years agoconverted code to use R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 21:48:19 +0000 (21:48 +0000)]
converted code to use R_Mesh_Draw_GetBuffer

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

21 years agoconverted drawing code from R_Mesh_Draw to R_Mesh_Draw_GetBuffer
havoc [Fri, 9 Aug 2002 21:47:11 +0000 (21:47 +0000)]
converted drawing code from R_Mesh_Draw to R_Mesh_Draw_GetBuffer

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

21 years agorewrote most of the RSurfShader_ functions to use R_Mesh_Draw_GetBuffer instead of...
havoc [Fri, 9 Aug 2002 21:14:12 +0000 (21:14 +0000)]
rewrote most of the RSurfShader_ functions to use R_Mesh_Draw_GetBuffer instead of R_Mesh_Draw

r_modellights replaced r_lightmodels, r_modellights sets limit on how many directional lights will be shaded onto the model (only the brightest are chosen)

cleaned up lighting code a lot, it is now consistent between static and dynamic light sources, and the light radius has been reduced

unfortunately this commit seems to have slowed down the engine a bit, and I don't know why, it should be a speed gain

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

21 years agofixed r_drawentities 0 which was forgetting to enlarge the farclip based on the world...
havoc [Wed, 7 Aug 2002 20:31:56 +0000 (20:31 +0000)]
fixed r_drawentities 0 which was forgetting to enlarge the farclip based on the world bounding box

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

21 years agosupport for top to bottom TGA, thanks Elric.
havoc [Wed, 7 Aug 2002 20:09:46 +0000 (20:09 +0000)]
support for top to bottom TGA, thanks Elric.

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

21 years agoadded r_sortsurfaces cvar, default off, sorting them seems to be a very minor slowdow...
havoc [Tue, 6 Aug 2002 16:35:51 +0000 (16:35 +0000)]
added r_sortsurfaces cvar, default off, sorting them seems to be a very minor slowdown ingame for me

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

21 years agofix for the effects menu input code, thanks Elric
havoc [Tue, 6 Aug 2002 16:04:57 +0000 (16:04 +0000)]
fix for the effects menu input code, thanks Elric

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

21 years agofix for 'falling' in a corner bug, thanks to Elric for finding the fix for this.
havoc [Tue, 6 Aug 2002 16:01:46 +0000 (16:01 +0000)]
fix for 'falling' in a corner bug, thanks to Elric for finding the fix for this.
also removed a SOLID_BSP check that shouldn't be there anymore.

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

21 years agospawned entities were often not appearing in quake protocol (demos), oops
havoc [Mon, 5 Aug 2002 23:23:53 +0000 (23:23 +0000)]
spawned entities were often not appearing in quake protocol (demos), oops

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

21 years agothe -I and -L weren't necessary (and didn't work anyway)
havoc [Mon, 5 Aug 2002 19:57:04 +0000 (19:57 +0000)]
the -I and -L  weren't necessary (and didn't work anyway)

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

21 years agofix for double to float warning in MSVC
havoc [Mon, 5 Aug 2002 19:18:15 +0000 (19:18 +0000)]
fix for double to float warning in MSVC

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

21 years agoconsistency fix for GL_EXT_draw_range_elements - don't be silent about missing functi...
havoc [Mon, 5 Aug 2002 19:17:28 +0000 (19:17 +0000)]
consistency fix for GL_EXT_draw_range_elements - don't be silent about missing functions if the extension is reported

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

21 years agoa rather hefty 6% speed gain by getting rid of the R_Mesh_UpdateFarClip function...
havoc [Mon, 5 Aug 2002 13:28:26 +0000 (13:28 +0000)]
a rather hefty 6% speed gain by getting rid of the R_Mesh_UpdateFarClip function, and reorganizing it to use bounding boxes instead (outside of gl_backend even)

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

21 years agoR_GetTexture is now named R_RealGetTexture, R_GetTexture is a macro which hardly...
havoc [Mon, 5 Aug 2002 12:16:44 +0000 (12:16 +0000)]
R_GetTexture is now named R_RealGetTexture, R_GetTexture is a macro which hardly ever calls R_RealGetTexture - this is a nice speed gain, cutting out about 2.3 million calls during timedemo bigass1

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

21 years agoremoved procedural texture support because it was inefficient where it was implemente...
havoc [Mon, 5 Aug 2002 11:54:28 +0000 (11:54 +0000)]
removed procedural texture support because it was inefficient where it was implemented - it can be implemented more efficiently in renderer code than in R_GetTexture

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

21 years agolightmaps shouldn't be procedural, because they have no generate function anyway...
havoc [Mon, 5 Aug 2002 11:40:14 +0000 (11:40 +0000)]
lightmaps shouldn't be procedural, because they have no generate function anyway (and are therefore not self-animating)

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

21 years agoattempt to optimize SND_PaintChannelFrom8 a little bit
havoc [Mon, 5 Aug 2002 11:39:08 +0000 (11:39 +0000)]
attempt to optimize SND_PaintChannelFrom8 a little bit

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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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