equal
deleted
inserted
replaced
20 |
20 |
21 /** |
21 /** |
22 * Container for cargo from the same location and time |
22 * Container for cargo from the same location and time |
23 */ |
23 */ |
24 struct CargoPacket : PoolItem<CargoPacket, CargoPacketID, &_CargoPacket_pool> { |
24 struct CargoPacket : PoolItem<CargoPacket, CargoPacketID, &_CargoPacket_pool> { |
25 StationID source; ///< The station where the cargo came from first |
25 Money feeder_share; ///< Value of feeder pickup to be paid for on delivery of cargo |
26 TileIndex source_xy; ///< The origin of the cargo (first station in feeder chain) |
26 TileIndex source_xy; ///< The origin of the cargo (first station in feeder chain) |
27 TileIndex loaded_at_xy; ///< Location where this cargo has been loaded into the vehicle |
27 TileIndex loaded_at_xy; ///< Location where this cargo has been loaded into the vehicle |
|
28 StationID source; ///< The station where the cargo came from first |
28 |
29 |
29 uint16 count; ///< The amount of cargo in this packet |
30 uint16 count; ///< The amount of cargo in this packet |
30 byte days_in_transit; ///< Amount of days this packet has been in transit |
31 byte days_in_transit; ///< Amount of days this packet has been in transit |
31 Money feeder_share; ///< Value of feeder pickup to be paid for on delivery of cargo |
|
32 bool paid_for; ///< Have we been paid for this cargo packet? |
32 bool paid_for; ///< Have we been paid for this cargo packet? |
33 |
33 |
34 /** |
34 /** |
35 * Creates a new cargo packet |
35 * Creates a new cargo packet |
36 * @param source the source of the packet |
36 * @param source the source of the packet |