| 301 | } |
| 302 | |
| 303 | Tr2GrannyAnimationLayer* Tr2GrannyAnimation::GetAnimationLayer( const char* name ) |
| 304 | { |
| 305 | if( !name ) |
| 306 | { |
| 307 | return &m_baseLayer; |
| 308 | } |
| 309 | |
| 310 | auto it = m_animationLayers.find( name ); |
| 311 | if( it != m_animationLayers.end() ) |
| 312 | { |
| 313 | return &it->second; |
| 314 | } |
| 315 | |
| 316 | return nullptr; |
| 317 | } |
| 318 | |
| 319 | bool Tr2GrannyAnimation::Initialize() |
| 320 | { |
no test coverage detected