FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
#include <atlasloader.h>
Public Member Functions | |
AtlasLoader (Model *model, VFS *vfs, ImageManager *imageManager, AnimationManager *animationManager) | |
virtual | ~AtlasLoader () |
virtual bool | isLoadable (const std::string &filename) |
virtual AtlasPtr | load (const std::string &filename) |
virtual std::vector< AtlasPtr > | loadMultiple (const std::string &filename) |
Public Member Functions inherited from FIFE::IAtlasLoader | |
virtual | ~IAtlasLoader () |
Private Member Functions | |
AtlasPtr | loadAtlas (const std::string &filename, TiXmlElement *atlasElem) |
Private Attributes | |
Model * | m_model |
VFS * | m_vfs |
ImageManager * | m_imageManager |
AnimationManager * | m_animationManager |
Definition at line 95 of file atlasloader.h.
FIFE::AtlasLoader::AtlasLoader | ( | Model * | model, |
VFS * | vfs, | ||
ImageManager * | imageManager, | ||
AnimationManager * | animationManager | ||
) |
Definition at line 88 of file atlasloader.cpp.
Referenced by FIFE::createDefaultAtlasLoader().
|
virtual |
Definition at line 92 of file atlasloader.cpp.
|
virtual |
Implements FIFE::IAtlasLoader.
Definition at line 95 of file atlasloader.cpp.
References FIFE::RawData::getDataLength(), m_vfs, FIFE::VFS::open(), and FIFE::RawData::readString().
|
virtual |
Implements FIFE::IAtlasLoader.
Definition at line 134 of file atlasloader.cpp.
References FIFE::_log, FL_ERR, FIFE::RawData::getDataLength(), FIFE::GetParentPath(), FIFE::HasParentPath(), loadAtlas(), m_vfs, FIFE::VFS::open(), and FIFE::RawData::readString().
|
private |
Definition at line 241 of file atlasloader.cpp.
References FIFE::ImageManager::create(), FIFE::ImageManager::exists(), FIFE::GetParentPath(), FIFE::ImageManager::getPtr(), FIFE::RectType< T >::h, FIFE::HasParentPath(), m_imageManager, FIFE::SharedPtr< T >::reset(), FIFE::Image::useSharedImage(), FIFE::RectType< T >::w, FIFE::RectType< T >::x, and FIFE::RectType< T >::y.
Referenced by load(), and loadMultiple().
|
virtual |
Implements FIFE::IAtlasLoader.
Definition at line 185 of file atlasloader.cpp.
References FIFE::_log, FL_ERR, FIFE::RawData::getDataLength(), FIFE::GetParentPath(), FIFE::HasParentPath(), loadAtlas(), m_vfs, FIFE::VFS::open(), and FIFE::RawData::readString().
|
private |
Definition at line 122 of file atlasloader.h.
|
private |
Definition at line 121 of file atlasloader.h.
Referenced by loadAtlas().
|
private |
Definition at line 119 of file atlasloader.h.
|
private |
Definition at line 120 of file atlasloader.h.
Referenced by isLoadable(), load(), and loadMultiple().