diff options
author | Tim Angus <tim@ngus.net> | 2005-11-25 16:21:10 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-11-25 16:21:10 +0000 |
commit | 3460e8bf9381c61e1bef98b78d320a8bd52b7f5f (patch) | |
tree | 4e9fd1150b31476e22078364a7782c8327f4efb8 /src/cgame/cg_marks.c | |
parent | 63f0272dd145b10c349163ba465fcbcf5ac48e0d (diff) |
* Removal of remaining hard coded effects
* Removal of local entities system
* Particle system enhancements to replace functionality lost by removing localents
Diffstat (limited to 'src/cgame/cg_marks.c')
-rw-r--r-- | src/cgame/cg_marks.c | 22 |
1 files changed, 0 insertions, 22 deletions
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 ) |