OpenTTD Source  1.11.2
UnknownGRF Struct Reference

Structure for UnknownGRFs; this is a lightweight variant of GRFConfig. More...

Inheritance diagram for UnknownGRF:
GRFIdentifier

Public Member Functions

 UnknownGRF (const UnknownGRF &other)=default
 
 UnknownGRF (UnknownGRF &&other)=default
 
 UnknownGRF (uint32 grfid, const uint8 *_md5sum)
 
- Public Member Functions inherited from GRFIdentifier
 GRFIdentifier (const GRFIdentifier &other)=default
 
 GRFIdentifier (GRFIdentifier &&other)=default
 
 GRFIdentifier (uint32 grfid, const uint8 *md5sum)
 
GRFIdentifieroperator= (const GRFIdentifier &other)=default
 
bool HasGrfIdentifier (uint32 grfid, const uint8 *md5sum) const
 Does the identification match the provided values? More...
 

Data Fields

GRFTextWrapper name
 Name of the GRF.
 
- Data Fields inherited from GRFIdentifier
uint32 grfid
 GRF ID (defined by Action 0x08)
 
uint8 md5sum [16]
 MD5 checksum of file to distinguish files with the same GRF ID (eg. newer version of GRF)
 

Detailed Description

Structure for UnknownGRFs; this is a lightweight variant of GRFConfig.

Definition at line 759 of file newgrf_config.cpp.


The documentation for this struct was generated from the following file: