Add initial support for loading ChillPP v14.7 savegames
This commit is contained in:
@@ -202,6 +202,7 @@ public:
|
||||
static void InvalidateAllFrom(SourceType src_type, SourceID src);
|
||||
static void InvalidateAllFrom(StationID sid);
|
||||
static void AfterLoad();
|
||||
static void PostVehiclesAfterLoad();
|
||||
static bool ValidateDeferredCargoPayments();
|
||||
};
|
||||
|
||||
@@ -586,6 +587,11 @@ public:
|
||||
uint Truncate(uint max_move = UINT_MAX, StationCargoAmountMap *cargo_per_source = nullptr);
|
||||
uint Reroute(uint max_move, StationCargoList *dest, StationID avoid, StationID avoid2, const GoodsEntry *ge);
|
||||
|
||||
void AfterLoadIncreaseReservationCount(uint count)
|
||||
{
|
||||
this->reserved_count += count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Are two the two CargoPackets mergeable in the context of
|
||||
* a list of CargoPackets for a Vehicle?
|
||||
|
||||
Reference in New Issue
Block a user