Add high priority poly function. Used by harley.

This commit is contained in:
Ian Curtis 2017-02-18 23:58:08 +00:00
parent 4a116190b5
commit 2ae2010ee4
2 changed files with 6 additions and 0 deletions

View file

@ -357,6 +357,11 @@ float PolyHeader::LightModifier()
return ((header[6] >> 11) & 0x1F) * (1.0f / 16.0f);
}
bool PolyHeader::HighPriority()
{
return (header[6] & 0x10) > 0;
}
//
// misc
//

View file

@ -130,6 +130,7 @@ public:
//header 6
bool Layered();
bool HighPriority();
float Shininess();
int TexFormat();
bool TexEnabled();