| 2227 | |
| 2228 | |
| 2229 | void Tr2GrannyAnimation::RemoveAnimationLayerBone( const char* layerName, const char* boneName ) |
| 2230 | { |
| 2231 | Tr2GrannyAnimationLayer* layer; |
| 2232 | if( !strcmp( layerName, "" ) ) |
| 2233 | { |
| 2234 | layer = GetAnimationLayer( nullptr ); |
| 2235 | } |
| 2236 | else |
| 2237 | { |
| 2238 | layer = GetAnimationLayer( layerName ); |
| 2239 | } |
| 2240 | |
| 2241 | if( !layer ) |
| 2242 | { |
| 2243 | return; |
| 2244 | } |
| 2245 | |
| 2246 | layer->RemoveBone( this, boneName ); |
| 2247 | } |
| 2248 | |
| 2249 | std::vector<std::string> Tr2GrannyAnimation::GetAnimationNames() const |
| 2250 | { |
nothing calls this directly
no test coverage detected