MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / GetClimateIndependentCargoTranslationTable

Function GetClimateIndependentCargoTranslationTable

src/cargotype.cpp:122–125  ·  view source on GitHub ↗

* Get default climate-independent cargo translation table for a NewGRF, used if the NewGRF does not provide its own. * @return Default translation table for GRF version. */

Source from the content-addressed store, hash-verified

120 * @return Default translation table for GRF version.
121 */
122std::span<const CargoLabel> GetClimateIndependentCargoTranslationTable()
123{
124 return _climate_independent_cargo_labels;
125}
126
127/**
128 * Build cargo label map.

Callers 2

GetCargoTranslationTableFunction · 0.85
GetCargoTranslationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected