- add alpha property to sector_t::splane. Not used yet.

SVN r2992 (trunk)
This commit is contained in:
Christoph Oelckers 2010-11-07 16:17:14 +00:00
commit 492bead360
4 changed files with 23 additions and 3 deletions

View file

@ -445,6 +445,14 @@ FArchive &operator<< (FArchive &arc, sector_t::splane &p)
arc << p.xform.xoffs << p.xform.yoffs << p.xform.xscale << p.xform.yscale
<< p.xform.angle << p.xform.base_yoffs << p.xform.base_angle
<< p.Flags << p.Light << p.Texture << p.TexZ;
if (SaveVersion >= 2992)
{
arc << p.alpha;
}
else
{
p.alpha = FRACUNIT;
}
return arc;
}