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_trails.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_trails.c')
-rw-r--r-- | src/cgame/cg_trails.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cgame/cg_trails.c b/src/cgame/cg_trails.c index 6f9aefcf..c745b2bb 100644 --- a/src/cgame/cg_trails.c +++ b/src/cgame/cg_trails.c @@ -925,20 +925,20 @@ static qboolean CG_ParseTrailBeam( baseTrailBeam_t *btb, char **text_p ) /* =============== -CG_InitialiseTrailBeam +CG_InitialiseBaseTrailBeam =============== */ -static void CG_InitialiseTrailBeam( baseTrailBeam_t *btb ) +static void CG_InitialiseBaseTrailBeam( baseTrailBeam_t *btb ) { memset( btb, 0, sizeof( baseTrailBeam_t ) ); btb->numSegments = 1; - btb->frontWidth = btb->backWidth = 8.0f; + btb->frontWidth = btb->backWidth = 1.0f; btb->frontAlpha = btb->backAlpha = 1.0f; memset( btb->frontColor, 0xFF, sizeof( btb->frontColor ) ); memset( btb->backColor, 0xFF, sizeof( btb->backColor ) ); - btb->segmentTime = 250; + btb->segmentTime = 100; btb->textureType = TBTT_STRETCH; btb->frontTextureCoord = 0.0f; @@ -966,7 +966,7 @@ static qboolean CG_ParseTrailSystem( baseTrailSystem_t *bts, char **text_p, cons if( !Q_stricmp( token, "{" ) ) { - CG_InitialiseTrailBeam( &baseTrailBeams[ numBaseTrailBeams ] ); + CG_InitialiseBaseTrailBeam( &baseTrailBeams[ numBaseTrailBeams ] ); if( !CG_ParseTrailBeam( &baseTrailBeams[ numBaseTrailBeams ], text_p ) ) { |