| 121 | } |
| 122 | |
| 123 | Tr2TextureAL Tr2TextureAnimation::GetTexture( const BlueSharedString& channel ) const |
| 124 | { |
| 125 | for( auto& grid : m_grids ) |
| 126 | { |
| 127 | if( grid.name == channel ) |
| 128 | { |
| 129 | return grid.frame; |
| 130 | } |
| 131 | } |
| 132 | return Tr2TextureAL(); |
| 133 | } |
| 134 | |
| 135 | void Tr2TextureAnimation::AdvanceTime( float dt ) |
| 136 | { |
nothing calls this directly
no test coverage detected