12 #ifndef NEWGRF_CARGO_H 13 #define NEWGRF_CARGO_H 28 uint16 GetCargoCallback(
CallbackID callback, uint32 param1, uint32 param2,
const CargoSpec *cs);
Specification of a cargo type.
CargoID GetCargoTranslation(uint8 cargo, const GRFFile *grffile, bool usebit=false)
Translate a GRF-local cargo slot/bitnum into a CargoID.
Types related to cargoes...
Callbacks that NewGRFs could implement.
Maximal number of cargo types in a game.
uint32 SpriteID
The number of a sprite, without mapping bits and colourtables.
CallbackID
List of implemented NewGRF callbacks.
byte CargoID
Cargo slots to indicate a cargo type within a game.
SpriteID GetCustomCargoSprite(const CargoSpec *cs)
Get the custom sprite for the given cargo type.
Types related to the graphics and/or input devices.
Dynamic data of a loaded NewGRF.