![]() |
Crossfire Server, Trunk
1.75.0
|
#include <PngLoader.h>
Inheritance diagram for PngLoader:
Collaboration diagram for PngLoader:Public Member Functions | |
| virtual void | load (BufferReader *reader, const std::string &filename) override |
| Load assets from the specified reader. More... | |
| PngLoader (Faces *faces, Facesets *facesets) | |
| virtual bool | willLoad (const std::string &filename) override |
| Whether this instance will process or not the specified file. More... | |
Public Member Functions inherited from AssetLoader | |
| virtual | ~AssetLoader () |
| Virtual destructor for inheritance. More... | |
Protected Attributes | |
| Faces * | m_faces |
| Facesets * | m_facesets |
Definition at line 22 of file PngLoader.h.
Definition at line 22 of file PngLoader.cpp.
|
overridevirtual |
Load assets from the specified reader.
| reader | reader. |
| filename | full filename. |
Implements AssetLoader.
Definition at line 25 of file PngLoader.cpp.
References buf, bufferreader_data(), bufferreader_data_length(), face(), fatal(), AssetsCollection< T, Key >::get(), llevDebug, LOG(), m_faces, m_facesets, treasurelist::name, OUT_OF_MEMORY, ROTATE_RIGHT, set, split(), split_string(), and strdup_local.
Here is the call graph for this function:
|
inlineoverridevirtual |
Whether this instance will process or not the specified file.
| filename | full file path. |
Implements AssetLoader.
Definition at line 26 of file PngLoader.h.
References Utils::endsWith().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file PngLoader.h.
Referenced by load().
|
protected |
Definition at line 33 of file PngLoader.h.
Referenced by load().