mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
19 lines
400 B
C++
19 lines
400 B
C++
/* $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, uint8 file_slot, uint32 file_pos);
|
|
};
|
|
|
|
#endif /* SPRITELOADER_GRF_HPP */
|