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

Function GetClimateDependentCargoTranslationTable

src/cargotype.cpp:113–116  ·  view source on GitHub ↗

* Get default climate-dependent 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

111 * @return Default translation table for GRF version.
112 */
113std::span<const CargoLabel> GetClimateDependentCargoTranslationTable()
114{
115 return _climate_dependent_cargo_labels;
116}
117
118/**
119 * Get default climate-independent cargo translation table for a NewGRF, used if the NewGRF does not provide its own.

Callers 2

GetCargoTranslationTableFunction · 0.85
GetCargoTranslationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected