| 248 | } |
| 249 | |
| 250 | void Tr2TexturedSpriteObject::SetTexturePrimary( ITr2Sprite2dTexture* t ) |
| 251 | { |
| 252 | if( t != m_texturePrimary ) |
| 253 | { |
| 254 | if( m_texturePrimary ) |
| 255 | { |
| 256 | m_texturePrimary->UnregisterForChangeNotification( this ); |
| 257 | } |
| 258 | m_texturePrimary = t; |
| 259 | if( m_texturePrimary ) |
| 260 | { |
| 261 | m_texturePrimary->RegisterForChangeNotification( this ); |
| 262 | } |
| 263 | SetDirty(); |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | ITr2Sprite2dTexture* Tr2TexturedSpriteObject::GetTexturePrimary() const |
| 268 | { |
nothing calls this directly
no test coverage detected