| 152 | |
| 153 | #if WITH_GRANNY |
| 154 | granny_file_info* GetSecondaryFileInfo( const std::string& grannyResPath, const TriGrannyResPtr grannyPtr ) |
| 155 | { |
| 156 | if( !grannyPtr || !grannyPtr->IsPrepared() ) |
| 157 | { |
| 158 | return nullptr; |
| 159 | } |
| 160 | CCP_ASSERT( !grannyPtr->IsUsingCMF() ); |
| 161 | granny_file_info* const fi = GrannyGetFileInfo( grannyPtr->GetGrannyFile() ); |
| 162 | if( !fi ) |
| 163 | { |
| 164 | CCP_LOGERR( "'%s' is not a valid Granny file", grannyResPath.c_str() ); |
| 165 | } |
| 166 | return fi; |
| 167 | } |
| 168 | #endif |
| 169 | |
| 170 | const cmf::Animation* Tr2GrannyAnimation::FindCMFAnimationByName( const char* name ) const |
no test coverage detected