|
FIFE
|
#include <animationloader.h>
Inheritance diagram for FIFE::AnimationLoader:
Collaboration diagram for FIFE::AnimationLoader:Public Member Functions | |
| AnimationLoader (VFS *vfs, ImageManager *imageManager) | |
| virtual bool | isLoadable (const std::string &filename) |
| virtual AnimationPtr | load (const std::string &filename) |
Public Member Functions inherited from FIFE::IAnimationLoader | |
| virtual | ~IAnimationLoader () |
Private Attributes | |
| VFS * | m_vfs |
| ImageManager * | m_imageManager |
Definition at line 42 of file animationloader.h.
| FIFE::AnimationLoader::AnimationLoader | ( | VFS * | vfs, |
| ImageManager * | imageManager | ||
| ) |
Definition at line 50 of file animationloader.cpp.
|
virtual |
Implements FIFE::IAnimationLoader.
Definition at line 55 of file animationloader.cpp.
References FIFE::RawData::getDataLength(), m_vfs, FIFE::VFS::open(), and FIFE::RawData::readString().
|
virtual |
Implements FIFE::IAnimationLoader.
Definition at line 86 of file animationloader.cpp.
References FIFE::_log, FIFE::Animation::addFrame(), FIFE::ImageManager::create(), FIFE::ImageManager::exists(), FL_ERR, FIFE::RawData::getDataLength(), FIFE::GetParentPath(), FIFE::ImageManager::getPtr(), FIFE::HasParentPath(), m_imageManager, m_vfs, FIFE::VFS::open(), FIFE::RawData::readString(), FIFE::SharedPtr< T >::reset(), FIFE::Animation::setActionFrame(), FIFE::Image::setXShift(), and FIFE::Image::setYShift().
|
private |
Definition at line 58 of file animationloader.h.
Referenced by load().
|
private |
Definition at line 57 of file animationloader.h.
Referenced by isLoadable(), and load().