equal
deleted
inserted
replaced
57 |
57 |
58 /* Set up the default cargo types for the given landscape type */ |
58 /* Set up the default cargo types for the given landscape type */ |
59 void SetupCargoForClimate(LandscapeID l); |
59 void SetupCargoForClimate(LandscapeID l); |
60 /* Retrieve cargo details for the given cargo ID */ |
60 /* Retrieve cargo details for the given cargo ID */ |
61 const CargoSpec *GetCargo(CargoID c); |
61 const CargoSpec *GetCargo(CargoID c); |
|
62 /* Get the cargo icon for a given cargo ID */ |
|
63 SpriteID GetCargoSprite(CargoID i); |
62 /* Get the cargo ID with the cargo label */ |
64 /* Get the cargo ID with the cargo label */ |
63 CargoID GetCargoIDByLabel(CargoLabel cl); |
65 CargoID GetCargoIDByLabel(CargoLabel cl); |
64 CargoID GetCargoIDByBitnum(uint8 bitnum); |
66 CargoID GetCargoIDByBitnum(uint8 bitnum); |
65 |
67 |
66 static inline bool IsCargoInClass(CargoID c, uint16 cc) |
68 static inline bool IsCargoInClass(CargoID c, uint16 cc) |