(svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station
This commit is contained in:
@@ -443,6 +443,7 @@ public:
|
||||
};
|
||||
|
||||
typedef MultiMap<StationID, CargoPacket *> StationCargoPacketMap;
|
||||
typedef std::map<StationID, uint> StationCargoAmountMap;
|
||||
|
||||
/**
|
||||
* CargoList that is used for stations.
|
||||
@@ -532,7 +533,7 @@ public:
|
||||
|
||||
uint Reserve(uint max_move, VehicleCargoList *dest, TileIndex load_place, StationID next);
|
||||
uint Load(uint max_move, VehicleCargoList *dest, TileIndex load_place, StationID next);
|
||||
uint Truncate(uint max_move = UINT_MAX);
|
||||
uint Truncate(uint max_move = UINT_MAX, StationCargoAmountMap *cargo_per_source = NULL);
|
||||
uint Reroute(uint max_move, StationCargoList *dest, StationID avoid, StationID avoid2, const GoodsEntry *ge);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user