| 1110 | } |
| 1111 | |
| 1112 | bool J2DPictureEx::isUsed(const ResTIMG* resource) |
| 1113 | { |
| 1114 | if (mMaterial != nullptr && mMaterial->mTevBlock != nullptr) { |
| 1115 | for (u32 i = 0; i < 8; i++) { |
| 1116 | JUTTexture* texture = mMaterial->mTevBlock->getTexture(i); |
| 1117 | if (texture != nullptr && texture->mTexInfo == resource) { |
| 1118 | return true; |
| 1119 | } |
| 1120 | } |
| 1121 | } |
| 1122 | return J2DPane::isUsed(resource); |
| 1123 | } |
| 1124 | |
| 1125 | void J2DPictureEx::setAnimation(J2DAnmColor* animation) |
| 1126 | { |
nothing calls this directly
no test coverage detected