| 342 | } |
| 343 | |
| 344 | void Tr2GrannyAnimation::LoadSecondaryResPath( const std::string& val ) |
| 345 | { |
| 346 | if( m_secondaryGrannyRes[val] ) |
| 347 | { |
| 348 | m_secondaryGrannyRes[val]->RemoveNotifyTarget( this ); |
| 349 | m_secondaryGrannyRes[val].Unlock(); |
| 350 | } |
| 351 | |
| 352 | BeResMan->GetResource( val.c_str(), "raw", BlueInterfaceIID<TriGrannyRes>(), (void**)&m_secondaryGrannyRes[val] ); |
| 353 | |
| 354 | if( m_secondaryGrannyRes[val] ) |
| 355 | { |
| 356 | m_secondaryGrannyRes[val]->AddNotifyTarget( this ); |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | void Tr2GrannyAnimation::ReleaseCachedData( BlueAsyncRes* p ) |
| 361 | { |
nothing calls this directly
no test coverage detected