10#ifndef SPRITELOADER_GRF_HPP
11#define SPRITELOADER_GRF_HPP
17 uint8_t container_ver;
19 SpriteLoaderGrf(uint8_t container_ver) : container_ver(container_ver) {}
RandomAccessFile with some extra information specific for sprite files.
Sprite loader for graphics coming from a (New)GRF.
uint8_t LoadSprite(SpriteLoader::SpriteCollection &sprite, SpriteFile &file, size_t file_pos, SpriteType sprite_type, bool load_32bpp, uint8_t control_flags) override
Load a sprite from the disk and return a sprite struct which is the same for all loaders.
Interface for the loader of our sprites.
std::array< Sprite, ZOOM_LVL_END > SpriteCollection
Type defining a collection of sprites, one for each zoom level.
SpriteType
Types of sprites that might be loaded.
Base for loading sprites.