You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/spriteloader/png.hpp

19 lines
422 B
C++

/* $Id$ */
/** @file png.hpp */
#ifndef SPRITELOADER_PNG_HPP
#define SPRITELOADER_PNG_HPP
#include "spriteloader.hpp"
class SpriteLoaderPNG : 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, uint8 file_slot, uint32 file_pos);
};
#endif /* SPRITELOADER_PNG_HPP */