All data of a graphics set. More...
#include <base_media_base.h>
Public Member Functions | |
bool | FillSetDetails (struct IniFile *ini, const char *path, const char *full_filename) |
Static Public Member Functions | |
static MD5File::ChecksumResult | CheckMD5 (const MD5File *file, Subdirectory subdir) |
Calculate and check the MD5 hash of the supplied GRF. | |
Data Fields | |
PaletteType | palette |
Palette of this graphics set. | |
BlitterType | blitter |
Blitter of this graphics set. |
All data of a graphics set.
Definition at line 221 of file base_media_base.h.
MD5File::ChecksumResult GraphicsSet::CheckMD5 | ( | const MD5File * | file, | |
Subdirectory | subdir | |||
) | [static] |
Calculate and check the MD5 hash of the supplied GRF.
file | The file get the hash of. | |
subdir | The sub directory to get the files from. |
Reimplemented from BaseSet< GraphicsSet, MAX_GFT, true >.
Definition at line 292 of file gfxinit.cpp.
References MD5File::CheckMD5(), MD5File::filename, FioFCloseFile(), FioFOpenFile(), GRFGetSizeOfDataSection(), and max().
Referenced by CheckExternalFiles().