|
@@ -1920,25 +1920,26 @@ static const SaveLoad _industry_desc[] =
|
|
|
SLE_VAR(Industry,prod_level, SLE_UINT8),
|
|
|
SLE_ARR(Industry,last_mo_production,SLE_UINT16, 2),
|
|
|
SLE_ARR(Industry,last_mo_transported,SLE_UINT16, 2),
|
|
|
SLE_ARR(Industry,pct_transported,SLE_UINT8, 2),
|
|
|
SLE_ARR(Industry,total_production,SLE_UINT16, 2),
|
|
|
SLE_ARR(Industry,total_transported,SLE_UINT16, 2),
|
|
|
|
|
|
SLE_VAR(Industry,counter, SLE_UINT16),
|
|
|
|
|
|
SLE_VAR(Industry,type, SLE_UINT8),
|
|
|
SLE_VAR(Industry,owner, SLE_UINT8),
|
|
|
SLE_VAR(Industry,color_map, SLE_UINT8),
|
|
|
SLE_VAR(Industry,last_prod_year, SLE_UINT8),
|
|
|
SLE_CONDVAR(Industry, last_prod_year, SLE_FILE_U8 | SLE_VAR_I32, 0, 30),
|
|
|
SLE_CONDVAR(Industry, last_prod_year, SLE_INT32, 31, SL_MAX_VERSION),
|
|
|
SLE_VAR(Industry,was_cargo_delivered,SLE_UINT8),
|
|
|
|
|
|
// reserve extra space in savegame here. (currently 32 bytes)
|
|
|
SLE_CONDNULL(32, 2, SL_MAX_VERSION),
|
|
|
|
|
|
SLE_END()
|
|
|
};
|
|
|
|
|
|
static void Save_INDY(void)
|
|
|
{
|
|
|
Industry *ind;
|
|
|
|