| 233 | } |
| 234 | |
| 235 | void Tr2TextureAnimation::RestartAnimation() |
| 236 | { |
| 237 | if( m_restartState == NotRestarting ) |
| 238 | { |
| 239 | if( m_asyncState->bitmapsReady ) |
| 240 | { |
| 241 | AddToComputeQueue( &RestartAndDecodeFrame, MakeRequest() ); |
| 242 | m_restartState = WaitingForFrame; |
| 243 | } |
| 244 | else |
| 245 | { |
| 246 | m_restartState = WaitingToRestart; |
| 247 | } |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | void Tr2TextureAnimation::ReadData() |
| 252 | { |
nothing calls this directly
no test coverage detected