Types related to cargoes...
uint8_t CargoType
Cargo slots to indicate a cargo type within a game.
Types related to companies.
Types related to stations.
A location from where cargo can come from (or go to).
void RebuildSubsidisedSourceAndDestinationCache()
Perform a full rebuild of the subsidies cache.
void DeleteSubsidyWith(Source src)
Delete the subsidies associated with a given cargo source type and id.
bool CheckSubsidised(CargoType cargo_type, CompanyID company, Source src, const Station *st)
Tests whether given delivery is subsidised and possibly awards the subsidy to delivering company.