(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

@@ -15,14 +15,17 @@ typedef enum {
GCF_COPY, ///< The data is copied from a grf in _all_grfs
} GCF_Flags;
typedef struct GRFConfig {
typedef struct GRFIdentifier {
uint32 grfid;
uint8 md5sum[16];
} GRF;
typedef struct GRFConfig : public GRFIdentifier {
char *filename;
char *name;
char *info;
uint32 grfid;
uint8 flags;
uint8 md5sum[16];
uint32 param[0x80];
uint8 num_params;