| 142 | } |
| 143 | |
| 144 | void Tr2Sprite2dLayer::SetTextureSecondary( ITr2Sprite2dTexture* t ) |
| 145 | { |
| 146 | if( t != m_textureSecondary ) |
| 147 | { |
| 148 | if( m_textureSecondary ) |
| 149 | { |
| 150 | m_textureSecondary->UnregisterForChangeNotification( this ); |
| 151 | } |
| 152 | m_textureSecondary = t; |
| 153 | if( m_textureSecondary ) |
| 154 | { |
| 155 | m_textureSecondary->RegisterForChangeNotification( this ); |
| 156 | } |
| 157 | SetDirty(); |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | ITr2Sprite2dTexture* Tr2Sprite2dLayer::GetTextureSecondary() const |
| 162 | { |
nothing calls this directly
no test coverage detected