* Remove commented out code (was only active if HARDWARE_TEST was defined, looks like PSX stuff)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3101 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-12-18 22:48:34 +00:00
parent 718bff04f9
commit 0fa3850cc3
1 changed files with 0 additions and 14 deletions

View File

@ -1859,23 +1859,9 @@ void renderSmokeEffect(EFFECT *psEffect)
if(TEST_SCALED(psEffect))
{
#ifdef HARDWARE_TEST//test additive
percent = (MAKEINT(PERCENT((gameTime - psEffect->birthTime),psEffect->lifeSpan)));
if(percent<10 && psEffect->type == SMOKE_TYPE_TRAIL)
{
pie_MatScale((3 * percent/10 * psEffect->baseScale)/100);
transparency = (EFFECT_SMOKE_ADDITIVE * (100 - 10))/100;
}
else
{
pie_MatScale((4 * percent * psEffect->baseScale)/100);
transparency = (EFFECT_SMOKE_ADDITIVE * (100 - percent))/100;
}
#else//Constant alpha
percent = (MAKEINT(PERCENT((gameTime - psEffect->birthTime),psEffect->lifeSpan)));
pie_MatScale(percent + psEffect->baseScale);
transparency = (EFFECT_SMOKE_TRANSPARENCY * (100 - percent))/100;
#endif
}
transparency = (transparency * 3) / 2; //JPS smoke strength increased for d3d 12 may 99