File diff r5764:ea73b3997a8c → r5765:cfade44195bc
src/newgrf_config.h
Show inline comments
 
@@ -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;
 
	uint32 grfid;
 

	
 
	uint8 flags;
 
	uint8 md5sum[16];
 
	uint32 param[0x80];
 
	uint8 num_params;
 

	
 
	struct GRFConfig *next;
 
} GRFConfig;