changeset 6113 | a10ede03ac58 |
parent 6091 | c8827d9ae04a |
child 6122 | 3359af5a1f54 |
--- a/src/cargotype.h Thu Feb 22 19:14:43 2007 +0000 +++ b/src/cargotype.h Thu Feb 22 22:09:51 2007 +0000 @@ -34,9 +34,15 @@ } CargoSpec; +extern uint32 _cargo_mask; + + /* Set up the default cargo types for the given landscape type */ void SetupCargoForClimate(LandscapeID l); /* Retrieve cargo details for the given cargo ID */ const CargoSpec *GetCargo(CargoID c); +/* Get the cargo ID of a cargo bitnum */ +CargoID GetCargoIDByBitnum(byte bitnum); + #endif /* CARGOTYPE_H */