MasterMind555:
I heard it's very complicated
else if (ptypes[parts[i].type].properties&TYPE_GAS)
{
//if(parts[i].type!=PT_FIRE&&parts[i].type!=PT_SMKE&&parts[i].type!=PT_PLSM&&parts[i].type!=PT_WTRV)
{
cr = PIXR(ptypes[t].pcolors);
cg = PIXG(ptypes[t].pcolors);
cb = PIXB(ptypes[t].pcolors);
for (x=-1; x<=1; x++)<br /> {
for (y=-1; y<=1; y++)<br /> {
if ((abs(x) == 0) && (abs(y) == 0))
blendpixel(vid,x+nx,y+ny,cr,cg,cb,180);
else if (abs(y) != 0 && abs(x) != 0)
blendpixel(vid,x+nx,y+ny,cr,cg,cb,50);
else
blendpixel(vid,x+nx,y+ny,cr,cg,cb,80);
}
}
}
}