File diff r3046:6457665c9b5a → r3047:7f6140318561
industry_cmd.c
Show inline comments
 
@@ -1902,13 +1902,13 @@ const TileTypeProcs _tile_type_industry_
 
	NULL,												/* vehicle_leave_tile_proc */
 
	GetSlopeTileh_Industry,			/* get_slope_tileh_proc */
 
};
 

	
 
static const SaveLoad _industry_desc[] = {
 
	SLE_CONDVAR(Industry, xy,					SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
 
	SLE_CONDVAR(Industry, xy,					SLE_UINT32, 6, 255),
 
	SLE_CONDVAR(Industry, xy,					SLE_UINT32, 6, SL_MAX_VERSION),
 
	SLE_VAR(Industry,width,						SLE_UINT8),
 
	SLE_VAR(Industry,height,					SLE_UINT8),
 
	SLE_REF(Industry,town,						REF_TOWN),
 
	SLE_ARR(Industry,produced_cargo,  SLE_UINT8, 2),
 
	SLE_ARR(Industry,cargo_waiting,   SLE_UINT16, 2),
 
	SLE_ARR(Industry,production_rate, SLE_UINT8, 2),
 
@@ -1926,13 +1926,13 @@ static const SaveLoad _industry_desc[] =
 
	SLE_VAR(Industry,owner,						SLE_UINT8),
 
	SLE_VAR(Industry,color_map,				SLE_UINT8),
 
	SLE_VAR(Industry,last_prod_year,	SLE_UINT8),
 
	SLE_VAR(Industry,was_cargo_delivered,SLE_UINT8),
 

	
 
	// reserve extra space in savegame here. (currently 32 bytes)
 
	SLE_CONDARR(NullStruct,null,SLE_FILE_U64 | SLE_VAR_NULL, 4, 2, 255),
 
	SLE_CONDARR(NullStruct,null,SLE_FILE_U64 | SLE_VAR_NULL, 4, 2, SL_MAX_VERSION),
 

	
 
	SLE_END()
 
};
 

	
 
static void Save_INDY(void)
 
{