mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +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);
|
return ((header[6] >> 11) & 0x1F) * (1.0f / 16.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool PolyHeader::HighPriority()
|
||||||
|
{
|
||||||
|
return (header[6] & 0x10) > 0;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// misc
|
// misc
|
||||||
//
|
//
|
||||||
|
|
|
@ -130,6 +130,7 @@ public:
|
||||||
|
|
||||||
//header 6
|
//header 6
|
||||||
bool Layered();
|
bool Layered();
|
||||||
|
bool HighPriority();
|
||||||
float Shininess();
|
float Shininess();
|
||||||
int TexFormat();
|
int TexFormat();
|
||||||
bool TexEnabled();
|
bool TexEnabled();
|
||||||
|
|
Loading…
Reference in a new issue