22 #include "precompiled.h"
36 : m_ColladaManager(colladaManager)
44 typedef boost::unordered_map<VfsPath,CSkeletonAnimDef*>::iterator Iter;
57 boost::unordered_map<VfsPath, CSkeletonAnimDef*>::iterator iter =
m_Animations.find(name);
66 if (psaFilename.empty())
68 LOGERROR(L
"Could not load animation '%ls'", pathname.
string().c_str());
79 LOGERROR(L
"Could not load animation '%ls'", psaFilename.string().c_str());
84 LOGMESSAGE(L
"CSkeletonAnimManager::GetAnimation(%ls): Loaded successfully", pathname.
string().c_str());
86 LOGERROR(L
"CSkeletonAnimManager::GetAnimation(%ls): Failed loading, marked file as bad", pathname.
string().c_str());
VfsPath GetLoadablePath(const VfsPath &pathnameNoExtension, FileType type)
Returns the VFS path to a PMD/PSA file for the given source file.
CColladaManager & m_ColladaManager
CSkeletonAnimDef * GetAnimation(const VfsPath &pathname)
boost::unordered_map< VfsPath, CSkeletonAnimDef * > m_Animations
const String & string() const
Path ChangeExtension(Path extension) const
CSkeletonAnimManager(CColladaManager &colladaManager)
static CSkeletonAnimDef * Load(const VfsPath &filename)