From 27febd474ccfccd8e5dc09014a7ad919575575aa Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 11 Jun 2007 11:50:49 +0000 Subject: (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 , -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 --- src/spriteloader/grf.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/spriteloader/grf.hpp (limited to 'src/spriteloader/grf.hpp') diff --git a/src/spriteloader/grf.hpp b/src/spriteloader/grf.hpp new file mode 100644 index 000000000..27083f993 --- /dev/null +++ b/src/spriteloader/grf.hpp @@ -0,0 +1,18 @@ +/* $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 */ -- cgit v1.2.3-70-g09d2