src/spriteloader/grf.hpp
author truelight
Mon, 11 Jun 2007 11:50:49 +0000
changeset 7348 becce3f57dc7
child 7392 a716551b0c7f
permissions -rw-r--r--
(svn r10092) -Codechange: code-seperated the spriteloader and blitter from the rest of the code
-Add: make it possible to pick your own blitter (-b <blitter>, -h for overview)
-Add: added a new optimized 8bpp blitter (default, caches sprites of all zoom-levels)
-Add: added a debug 8bpp blitter and a very slow normal 8bpp blitter
/* $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, uint32 file_pos);
};

#endif /* SPRITELOADER_GRF_HPP */