| 1183 | } |
| 1184 | |
| 1185 | const J2DAnmTransform* J2DPictureEx::animationPane(const J2DAnmTransform* animation) |
| 1186 | { |
| 1187 | if (mAnmVisibility && mMaterialNum != 0xFFFF) { |
| 1188 | u8 vis; |
| 1189 | mAnmVisibility->getVisibility(mMaterialNum, &vis); |
| 1190 | if (vis) { |
| 1191 | show(); |
| 1192 | } else { |
| 1193 | hide(); |
| 1194 | } |
| 1195 | } |
| 1196 | |
| 1197 | if (mAnmVtxColor) { |
| 1198 | u32 num0 = mAnmVtxColor->getAnmTableNum(0); |
| 1199 | for (u8 i = 0; i < 4; i++) { |
| 1200 | if (_1A4 & (1 << i)) { |
| 1201 | // inline? |
| 1202 | for (u16 j = 0; j < num0; j++) { |
| 1203 | J3DAnmVtxColorIndexData* data = mAnmVtxColor->getAnmVtxColorIndexData(0, j); |
| 1204 | u16 *colorPtr = &mAnmVtxColor->getVtxColorIndexPointer(0)[(u32)data->mData]; |
| 1205 | for (u16 k = 0; k < data->mNum; k++) { |
| 1206 | if (_170[i] == colorPtr[k]) { |
| 1207 | mAnmVtxColor->getColor(0, j, &mCornerColors[i]); |
| 1208 | goto next_color; |
| 1209 | } |
| 1210 | } |
| 1211 | } |
| 1212 | } |
| 1213 | next_color:; |
| 1214 | } |
| 1215 | } |
| 1216 | |
| 1217 | J2DPane::animationPane(animation); |
| 1218 | } |
| 1219 | |
| 1220 | u8 J2DPictureEx::getUsableTlut(u8 id) |
| 1221 | { |
nothing calls this directly
no test coverage detected