|
OpenTTD Source 20260711-master-g3fb3006dff
|
Basic data to distinguish a GRF. More...
#include <newgrf_config.h>
Public Member Functions | |
| bool | HasGrfIdentifier (GrfID grfid, const MD5Hash *md5sum) const |
| Does the identification match the provided values? | |
Data Fields | |
| GrfID | grfid |
| GRF ID (defined by Action 0x08). | |
| MD5Hash | md5sum |
| MD5 checksum of file to distinguish files with the same GRF ID (eg. newer version of GRF). | |
Basic data to distinguish a GRF.
Used in the server list window
Definition at line 87 of file newgrf_config.h.
|
inline |
Does the identification match the provided values?
| grfid | Expected grfid. |
| md5sum | Expected md5sum, may be nullptr (in which case, do not check it). |
Definition at line 97 of file newgrf_config.h.
| GrfID GRFIdentifier::grfid |
GRF ID (defined by Action 0x08).
Definition at line 88 of file newgrf_config.h.
Referenced by NewGRFWindow::AddGRFToActive(), DeserializeGRFIdentifier(), DisableGrf(), FillGRFDetails(), FillGrfidMap(), LoggedChangeGRFAdd::FormatTo(), LoggedChangeGRFChanged::FormatTo(), Gamelog::GetOverriddenIdentifier(), GRFFile::GRFFile(), Gamelog::GRFUpdate(), HandleIncomingNetworkGameInfoGRFConfig(), HasGrfIdentifier(), IsGoodGRFConfigList(), NewGRFWindow::OnInvalidateData(), ClientNetworkGameSocketHandler::ReceiveServerCheckNewGRFs(), SerializeGRFIdentifier(), and ShowMissingContentWindow().
| MD5Hash GRFIdentifier::md5sum |
MD5 checksum of file to distinguish files with the same GRF ID (eg. newer version of GRF).
Definition at line 89 of file newgrf_config.h.
Referenced by CalcGRFMD5Sum(), DeserializeGRFIdentifier(), LoggedChangeGRFAdd::FormatTo(), LoggedChangeGRFChanged::FormatTo(), Gamelog::GRFUpdate(), HandleIncomingNetworkGameInfoGRFConfig(), HandleSavegameLoadCrash(), HasGrfIdentifier(), IsGoodGRFConfigList(), NewGRFWindow::NameSorter(), NewGRFWindow::OnInvalidateData(), ClientNetworkGameSocketHandler::ReceiveServerCheckNewGRFs(), SerializeGRFIdentifier(), and ShowMissingContentWindow().