]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
23 years agooops, two loop counting bugs, fixed
lordhavoc [Mon, 23 Apr 2001 22:49:56 +0000 (22:49 +0000)]
oops, two loop counting bugs, fixed

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

23 years agoadded back support for textures smaller than 4 pixels wide (Nehahra uses one)
lordhavoc [Mon, 23 Apr 2001 22:03:00 +0000 (22:03 +0000)]
added back support for textures smaller than 4 pixels wide (Nehahra uses one)

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

23 years agoadded newmap function to render modules (so explosions and other things are reset...
lordhavoc [Fri, 20 Apr 2001 15:48:49 +0000 (15:48 +0000)]
added newmap function to render modules (so explosions and other things are reset on map load)
CL_AllocDlight redesigned (takes all settings for dlight on parameter line)
dlights now use a pointer to their owner entity instead of a key number
light emitting entities now glow properly (directional lighting disabled on the entity that owns the dlight)
cl_shownet no longer spews empty lines when recieving less updates from server than client framerate
some whitespace cleanup
fixed some missing parentheses on a condition in R_BuildLightmap (mixed &&, &, and ||, eek)
fixed vertex array problems with fog sky
increased MAX_TRANSPOLYS from 8192 to 65536
added a general purpose decal engine, superior to the decal particles (lower CPU use, better lighting)
added bullet hole decals and bullet hole texture generator
added r_speeds2 time reporting for moveexplosions, drawexplosions, and drawdecals
cleaned up dlight logic, all code now relies on radius, which is cleared when the dlight dies, this removed all potential flickering problems and offers a minor speedup
optimized R_ResampleTexture further to improve load times
moved heap size commandline parameter stuff from platform specific startup code to Host_Init, now all platforms understand -mem, -winmem, and -heapsize
WAD3 texture transparency now supported again
r_explosionclip cvar is now saved to config
r_drawexplosions cvar added
r_particles cvar is now saved to config
r_dynamicparticles cvar renamed to r_particles_lighting
r_particles_bloodshowers cvar added to disable blood shower effects
r_particles_blood cvar added to disable blood effects
r_particles_smoke cvar added to disable smoke effects
r_particles_sparks cvar added to disable spark effects
r_particles_bubbles cvar added to disable bubble effects
fixed smoke texture problem (0 alpha-noise portions were not written to texture, leaving portions of previous texture in buffer)
changed nearly every particle effect to look better and use less particles and fillrate, major speed gains resulted
blood particles no longer fade inflight as it made the effects less impressive and resulted in a lot of mostly transparent decals
major particle size bug fixed, all view aligned particles (everything but rain and decals) were 50% larger than they were supposed to be
particles now use transpolyvertub (unsigned byte colors) instead of transpolyvert for a speedup

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

23 years agoadded newmap function to render modules (so explosions and other things are reset...
lordhavoc [Fri, 20 Apr 2001 15:38:28 +0000 (15:38 +0000)]
added newmap function to render modules (so explosions and other things are reset on map load)
CL_AllocDlight redesigned (takes all settings for dlight on parameter line)
dlights now use a pointer to their owner entity instead of a key number
light emitting entities now glow properly (directional lighting disabled on the entity that owns the dlight)
cl_shownet no longer spews empty lines when recieving less updates from server than client framerate
some whitespace cleanup
fixed some missing parentheses on a condition in R_BuildLightmap (mixed &&, &, and ||, eek)
fixed vertex array problems with fog sky
increased MAX_TRANSPOLYS from 8192 to 65536
added a general purpose decal engine, superior to the decal particles (lower CPU use, better lighting)
added bullet hole decals and bullet hole texture generator
added r_speeds2 time reporting for moveexplosions, drawexplosions, and drawdecals
cleaned up dlight logic, all code now relies on radius, which is cleared when the dlight dies, this removed all potential flickering problems and offers a minor speedup
optimized R_ResampleTexture further to improve load times
moved heap size commandline parameter stuff from platform specific startup code to Host_Init, now all platforms understand -mem, -winmem, and -heapsize
WAD3 texture transparency now supported again
r_explosionclip cvar is now saved to config
r_drawexplosions cvar added
r_particles cvar is now saved to config
r_dynamicparticles cvar renamed to r_particles_lighting
r_particles_bloodshowers cvar added to disable blood shower effects
r_particles_blood cvar added to disable blood effects
r_particles_smoke cvar added to disable smoke effects
r_particles_sparks cvar added to disable spark effects
r_particles_bubbles cvar added to disable bubble effects
fixed smoke texture problem (0 alpha-noise portions were not written to texture, leaving portions of previous texture in buffer)
changed nearly every particle effect to look better and use less particles and fillrate, major speed gains resulted
blood particles no longer fade inflight as it made the effects less impressive and resulted in a lot of mostly transparent decals
major particle size bug fixed, all view aligned particles (everything but rain and decals) were 50% larger than they were supposed to be
particles now use transpolyvertub (unsigned byte colors) instead of transpolyvert for a speedup

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

23 years agogl_mtex_enum has moved to vid_shared.c
knghtbrd [Fri, 6 Apr 2001 03:51:39 +0000 (03:51 +0000)]
gl_mtex_enum has moved to vid_shared.c

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

23 years agomissed this one...
lordhavoc [Fri, 6 Apr 2001 03:49:40 +0000 (03:49 +0000)]
missed this one...

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

23 years agoadded default case for particles to report the error and remove the particle
lordhavoc [Fri, 6 Apr 2001 03:48:40 +0000 (03:48 +0000)]
added default case for particles to report the error and remove the particle

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

23 years agoFix a couple gcc warnings
knghtbrd [Fri, 6 Apr 2001 03:44:45 +0000 (03:44 +0000)]
Fix a couple gcc warnings

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

23 years agofix for lightmap update check
lordhavoc [Fri, 6 Apr 2001 03:43:36 +0000 (03:43 +0000)]
fix for lightmap update check

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

23 years agooptimized AngleVectors calls (pass NULL for vectors that should not be generated)
lordhavoc [Fri, 6 Apr 2001 03:10:06 +0000 (03:10 +0000)]
optimized AngleVectors calls (pass NULL for vectors that should not be generated)
added VectorVectors (takes a forward unit vector, makes right and up vectors)
corrected silly id spelling mistakes 'allready' and 'allways'
most host_frametime references changed to cl.frametime or sv.frametime
fixed movement interpolation in listen games (host client wasn't lerping the framerate capped server's frames)
added EF_FLAME effect, untested
changed svc_showlmp to use shorts, not bytes (except in nehahra compatibility mode)
broke svc_fog for now
removed svc_farclip
removed svc_playerposition
removed svc_skybox
increased maximum number of models and sounds to 1024 each (and added extra svc_ messages and update bits to handle the new limits)
made punchangle use preciseangles (on DP servers), added punchvector (view origin kick, useful for earthquakes?)
redesigned entire animation interpolation system (can lerp between independently playing framegroups)
redesigned animation scene lookup in model and sprite rendering to use a single system
added a simple clientside effect system (meant for playing sprite explosion animations entirely on the client, with very nice interpolation and framerate control)
added te_smallflash
added te_customflash
added te_flamejet (untested)
darkened lightning glow and made it adjustable (r_glowinglightning cvar is now a scaler, not just an option)
increased maximum number of clientside entities
COM_WriteFile will now create a path leading up to the file
removed cpu_*.* files
reorganized fractalnoise code, now behaves more correctly
stripped out qsg_version stuff, replaced by pr_checkextension and extensions have changed completely (extensions are documented in dpextensions.qc in DP mod and release zips)
made skin and sprite mipmapping optional (r_mipskins cvar, r_mipsprites cvar), saves about 32% of texture memory if disabled
rewrote texture management system (again), now uses flags to specify texture attributes (all textures without the PRECACHE flag are uploaded only when first used, conserves huge amounts of memory), and is cleaner code
r_precachetextures cvar controls how PRECACHE texture flag is used (0 = never precache, 1 = use PRECACHE flag, 2 = always precache)
changed way text filtering mode is decided
now requires vertex array support (standard in OpenGL 1.1 so this is not a problem)
takes advantage of GL_EXT_compiled_vertex_array extension (no speed gain for my Geforce2, may help other people)
reverted to GL transforms for models (no speed gain for my Geforce2, may help other people)
gl_transform cvar controls whether to use GL transforms (1) or software transforms (0), could not measure any speed difference in my testing
r_shadows removed due to GL transforms on models
model and sprite interpolation now handle 4 frame interpolation to accomodate new interpolation system
RSurf_Draw* functions greatly optimized
Host_Error will now Sys_Error rather than crash if Host_Frame has not yet been executed
cleaned up viewthing frame reporting code, now uses the new animation system
can now look directly up and down
ByteToNormal and NormalToByte added in mathlib.c, also moved anorms.h table to mathlib.c
added axial cases for BoxOnPlaneSide (BIG improvement)
trivert2 vertex format removed, now uses alias trivertx_t format as-is (33% less model memory usage and possibly quicker loading)
redesigned map texture loading again (particularly HL maps)
water is now lit on both sides
sprites are now cached like models
sprite loading redesigned to use new animation system
increased maximum packet size to accomodate the largest possible
PF_vectoyaw optimized a little
PF_vectoangles optimized a little
PF_findchain added
PF_findchainfloat added
PF_effect added
PF_te_blood added
PF_te_bloodshower added
PF_te_explosionrgb added
PF_te_particlecube added
PF_te_particlerain added
PF_te_particlesnow added
PF_te_spark added
PF_te_gunshotquad added
PF_te_spikequad added
PF_te_superspikequad added
PF_te_explosionquad added
PF_te_smallflash added
PF_te_customflash added
PF_te_gunshot added
PF_te_spike added
PF_te_superspike added
PF_te_explosion added
PF_te_tarexplosion added
PF_te_wizspike added
PF_te_knightspike added
PF_te_lavasplash added
PF_te_teleport added
PF_te_explosion2 added
PF_te_lightning1 added
PF_te_lightning2 added
PF_te_lightning3 added
PF_te_beam added
PF_vectorvectors added
increased maximum file path length
explosions are no longer round
removed LIGHTSCALE settings
removed r_donttransformmodels cvar
a lot of particle effect changes (bouncing sparks, blood sprays from gibs that stick on the walls)
fixed sound combining so it no longer plays past the end of the buffer
fixed sound resampling

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

23 years agowhile not yet used (I'd forgotten how much side work was involved in getting
taniwha [Thu, 5 Apr 2001 17:51:30 +0000 (17:51 +0000)]
while not yet used (I'd forgotten how much side work was involved in getting
zlib support into quake), these will allow dp to use compressed paks :) The
rest will be coming as soon as I get everything working.

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

23 years agoCompile fixes.
dabb [Thu, 15 Mar 2001 16:19:13 +0000 (16:19 +0000)]
Compile fixes.

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

23 years agonow supports upto 256x256 texel lightmaps (rather than 17x17), as_tundra.bsp works now
lordhavoc [Sun, 4 Mar 2001 22:30:07 +0000 (22:30 +0000)]
now supports upto 256x256 texel lightmaps (rather than 17x17), as_tundra.bsp works now

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

23 years agoforgot this file while changing FALSE and TRUE to false and true
lordhavoc [Sun, 4 Mar 2001 01:16:22 +0000 (01:16 +0000)]
forgot this file while changing FALSE and TRUE to false and true

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

23 years agorewrite of map texture loading (mainly to do with HL textures and wads)
lordhavoc [Sun, 4 Mar 2001 01:04:38 +0000 (01:04 +0000)]
rewrite of map texture loading (mainly to do with HL textures and wads)

and all FALSE and TRUE changed to false and true

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

23 years agoredesigned transparent HL texture checking again, now treats color 255 as transparent...
lordhavoc [Sat, 3 Mar 2001 22:49:59 +0000 (22:49 +0000)]
redesigned transparent HL texture checking again, now treats color 255 as transparent but only when the texture begins with a { character

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

23 years agofixed transparent color in HL textures (was red, should be blue... oops)
lordhavoc [Sat, 3 Mar 2001 22:10:56 +0000 (22:10 +0000)]
fixed transparent color in HL textures (was red, should be blue... oops)

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

23 years agoserver speed controls fade out of damage/bonus flashs now (more reliable timedemo)
lordhavoc [Sat, 3 Mar 2001 22:02:34 +0000 (22:02 +0000)]
server speed controls fade out of damage/bonus flashs now (more reliable timedemo)

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

23 years agoa little cleanup, and eliminated a lightstyle buffer overflow
lordhavoc [Fri, 2 Mar 2001 22:14:49 +0000 (22:14 +0000)]
a little cleanup, and eliminated a lightstyle buffer overflow

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

23 years agoadded DPPROTOCOL support to svc_version parsing (is svc_version even used?)
lordhavoc [Fri, 2 Mar 2001 22:03:33 +0000 (22:03 +0000)]
added DPPROTOCOL support to svc_version parsing (is svc_version even used?)

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

23 years agoadded a new hack to make MSVC work which will definitely not break any other compilers
lordhavoc [Fri, 2 Mar 2001 21:40:19 +0000 (21:40 +0000)]
added a new hack to make MSVC work which will definitely not break any other compilers

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

23 years agoremoved hack to make MSVC work as it was breaking gcc
lordhavoc [Fri, 2 Mar 2001 21:28:43 +0000 (21:28 +0000)]
removed hack to make MSVC work as it was breaking gcc

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

23 years agoCoordinates are now floats in network protocol (bloats it yes, but the accuracy allow...
lordhavoc [Fri, 2 Mar 2001 10:52:15 +0000 (10:52 +0000)]
Coordinates are now floats in network protocol (bloats it yes, but the accuracy allows unlimited map size, and smoother movement at very high framerates)
prints dump of last 32 svc messages in packet when client encounters unknown svc (corrupt or mis-parsed network stream)
some aesthetic cleanup of tempentity parsing
rewrite of COM_FileBase
default gl_lightmaprgba to 1 (driver speedup (data bloat, but drivers are often more optimized for it), thought I defaulted it to 1 all along, but apparently not)
model names no longer use COM_FileBase (thus they are the full name, like "progs/blah.mdl" rather than "blah", "maps/start.bsp" instead of "start", etc)
fixed bugs in model colormapping, and added external skin texture support (example: progs/blah.mdl_0_normal.tga and progs/blah.mdl_0_glow.tga, pants and shirts are also supported)
support for textures inside HL maps, and the transparent color has been fixed (HL checks for pure blue, not index 255)
default r_dynamicparticles to 1 (light smoke/blood)
improvement in angled corner sticking situations (still get a little bump as you pass through, but not actually stuck)
fixed rotation support in MOVETYPE_FOLLOW, now works perfectly
extended description length in hunk headers (50 characters now)

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

23 years agoFix for exit segfault preventing fullscreen cleanup, and for the segfault as well.
despair [Wed, 28 Feb 2001 20:41:46 +0000 (20:41 +0000)]
Fix for exit segfault preventing fullscreen cleanup, and for the segfault as well.
Also enables dga mouse support, and adds in_dga_mouseaccel. DGA support needs testing.

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

23 years agooops, hadn't finished this
lordhavoc [Tue, 27 Feb 2001 08:11:44 +0000 (08:11 +0000)]
oops, hadn't finished this

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

23 years agoforgot to commit this
lordhavoc [Tue, 27 Feb 2001 08:07:57 +0000 (08:07 +0000)]
forgot to commit this

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

23 years agoclean up use of client structs in server
lordhavoc [Tue, 27 Feb 2001 08:07:34 +0000 (08:07 +0000)]
clean up use of client structs in server

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

23 years agoMinor comment update.
despair [Sat, 24 Feb 2001 00:21:48 +0000 (00:21 +0000)]
Minor comment update.

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

23 years agoRemove alsa 0.6 (for some random date of cvs alsa) support, never officially released...
despair [Sat, 24 Feb 2001 00:20:04 +0000 (00:20 +0000)]
Remove alsa 0.6 (for some random date of cvs alsa) support, never officially released. 0.9 is out, rejoice!

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

23 years agoUpdate to latest ALSA development drivers.
despair [Sat, 24 Feb 2001 00:10:10 +0000 (00:10 +0000)]
Update to latest ALSA development drivers.
(Thanks again to Abramo)

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

23 years agoadded model_zymotic.h (forgot)
lordhavoc [Sat, 24 Feb 2001 00:08:51 +0000 (00:08 +0000)]
added model_zymotic.h (forgot)

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

23 years agoupdated makefile and added r_explosion.c (forgot)
lordhavoc [Fri, 23 Feb 2001 23:51:02 +0000 (23:51 +0000)]
updated makefile and added r_explosion.c (forgot)

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

23 years agoimproved TraceLine in chase.c to be more generally useful (should move it to another...
lordhavoc [Fri, 23 Feb 2001 23:39:54 +0000 (23:39 +0000)]
improved TraceLine in chase.c to be more generally useful (should move it to another file, though)
error checking in qmalloc/qfree
expanded COM_LoadFile max filename length from 32 to 1024
improved COM_LoadFile error messages
added COM_ToLowerString and COM_ToUpperString
.zym model support (not quite complete, in development)
unfinished transition to hardware model transforms (not used yet)
changed polylists to draw 5+ point polygons as GL_POLYGON instead of GL_TRIANGLE_FAN (I thought I had reverted to GL_POLYGON a long time ago... strange) for a minor speedup
new explosion effect (no particles)
reverted to lightmapped dynamic lighting effects (vertex hybrid still available as r_dlightmaps 0)
extreme speed improvements in which wall polygons are lit
minor optimization to lightmap building (memset to clear blocklights)
added and disabled texture caching to disk (it turned out to be a slowdown and a massive waste of space, but kept in source form incase it is ever useful)
much improved missing QC function errors (most notably think)
partial redesign of the skin colormapping engine (not used yet)
more consistent light falloff on different objects
created and scrapped a new particle explosion effect (way too fillrate intensive), superseded by the new explosion effect
only dynamically lights smoke and blood particles unless r_dynamicparticles is 2
possible fix for alt-tab bug in NVidia drivers (from Dabb)

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

23 years agoUndo accidental makefile commit.
despair [Sun, 18 Feb 2001 15:14:25 +0000 (15:14 +0000)]
Undo accidental makefile commit.

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

23 years agoCouple of 1 liner compile fixes. Missing header and missing cast.
despair [Sun, 18 Feb 2001 15:09:37 +0000 (15:09 +0000)]
Couple of 1 liner compile fixes. Missing header and missing cast.

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

23 years agoreport name when Hunk_Alloc fails
lordhavoc [Tue, 13 Feb 2001 22:07:14 +0000 (22:07 +0000)]
report name when Hunk_Alloc fails

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

23 years agofix for unitialized variable warnings
lordhavoc [Mon, 12 Feb 2001 08:24:04 +0000 (08:24 +0000)]
fix for unitialized variable warnings

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

23 years agoadded back r_speeds2, with masses of information (6 lines high), and made it print...
lordhavoc [Fri, 9 Feb 2001 12:11:11 +0000 (12:11 +0000)]
added back r_speeds2, with masses of information (6 lines high), and made it print to the screen rather than console print
changed fps reading to be integer, no fraction (is this desirable?) and moved it to bottom right corner
changed rendering order yet again
made sky and waterripple speed dependent on cl.time rather than realtime (undecided if this is desirable)
made console scrolling not subject to slowmo time scaling
some whitespace changes/cleanup
moved some registervariable definitions around
optional new worldnode function (r_newworldnode, defaults to off), very different approach, minimal speed differences...  sigh
added backface culling on surfaces (r_nobacks, defaults to off), barely a gain
in worldnode, made 'trivial inclusion' case for all children nodes of a completely successful CullBox test, defaults to off because it was no speed gain even on the most complex maps I could find
readability cleanup and minor speedup in lightmap conversion
added host_minfps (if framerate drops below this it will be slowmo, this replaces quake's hardcoded 10fps limit)
added host_maxfps (limit your framerate if desired, defaults to 1000, this does affect timedemo)
improved slowmo behavior
optimized out most vec3_origin uses (created VectorNegate and VectorClear for this reason)
fixed VectorDistance (old definition didn't work correctly, but never got used anyway)
darkened blood trails a bit
split R_DrawParticles into R_MoveParticles and R_DrawParticles (for speed profiling reasons)
fix for extremely rare and probably unnoticable bug in particle compacter
fixed a number of prediction issues, prediction does not occur in local games anymore, prediction also made optional (sv_predict cvar)

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

23 years agorenamed snd_linux.c to snd_oss.c
lordhavoc [Wed, 7 Feb 2001 10:22:53 +0000 (10:22 +0000)]
renamed snd_linux.c to snd_oss.c

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

23 years agobetter version reports (always mention build number)
lordhavoc [Tue, 6 Feb 2001 17:26:46 +0000 (17:26 +0000)]
better version reports (always mention build number)
minor cleanup of qpic system (loading and drawing)
minor improvement to lighting engine tweakability (LIGHTSCALE2)
minor cleanup to texture tracking (totaltexels now called texeldatasize)
r_texturestats texture size reports are now correct (was showing 4x what it should have)
r_texturestats report rearranged to put size on the left for easy sorting in console logs
cruft removal

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

23 years agoincreased build number to 79
lordhavoc [Sat, 3 Feb 2001 15:54:34 +0000 (15:54 +0000)]
increased build number to 79

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

23 years agoremoved unused cvars
lordhavoc [Sat, 3 Feb 2001 15:54:06 +0000 (15:54 +0000)]
removed unused cvars

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

23 years agogot rid of Hunk_Alloc, all allocations now have a proper name (perhaps a bit too...
lordhavoc [Mon, 29 Jan 2001 11:59:51 +0000 (11:59 +0000)]
got rid of Hunk_Alloc, all allocations now have a proper name (perhaps a bit too descriptive even), improved texture tally to list wasted skin layers (colormapping), made hunk names 24 characters instead of 8.

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

23 years agoevery malloc/calloc/free converted to qmalloc/qfree with tracking (memstats command...
lordhavoc [Mon, 29 Jan 2001 08:14:37 +0000 (08:14 +0000)]
every malloc/calloc/free converted to qmalloc/qfree with tracking (memstats command), and all uses of Hunk_TempAlloc have gone away

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

23 years agoreduced default -zone from 512k to 128k (quake used 48k)
lordhavoc [Mon, 29 Jan 2001 07:00:17 +0000 (07:00 +0000)]
reduced default -zone from 512k to 128k (quake used 48k)

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

23 years agosmoke trails no longer rise (but you could hardly tell anyway, due to their short...
lordhavoc [Mon, 29 Jan 2001 06:49:42 +0000 (06:49 +0000)]
smoke trails no longer rise (but you could hardly tell anyway, due to their short length)

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

23 years agosmoke trails changed again, smoke texture greatly improved
lordhavoc [Mon, 29 Jan 2001 06:47:40 +0000 (06:47 +0000)]
smoke trails changed again, smoke texture greatly improved

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

23 years agomake screenshots rightside up again (or rather, upside down like TGA wants, which...
lordhavoc [Mon, 29 Jan 2001 06:10:57 +0000 (06:10 +0000)]
make screenshots rightside up again (or rather, upside down like TGA wants, which happens to be the output format of glReadPixels, a fact I was unaware of, so the flipping was turning it to rightside up, which is upside down in TGA...  follow that logic?  good :)

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

23 years agosmoke effects changed a bit (and the smoke texture generator as well), rockets trail...
lordhavoc [Sun, 28 Jan 2001 11:03:49 +0000 (11:03 +0000)]
smoke effects changed a bit (and the smoke texture generator as well), rockets trail sparks too

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

23 years agoVID_CheckMultiTexture case was wrong (now VID_CheckMultitexture)
lordhavoc [Sun, 28 Jan 2001 10:03:30 +0000 (10:03 +0000)]
VID_CheckMultiTexture case was wrong (now VID_CheckMultitexture)

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

23 years agoupdated OBJECTS list and added cleaning of darkplaces-3dfx
lordhavoc [Thu, 25 Jan 2001 06:46:16 +0000 (06:46 +0000)]
updated OBJECTS list and added cleaning of darkplaces-3dfx

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

23 years agoremoved unused gldir string
lordhavoc [Tue, 23 Jan 2001 00:27:41 +0000 (00:27 +0000)]
removed unused gldir string

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

23 years agodisabled unused variable
lordhavoc [Tue, 23 Jan 2001 00:12:34 +0000 (00:12 +0000)]
disabled unused variable

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

23 years agoripped out vertex array function lookup, require OpenGL 1.2.x instead.
lordhavoc [Tue, 23 Jan 2001 00:10:51 +0000 (00:10 +0000)]
ripped out vertex array function lookup, require OpenGL 1.2.x instead.

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

23 years agoclarifications about the format of svc_fog
lordhavoc [Mon, 22 Jan 2001 23:58:32 +0000 (23:58 +0000)]
clarifications about the format of svc_fog
precache name overflow checks
gl_screen.c - whitespace changes?
sky name overflow checks
"tell" buffer overflow improvement (not really a fix)
edict parsing buffer increase (not really a fix)
increased number of leafs per entity from 64 to 256 (mem hog...  but fixes fall2.bsp  note: quake used 16 and did not have a problem with fall2?) and added warning when it runs out
removed rotating pusher hack and added solid checking
non-working MOVETYPE_FOLLOW rotation support (in-progress)

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

23 years agofixed (byte *) - (char *) subtraction
lordhavoc [Mon, 22 Jan 2001 23:15:51 +0000 (23:15 +0000)]
fixed (byte *) - (char *) subtraction

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

23 years agofix a char type problem
taniwha [Mon, 22 Jan 2001 23:13:25 +0000 (23:13 +0000)]
fix a char type problem

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

23 years agoFix for image replacement in sprites, now the sprite extension is stripped before...
lordhavoc [Fri, 12 Jan 2001 11:36:47 +0000 (11:36 +0000)]
Fix for image replacement in sprites, now the sprite extension is stripped before the frame names are generated (so naming for s_explod.spr is like s_explod_0.tga, s_explod_1.tga, etc) and the extension stripping in the image loader will only strip off .lmp or .pcx or .tga, not other extensions, the sprite extension stripper is similar but for .spr and .spr32.

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

23 years agoworkaround/fix for bounds checking warning
lordhavoc [Sun, 7 Jan 2001 16:56:48 +0000 (16:56 +0000)]
workaround/fix for bounds checking warning

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

23 years agocritical fix for COM_FileBase (could go hunting through mem for /)
lordhavoc [Sun, 7 Jan 2001 16:49:54 +0000 (16:49 +0000)]
critical fix for COM_FileBase (could go hunting through mem for /)

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

23 years agoworkaround for bounds checking error in loading texture lump
lordhavoc [Sun, 7 Jan 2001 16:38:16 +0000 (16:38 +0000)]
workaround for bounds checking error in loading texture lump

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

23 years agodisabled scrap system (what an eye sore that was...) and fixed interpolated text...
lordhavoc [Sun, 7 Jan 2001 16:11:57 +0000 (16:11 +0000)]
disabled scrap system (what an eye sore that was...) and fixed interpolated text condition (now interpolated when scaling up, as it was meant to be)

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

23 years agosmoke and blood changes
lordhavoc [Wed, 20 Dec 2000 22:16:15 +0000 (22:16 +0000)]
smoke and blood changes

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

23 years agoAdded palette.c and r_sprites.c. Compiles now.
dabb [Sun, 10 Dec 2000 10:59:17 +0000 (10:59 +0000)]
Added palette.c and r_sprites.c. Compiles now.

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

23 years agobuild 78
lordhavoc [Sat, 9 Dec 2000 18:15:30 +0000 (18:15 +0000)]
build 78

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

23 years agobmodel rotation physics now work
lordhavoc [Sat, 9 Dec 2000 18:04:45 +0000 (18:04 +0000)]
bmodel rotation physics now work
new vid_glx.c (contributed by zinx)
removed DPNEHAHRA engine titling
fixed some lighthalf, fog, and sky related bugs
removed some 3D card hacks
merged GL_Init code for all targets (note: vid_glx.c and vid_3dfxsvga.c may be broken)
split sprite code out in gl_sprites.c
rearranged palette management code
removed all traces of 8bit upload support for now (may be added back)
halved memory usage (although this prevents renderer restarting for the moment)
implemented r_texturestats command
removed old texture upload code
rewrote use of host_parms
rewrote some code relating to host_basepal
bigendian support in pcx loading
changed external texture character equivilant for * from + to # to avoid conflicts with animating textures
removed cruft here and there
force all textures to lowercase to mask potentially silly wad lump names in maps
new crosshairs
more stuff is extern in includes
some general cleanup of the MOVETYPE_PUSH code
rewrote portions of vid_wgl.c
V_UpdatePalette renamed to V_UpdateBlends
removed starting dialog code in wgl
made SV_RecursiveHullCheck accessable in world.h

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

23 years agoapply the 0 byte udp packet DoS fix from nuq.
taniwha [Thu, 30 Nov 2000 17:07:00 +0000 (17:07 +0000)]
apply the 0 byte udp packet DoS fix from nuq.

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

23 years agomade glowing lightning optional
lordhavoc [Tue, 28 Nov 2000 13:22:31 +0000 (13:22 +0000)]
made glowing lightning optional

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

23 years agospark showers on explosions, better sparks on bullet impacts
lordhavoc [Mon, 27 Nov 2000 06:46:44 +0000 (06:46 +0000)]
spark showers on explosions, better sparks on bullet impacts

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

23 years agoremoved cruft from debugging
lordhavoc [Mon, 27 Nov 2000 06:40:07 +0000 (06:40 +0000)]
removed cruft from debugging

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

23 years agoput in dprinting of model names as they are loaded
lordhavoc [Mon, 27 Nov 2000 06:05:23 +0000 (06:05 +0000)]
put in dprinting of model names as they are loaded

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

23 years agoremoved unused tracercount
lordhavoc [Mon, 27 Nov 2000 06:04:59 +0000 (06:04 +0000)]
removed unused tracercount

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

23 years agobuild 77
lordhavoc [Mon, 27 Nov 2000 01:47:52 +0000 (01:47 +0000)]
build 77

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

23 years agorain splatters on the ground and water, and turns to steam on slime/lava, bubbles...
lordhavoc [Mon, 27 Nov 2000 01:37:42 +0000 (01:37 +0000)]
rain splatters on the ground and water, and turns to steam on slime/lava, bubbles splatter when they leave water

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

23 years agofractalnoise enhancements, better smoke textures, better bubble explosions, blood...
lordhavoc [Sun, 26 Nov 2000 23:20:07 +0000 (23:20 +0000)]
fractalnoise enhancements, better smoke textures, better bubble explosions, blood in water

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

23 years agoforgot to extern GL_LoadPicTexture
lordhavoc [Sun, 26 Nov 2000 09:38:00 +0000 (09:38 +0000)]
forgot to extern GL_LoadPicTexture

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

23 years agocruft removal, general cleanup, fix for delta compression bugs, generic targa writer
lordhavoc [Sun, 26 Nov 2000 09:22:55 +0000 (09:22 +0000)]
cruft removal, general cleanup, fix for delta compression bugs, generic targa writer

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

23 years agowork around gcc lacking support for no-size arrays in structures
lordhavoc [Sun, 26 Nov 2000 09:18:57 +0000 (09:18 +0000)]
work around gcc lacking support for no-size arrays in structures

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

23 years agoCleaned up a bit..
dabb [Thu, 23 Nov 2000 15:09:05 +0000 (15:09 +0000)]
Cleaned up a bit..

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

23 years agoFixed some of the mess. Might work now...
dabb [Thu, 23 Nov 2000 15:03:59 +0000 (15:03 +0000)]
Fixed some of the mess. Might work now...

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

23 years agobuild 76
lordhavoc [Thu, 23 Nov 2000 13:15:01 +0000 (13:15 +0000)]
build 76

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

23 years agominor redesign of console loading/drawing, cruft removal, change to Draw_GenericPic...
lordhavoc [Thu, 23 Nov 2000 13:14:31 +0000 (13:14 +0000)]
minor redesign of console loading/drawing, cruft removal, change to Draw_GenericPic parameter types

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

23 years agocruft removal
lordhavoc [Thu, 23 Nov 2000 08:25:57 +0000 (08:25 +0000)]
cruft removal

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

23 years agovery minor cruft removal
lordhavoc [Thu, 23 Nov 2000 08:24:10 +0000 (08:24 +0000)]
very minor cruft removal

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

23 years agoBorland C++ makefile for Darkplaces. Does NOT use asm objs yet, but works otherwise.
dabb [Tue, 21 Nov 2000 15:36:32 +0000 (15:36 +0000)]
Borland C++ makefile for Darkplaces. Does NOT use asm objs yet, but works otherwise.

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

23 years agoBorland C++ compile fix - works/compiles now.
dabb [Tue, 21 Nov 2000 14:54:45 +0000 (14:54 +0000)]
Borland C++ compile fix - works/compiles now.

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

23 years agoBorland C++ compile fixes
dabb [Tue, 21 Nov 2000 14:49:36 +0000 (14:49 +0000)]
Borland C++ compile fixes

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

23 years agofix for sprite scale bug (it was scaling vup and vright!)
lordhavoc [Tue, 21 Nov 2000 10:17:37 +0000 (10:17 +0000)]
fix for sprite scale bug (it was scaling vup and vright!)

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

23 years agomerged RSurf_DrawWall/EmitWall/etc back into RSurf_DrawWall for speed reasons (split...
lordhavoc [Tue, 21 Nov 2000 09:13:52 +0000 (09:13 +0000)]
merged RSurf_DrawWall/EmitWall/etc back into RSurf_DrawWall for speed reasons (split version was only for profile testing)

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

23 years agofixed duplicate application of gamma correction
lordhavoc [Tue, 21 Nov 2000 09:12:21 +0000 (09:12 +0000)]
fixed duplicate application of gamma correction

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

23 years agoremoved cruft
lordhavoc [Tue, 21 Nov 2000 09:11:34 +0000 (09:11 +0000)]
removed cruft

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

23 years agoremoved fullbright torch hack :)
lordhavoc [Tue, 21 Nov 2000 09:11:03 +0000 (09:11 +0000)]
removed fullbright torch hack :)

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

23 years agoskip all of Draw_String when rendering is disabled
lordhavoc [Tue, 21 Nov 2000 09:09:46 +0000 (09:09 +0000)]
skip all of Draw_String when rendering is disabled

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

23 years agoadded support to image loader for loading mask as well (used for fog effects), remove...
lordhavoc [Tue, 21 Nov 2000 09:02:28 +0000 (09:02 +0000)]
added support to image loader for loading mask as well (used for fog effects), removed some cruft, and made sprite loader check for external textures

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

23 years agomore particle effect changes...
lordhavoc [Tue, 21 Nov 2000 08:58:02 +0000 (08:58 +0000)]
more particle effect changes...

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

23 years agofixed spelling error (allready -> already)
lordhavoc [Tue, 21 Nov 2000 08:49:51 +0000 (08:49 +0000)]
fixed spelling error (allready -> already)

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

23 years agoimplemented r_render and r_upload cvar options for CPU profiling (not hardware bound...
lordhavoc [Sat, 18 Nov 2000 09:53:29 +0000 (09:53 +0000)]
implemented r_render and r_upload cvar options for CPU profiling (not hardware bound), note: defining NORENDER will disable both (useful for making profile builds)

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

23 years agoremoved unused 'minlight' option from dlight struct, and made muzzleflash light maller
lordhavoc [Sat, 18 Nov 2000 08:37:15 +0000 (08:37 +0000)]
removed unused 'minlight' option from dlight struct, and made muzzleflash light maller

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

23 years agobackport of PM_RecursiveHullCheck for speedup
lordhavoc [Sat, 18 Nov 2000 08:12:19 +0000 (08:12 +0000)]
backport of PM_RecursiveHullCheck for speedup

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

23 years agoremoved cruft
lordhavoc [Sat, 18 Nov 2000 08:07:18 +0000 (08:07 +0000)]
removed cruft

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