|
|
@ -244,22 +244,22 @@ static const SaveLoad _station_speclist_desc[] = {
|
|
|
|
const SaveLoad *GetGoodsDesc()
|
|
|
|
const SaveLoad *GetGoodsDesc()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
static const SaveLoad goods_desc[] = {
|
|
|
|
static const SaveLoad goods_desc[] = {
|
|
|
|
SLEG_CONDVAR( _waiting_acceptance, SLE_UINT16, 0, 67),
|
|
|
|
SLEG_CONDVAR( _waiting_acceptance, SLE_UINT16, 0, 67),
|
|
|
|
SLE_CONDVAR(GoodsEntry, acceptance_pickup, SLE_UINT8, 68, SL_MAX_VERSION),
|
|
|
|
SLE_CONDVAR(GoodsEntry, acceptance_pickup, SLE_UINT8, 68, SL_MAX_VERSION),
|
|
|
|
SLE_CONDNULL(2, 51, 67),
|
|
|
|
SLE_CONDNULL(2, 51, 67),
|
|
|
|
SLE_VAR(GoodsEntry, time_since_pickup, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, time_since_pickup, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, rating, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, rating, SLE_UINT8),
|
|
|
|
SLEG_CONDVAR( _cargo_source, SLE_FILE_U8 | SLE_VAR_U16, 0, 6),
|
|
|
|
SLEG_CONDVAR( _cargo_source, SLE_FILE_U8 | SLE_VAR_U16, 0, 6),
|
|
|
|
SLEG_CONDVAR( _cargo_source, SLE_UINT16, 7, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_source, SLE_UINT16, 7, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_source_xy, SLE_UINT32, 44, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_source_xy, SLE_UINT32, 44, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_days, SLE_UINT8, 0, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_days, SLE_UINT8, 0, 67),
|
|
|
|
SLE_VAR(GoodsEntry, last_speed, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, last_speed, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, last_age, SLE_UINT8),
|
|
|
|
SLE_VAR(GoodsEntry, last_age, SLE_UINT8),
|
|
|
|
SLEG_CONDVAR( _cargo_feeder_share, SLE_FILE_U32 | SLE_VAR_I64, 14, 64),
|
|
|
|
SLEG_CONDVAR( _cargo_feeder_share, SLE_FILE_U32 | SLE_VAR_I64, 14, 64),
|
|
|
|
SLEG_CONDVAR( _cargo_feeder_share, SLE_INT64, 65, 67),
|
|
|
|
SLEG_CONDVAR( _cargo_feeder_share, SLE_INT64, 65, 67),
|
|
|
|
SLE_CONDVAR(GoodsEntry, amount_fract, SLE_UINT8, 150, SL_MAX_VERSION),
|
|
|
|
SLE_CONDVAR(GoodsEntry, amount_fract, SLE_UINT8, 150, SL_MAX_VERSION),
|
|
|
|
SLE_CONDLST(GoodsEntry, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION),
|
|
|
|
SLE_CONDLST(GoodsEntry, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION),
|
|
|
|
SLE_CONDVAR(GoodsEntry, cargo.reserved_count,SLE_UINT, 181, SL_MAX_VERSION),
|
|
|
|
SLE_CONDVAR(GoodsEntry, cargo.reserved_count, SLE_UINT, 181, SL_MAX_VERSION),
|
|
|
|
SLE_END()
|
|
|
|
SLE_END()
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|