From 3460e8bf9381c61e1bef98b78d320a8bd52b7f5f Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 25 Nov 2005 16:21:10 +0000 Subject: * Removal of remaining hard coded effects * Removal of local entities system * Particle system enhancements to replace functionality lost by removing localents --- src/cgame/cg_marks.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/cgame/cg_marks.c') diff --git a/src/cgame/cg_marks.c b/src/cgame/cg_marks.c index b9c09009..cc8979de 100644 --- a/src/cgame/cg_marks.c +++ b/src/cgame/cg_marks.c @@ -253,28 +253,6 @@ void CG_AddMarks( void ) continue; } - // fade out the energy bursts - if( mp->markShader == cgs.media.energyMarkShader ) - { - - fade = 450 - 450 * ( (cg.time - mp->time ) / 3000.0 ); - if( fade < 255 ) - { - if( fade < 0 ) - fade = 0; - - if( mp->verts[ 0 ].modulate[ 0 ] != 0 ) - { - for( j = 0; j < mp->poly.numVerts; j++ ) - { - mp->verts[ j ].modulate[ 0 ] = mp->color[ 0 ] * fade; - mp->verts[ j ].modulate[ 1 ] = mp->color[ 1 ] * fade; - mp->verts[ j ].modulate[ 2 ] = mp->color[ 2 ] * fade; - } - } - } - } - // fade all marks out with time t = mp->time + MARK_TOTAL_TIME - cg.time; if( t < MARK_FADE_TIME ) -- cgit