mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +00:00
Add high priority poly function. Used by harley.
This commit is contained in:
parent
4a116190b5
commit
2ae2010ee4
|
@ -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
|
||||
//
|
||||
|
|
|
@ -130,6 +130,7 @@ public:
|
|||
|
||||
//header 6
|
||||
bool Layered();
|
||||
bool HighPriority();
|
||||
float Shininess();
|
||||
int TexFormat();
|
||||
bool TexEnabled();
|
||||
|
|
Loading…
Reference in a new issue