* Create the SpriteFile. * @param filename Name of the file at the disk. * @param subdir The sub directory to search this file in. * @param palette_remap Whether a palette remap needs to be performed for this file. */
| 44 | * @param palette_remap Whether a palette remap needs to be performed for this file. |
| 45 | */ |
| 46 | SpriteFile::SpriteFile(const std::string &filename, Subdirectory subdir, bool palette_remap) |
| 47 | : RandomAccessFile(filename, subdir), palette_remap(palette_remap) |
| 48 | { |
| 49 | this->container_version = GetGRFContainerVersion(*this); |
| 50 | this->content_begin = this->GetPos(); |
| 51 | } |
nothing calls this directly
no test coverage detected