(svn r23897) -Feature: [NewGRF] 32bpp sprites in GRFs.

This commit is contained in:
michi_cc
2012-02-04 22:18:57 +00:00
parent bd3c507910
commit 2c3bca6ad9
6 changed files with 77 additions and 34 deletions

View File

@@ -58,9 +58,10 @@ public:
* @param file_slot The file "descriptor" of the file we read from.
* @param file_pos The position within the file the image begins.
* @param sprite_type The type of sprite we're trying to load.
* @param load_32bpp True if 32bpp sprites should be loaded, false for a 8bpp sprite.
* @return Bit mask of the zoom levels successfully loaded or 0 if no sprite could be loaded.
*/
virtual uint8 LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos, SpriteType sprite_type) = 0;
virtual uint8 LoadSprite(SpriteLoader::Sprite *sprite, uint8 file_slot, size_t file_pos, SpriteType sprite_type, bool load_32bpp) = 0;
virtual ~SpriteLoader() { }
};