From a23b4594edfa0e8e0322dafc0ed22a418a165295 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 24 Feb 2007 19:36:47 +0000 Subject: (svn r8886) -Codechange: (NewGRF) Add (partial) cargo translation table support, applied to action 3s only. --- src/cargotype.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cargotype.h') diff --git a/src/cargotype.h b/src/cargotype.h index 0e4379517..a584aef98 100644 --- a/src/cargotype.h +++ b/src/cargotype.h @@ -47,6 +47,8 @@ void SetupCargoForClimate(LandscapeID l); const CargoSpec *GetCargo(CargoID c); /* Get the cargo ID of a cargo bitnum */ CargoID GetCargoIDByBitnum(byte bitnum); +/* Get the cargo ID with the cargo label */ +CargoID GetCargoIDByLabel(CargoLabel cl); #endif /* CARGOTYPE_H */ -- cgit v1.2.3-54-g00ecf