@@ -12,20 +12,23 @@ typedef enum {
GCF_UNSAFE, ///< GRF file is unsafe for static usage
GCF_STATIC, ///< GRF file is used statically (can be used in any MP game)
GCF_COMPATIBLE,///< GRF file does not exactly match the requested GRF (different MD5SUM), but grfid matches)
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;
uint8 flags;
uint32 param[0x80];
uint8 num_params;
struct GRFConfig *next;
} GRFConfig;