 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
27 virtual bool willLoad(
const std::string &filename)
override {
31 virtual void load(
BufferReader *reader,
const std::string &filename)
override;
FaceLoader(Faces *faces, AllAnimations *animations, AssetsTracker *tracker)
void loadAnimationBlock(BufferReader *reader, const std::string &full_path, const char *animation_name)
virtual void load(BufferReader *reader, const std::string &filename) override
Load assets from the specified reader.
Abstract buffer handler, processing a BufferReader.
Base class to be informed of where an asset is defined.
virtual bool willLoad(const std::string &filename) override
Whether this instance will process or not the specified file.
AssetsTracker * m_tracker
AllAnimations * m_animations
static bool endsWith(const char *const str, const char *const with)
Checks if a string ends with another one.