src/spriteloader/grf.hpp
author truelight
Wed, 13 Jun 2007 16:21:11 +0000
changeset 7392 a716551b0c7f
parent 7348 becce3f57dc7
child 8066 7acd480e05c9
permissions -rw-r--r--
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
/* $Id$ */

/** @file grf.hpp */

#ifndef SPRITELOADER_GRF_HPP
#define SPRITELOADER_GRF_HPP

#include "spriteloader.hpp"

class SpriteLoaderGrf : public SpriteLoader {
public:
	/**
	 * Load a sprite from the disk and return a sprite struct which is the same for all loaders.
	 */
	bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint32 file_pos);
};

#endif /* SPRITELOADER_GRF_HPP */