]> git.xonotic.org Git - xonotic/darkplaces.git/commit
added newmap function to render modules (so explosions and other things are reset...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Apr 2001 15:38:28 +0000 (15:38 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 20 Apr 2001 15:38:28 +0000 (15:38 +0000)
commit4d162c39ec059b7f3191fbb4fb18304bc9b1db59
tree72e88b8eb22abdb7330f26205b759e4e832550df
parent6feed230d9551d4768befccfcf774bfbaeb7a115
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
34 files changed:
cl_effects.c
cl_main.c
cl_parse.c
cl_tent.c
client.h
fractalnoise.c
gl_draw.c
gl_models.c
gl_poly.c
gl_poly.h
gl_rmain.c
gl_rmisc.c
gl_screen.c
gl_textures.c
host.c
image.c
image.h
makefile
model_brush.c
quakedef.h
r_crosshairs.c
r_decals.c [new file with mode: 0644]
r_decals.h [new file with mode: 0644]
r_explosion.c
r_light.c
r_light.h
r_modules.c
r_modules.h
r_part.c
r_sprites.c
render.h
snd_win.c
sys_linux.c
sys_win.c