(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.

This commit is contained in:
rubidium
2007-01-21 17:29:38 +00:00
parent d82304ccab
commit cf83a9f065
4 changed files with 21 additions and 20 deletions

View File

@@ -352,10 +352,8 @@ const GRFConfig *FindGRFConfig(uint32 grfid, const uint8 *md5sum)
/** Structure for UnknownGRFs; this is a lightweight variant of GRFConfig */
typedef struct UnknownGRF UnknownGRF;
struct UnknownGRF {
struct UnknownGRF : public GRFIdentifier {
UnknownGRF *next;
uint32 grfid;
uint8 md5sum[16];
char name[NETWORK_GRF_NAME_LENGTH];
};