| 167 | } |
| 168 | |
| 169 | void Tr2GrannyAnimationLayer::QueueAnimation( const char* animName, bool replace, int loopCount, float delay, float speed, bool clearWhenDone ) |
| 170 | { |
| 171 | AnimationRequest ar; |
| 172 | ar.m_animationName = animName; |
| 173 | ar.m_replace = replace; |
| 174 | ar.m_clearWhenDone = clearWhenDone; |
| 175 | ar.m_loopCount = loopCount; |
| 176 | ar.m_start = delay; |
| 177 | ar.m_speed = speed; |
| 178 | |
| 179 | m_animationQueue.push_back( ar ); |
| 180 | } |
| 181 | |
| 182 | |
| 183 | float Tr2GrannyAnimationLayer::GetLayerAnimationTime() |
no outgoing calls
no test coverage detected