| 275 | } |
| 276 | |
| 277 | bool J2DTevBlock1::removeTexture(u32 id) |
| 278 | { |
| 279 | if (id >= 1) { |
| 280 | return false; |
| 281 | } |
| 282 | |
| 283 | if (mUndeleteFlag & 1) { |
| 284 | delete mTextures[0]; |
| 285 | } |
| 286 | |
| 287 | mTextures[0] = nullptr; |
| 288 | mUndeleteFlag &= 0x80; |
| 289 | delete mPalettes[0]; |
| 290 | mTexIndices[0] = -1; |
| 291 | return true; |
| 292 | } |
| 293 | |
| 294 | bool J2DTevBlock1::setFont(ResFONT* font) |
| 295 | { |