MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getPalette

Method getPalette

libs/JSystem/J2DGraph/J2DAnimation.cpp:762–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762JUTPalette *J2DAnmTexPattern::getPalette(u16 idx) const
763{
764 if (!mImgPtrArray)
765 {
766 return nullptr;
767 }
768 else
769 {
770 u16 texNo;
771 this->getTexNo(idx, &texNo);
772 return mImgPtrArray[texNo].mPalette;
773 }
774}
775
776void J2DAnmVisibilityFull::getVisibility(u16 p1, u8 *visibility) const
777{

Callers

nothing calls this directly

Calls 1

getTexNoMethod · 0.95

Tested by

no test coverage detected