- floatified the translucency values in particle_t to elimintate the gross inaccuracies with fadeout time.
- widened ttl variable in particle_t to short to allow longer living particles than 6 seconds. - reordered fields in particle_t to reduce struct size a bit.
This commit is contained in:
parent
42b1432b64
commit
581cd27818
4 changed files with 21 additions and 22 deletions
|
|
@ -2593,7 +2593,7 @@ void R_ProjectParticle (particle_t *particle, const sector_t *sector, int shade,
|
|||
vis->startfrac = 255 & (particle->color >>24);
|
||||
vis->pic = NULL;
|
||||
vis->bIsVoxel = false;
|
||||
vis->renderflags = particle->trans;
|
||||
vis->renderflags = short(particle->alpha * 255);
|
||||
vis->FakeFlatStat = fakeside;
|
||||
vis->floorclip = 0;
|
||||
vis->ColormapNum = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue