src/cargotype.h
branchNewGRF_ports
changeset 10184 fcf5fb2548eb
parent 6872 1c4a4a609f85
child 10242 52b4a9006029
--- a/src/cargotype.h	Mon Apr 14 20:32:36 2008 +0000
+++ b/src/cargotype.h	Tue Apr 15 00:47:19 2008 +0000
@@ -59,6 +59,8 @@
 void SetupCargoForClimate(LandscapeID l);
 /* Retrieve cargo details for the given cargo ID */
 const CargoSpec *GetCargo(CargoID c);
+/* Get the cargo icon for a given cargo ID */
+SpriteID GetCargoSprite(CargoID i);
 /* Get the cargo ID with the cargo label */
 CargoID GetCargoIDByLabel(CargoLabel cl);
 CargoID GetCargoIDByBitnum(uint8 bitnum);