(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
This commit is contained in:
@@ -160,7 +160,8 @@ struct GoodsEntry {
|
||||
last_speed(0),
|
||||
last_age(255),
|
||||
link_graph(INVALID_LINK_GRAPH),
|
||||
node(INVALID_NODE)
|
||||
node(INVALID_NODE),
|
||||
max_waiting_cargo(0)
|
||||
{}
|
||||
|
||||
byte acceptance_pickup; ///< Status of this cargo, see #GoodsEntryStatus.
|
||||
@@ -197,6 +198,7 @@ struct GoodsEntry {
|
||||
LinkGraphID link_graph; ///< Link graph this station belongs to.
|
||||
NodeID node; ///< ID of node in link graph referring to this goods entry.
|
||||
FlowStatMap flows; ///< Planned flows through this station.
|
||||
uint max_waiting_cargo; ///< Max cargo from this station waiting at any station.
|
||||
|
||||
/**
|
||||
* Reports whether a vehicle has ever tried to load the cargo at this station.
|
||||
|
Reference in New Issue
Block a user