| 87 | |
| 88 | |
| 89 | void Tr2GStateAnimation::LoadGrannyRes() |
| 90 | { |
| 91 | |
| 92 | if( m_grannyRes ) |
| 93 | { |
| 94 | m_grannyRes->RemoveNotifyTarget( this ); |
| 95 | m_grannyRes.Unlock(); |
| 96 | } |
| 97 | |
| 98 | if( !m_geometryRes && !m_resPath.empty() ) |
| 99 | { |
| 100 | BeResMan->GetResource( m_resPath.c_str(), "raw", BlueInterfaceIID<TriGrannyRes>(), (void**)&m_grannyRes ); |
| 101 | } |
| 102 | |
| 103 | if( m_grannyRes ) |
| 104 | { |
| 105 | m_grannyRes->AddNotifyTarget( this ); |
| 106 | } |
| 107 | |
| 108 | m_boneBounds.clear(); |
| 109 | } |
| 110 | |
| 111 | |
| 112 | bool Tr2GStateAnimation::IsFullyLoaded() |
nothing calls this directly
no test coverage detected