MCPcopy Create free account
hub / github.com/carbonengine/trinity / RestartAnimation

Method RestartAnimation

trinity/Tr2TextureAnimation.cpp:235–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void 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
251void Tr2TextureAnimation::ReadData()
252{

Callers

nothing calls this directly

Calls 1

AddToComputeQueueFunction · 0.85

Tested by

no test coverage detected