| 39 | } |
| 40 | |
| 41 | void Tr2Sprite2dTexture::SetAtlasTexture( Tr2AtlasTexture* val ) |
| 42 | { |
| 43 | if( m_atlasTexture ) |
| 44 | { |
| 45 | m_atlasTexture->UnregisterForChangeNotification( this ); |
| 46 | } |
| 47 | m_atlasTexture = val; |
| 48 | if( m_atlasTexture ) |
| 49 | { |
| 50 | m_atlasTexture->RegisterForChangeNotification( this ); |
| 51 | } |
| 52 | |
| 53 | m_resPath = ""; |
| 54 | SetDirty(); |
| 55 | } |
| 56 | |
| 57 | std::string Tr2Sprite2dTexture::GetResPath() const |
| 58 | { |
nothing calls this directly
no test coverage detected