Add: Function to get largest cargo icon size.

This commit is contained in:
2023-11-25 20:20:35 +00:00
committed by Peter Nelson
parent 8db7c79e79
commit 76701c4622
2 changed files with 16 additions and 1 deletions

View File

@@ -185,6 +185,7 @@ void SetupCargoForClimate(LandscapeID l);
CargoID GetCargoIDByLabel(CargoLabel cl);
CargoID GetCargoIDByBitnum(uint8_t bitnum);
CargoID GetDefaultCargoID(LandscapeID l, CargoType ct);
Dimension GetLargestCargoIconSize();
void InitializeSortedCargoSpecs();
extern std::array<uint8_t, NUM_CARGO> _sorted_cargo_types;