summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index 0864a63a2..38c1e4a46 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -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;