truelight@6896: /* $Id$ */ truelight@6896: rubidium@9111: /** @file png.hpp Base for reading files from PNG. */ truelight@6896: truelight@6896: #ifndef SPRITELOADER_PNG_HPP truelight@6896: #define SPRITELOADER_PNG_HPP truelight@6896: truelight@6896: #include "spriteloader.hpp" truelight@6896: truelight@6896: class SpriteLoaderPNG : public SpriteLoader { truelight@6896: public: truelight@6896: /** truelight@6896: * Load a sprite from the disk and return a sprite struct which is the same for all loaders. truelight@6896: */ rubidium@9390: bool LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos); truelight@6896: }; truelight@6896: truelight@6896: #endif /* SPRITELOADER_PNG_HPP */