2007-06-11 13:50:49 +02:00
|
|
|
/* $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.
|
|
|
|
*/
|
2007-06-13 18:21:11 +02:00
|
|
|
bool LoadSprite(SpriteLoader::Sprite *sprite, const char *filename, uint32 file_pos);
|
2007-06-11 13:50:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SPRITELOADER_GRF_HPP */
|