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